poohcom1 / GodotInterfaceExport

Godot C# package to support exporting interface types!
https://www.nuget.org/packages/GodotInterfaceExport
Other
5 stars 0 forks source link

The analyzer assembly 'GodotInterfaceExport.dll' references version '4.7.0.0' of the compiler, which is newer than the currently running version '4.3.0.0' #4

Open poohcom1 opened 11 months ago

poohcom1 commented 11 months ago

I get this error when running dotnet sdk version 6.0

CSC : warning CS9057: The analyzer assembly '~\godotinterfaceexport\0.1.1\analyzers\dotnet\cs\GodotInterfaceExport.dll' 
references version '4.7.0.0' of the compiler, which is newer than the currently running version '4.3.0.0'.

Updating to dotnet sdk version 8.0 seem to fix it, but I still want to make this source generator work with the 6.0 since that's the standard for Godot 4.0.

poohcom1 commented 11 months ago

Looking at other Godot source generators, seem like this line determines the compiler version: https://github.com/poohcom1/GodotInterfaceExport/blob/f71664ddf2eb42cd268f5298b51a25000605f0b8/GodotInterfaceExport/GodotInterfaceExport.csproj#L35

However, even after downgrading to 4.3.0, I still get the error.