Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rajsite opened this issue Apr 15, 2024 · 2 comments
Open

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

rajsite opened this issue Apr 15, 2024 · 2 comments

Comments

@rajsite
Copy link
Member

rajsite commented Apr 15, 2024

🧹 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:

  • The version should be unpinned, i.e. changed from "[2.0.21]" back to "2.0.25" (or whatever is latest at the time)
  • The build issue should be resolved
@rajsite rajsite added tech debt triage New issue that needs to be reviewed labels Apr 15, 2024
@m-akinc m-akinc removed the triage New issue that needs to be reviewed label Apr 16, 2024
@rajsite
Copy link
Member Author

rajsite commented May 1, 2024

Updating analyzers in renovate was disabled in #2057
Should re-enable when addressed

@jattasNI
Copy link
Contributor

jattasNI commented Jul 1, 2024

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

@msmithNI msmithNI mentioned this issue Jul 26, 2024
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Defined/Ready to Pickup
Development

No branches or pull requests

3 participants