GodotUtilities icon indicating copy to clipboard operation
GodotUtilities copied to clipboard

Source Generator Not Working

Open f09f909b opened this issue 1 year ago • 2 comments

I am able to get the Godot Utils working, but the source generators are not working for me.

At the moment I am getting the following error: 0>CSC: Warning CS9057 : The analyzer assembly '$HOME/.nuget/packages/firebelley.godotutilities.sourcegenerators/4.1.0/analyzers/dotnet/cs/Firebelley.GodotUtilities.SourceGenerators.dll' references version '4.5.0.0' of the compiler, which is newer than the currently running version '4.4.0.0'.

I tried bumping my Microsoft.CodeAnalysis.CSharp package up to 4.5.0 but it did not work. Any push towards the right direction would help. Thank you!

OS: Linux Godot Version: 4.1 Editor: Rider

f09f909b avatar Aug 28 '23 03:08 f09f909b

I had the same issue. I had to update which MSBuild instance it was using.

image

BryceBarbara avatar Oct 22 '23 06:10 BryceBarbara

Nevermind, install the latest version of the v7 SDK. The one I had was too old, I just installed 7.0.402 and all is well

BryceBarbara avatar Oct 23 '23 00:10 BryceBarbara