ni / nimble

The NI Nimble Design System
https://nimble.ni.dev
MIT License
31 stars 8 forks source link

Newer NI.CSharp.Analyzers 2.0.25 causes Nimble Blazor build issue #2014

Open rajsite opened 5 months ago

rajsite commented 5 months ago

🧹 Tech Debt

In #1988 NI.CSharp.Analyzers was pinned to 2.0.21 because using a newer version (2.0.25) resulted in the build issues:

CSC : error CS9057: The analyzer assembly '/home/runner/.nuget/packages/ni.csharp.analyzers/2.0.25/analyzers/dotnet/cs/NationalInstruments.Analyzers.dll' references version '4.9.0.0' of the compiler, which is newer than the currently running version '4.3.0.0'. [/home/runner/work/nimble/nimble/packages/nimble-blazor/NimbleBlazor/NimbleBlazor.csproj]

To resolve:

rajsite commented 4 months ago

Updating analyzers in renovate was disabled in https://github.com/ni/nimble/pull/2057 Should re-enable when addressed

jattasNI commented 2 months ago

Possibly related to #1667 since the error message above is complaining about compiler versions.