Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
I'm evaluating JetBrains Rider 2023.3 on Linux and almost immediately ran into a compiler warning that I don't understand. Attempting to isolate it, I created a new solution containing a .NET 6 cla...
#5: Post edited
- I'm evaluating JetBrains Rider 2023.3 on Linux and almost immediately ran into a compiler warning that I don't understand. Attempting to isolate it, I created a new solution containing a .NET 6 class library project. The project has only one explicit dependency, `Microsoft.EntityFrameworkCore` 7.0.14. The project contains no class files. Build emits these CS8032 warnings:
- >An instance of analyzer Microsoft.EntityFrameworkCore.InternalUsageDiagnosticAnalyzer cannot be created from /home/kevin/.nuget/packages/microsoft.entityframeworkcore.analyzers/7.0.14/analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified..
- >An instance of analyzer Microsoft.EntityFrameworkCore.UninitializedDbSetDiagnosticSuppressor cannot be created from /home/kevin/.nuget/packages/microsoft.entityframeworkcore.analyzers/7.0.14/analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified..
On the command line, `dotnet build` sometimes reports the same warnings and sometimes does not. I haven't been able to discern a pattern.Is this caused by something Rider is trying to do, or perhaps some misconfiguration? How can I fix or suppress these warnings in Rider?
- I'm evaluating JetBrains Rider 2023.3 on Linux and almost immediately ran into a compiler warning that I don't understand. Attempting to isolate it, I created a new solution containing a .NET 6 class library project. The project has only one explicit dependency, `Microsoft.EntityFrameworkCore` 7.0.14. The project contains no class files. Build emits these CS8032 warnings:
- >An instance of analyzer Microsoft.EntityFrameworkCore.InternalUsageDiagnosticAnalyzer cannot be created from /home/kevin/.nuget/packages/microsoft.entityframeworkcore.analyzers/7.0.14/analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified..
- >An instance of analyzer Microsoft.EntityFrameworkCore.UninitializedDbSetDiagnosticSuppressor cannot be created from /home/kevin/.nuget/packages/microsoft.entityframeworkcore.analyzers/7.0.14/analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified..
- The same warnings sometimes appear with `dotnet build` the command line and sometimes do not. I can consistently make them appear on the command line by running `dotnet build --force` after a build in Rider, but only once:
- 1. Trigger a build in Rider by editing a comment. Warnings appear.
- 2. Run dotnet build on the command line. Warnings do not appear.
- 3. Run dotnet build --force on the command line. Warnings appear.
- 4. Run dotnet build --force again. Warnings do not appear.
- Is this caused by something Rider is trying to do, or perhaps some misconfiguration?
#4: Post edited
- I'm evaluating JetBrains Rider 2023.3 on Linux and almost immediately ran into a compiler warning that I don't understand. Attempting to isolate it, I created a new solution containing a .NET 6 class library project. The project has only one explicit dependency, `Microsoft.EntityFrameworkCore` 7.0.14. The project contains no class files. Build emits these CS8032 warnings:
- >An instance of analyzer Microsoft.EntityFrameworkCore.InternalUsageDiagnosticAnalyzer cannot be created from /home/kevin/.nuget/packages/microsoft.entityframeworkcore.analyzers/7.0.14/analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified..
- >An instance of analyzer Microsoft.EntityFrameworkCore.UninitializedDbSetDiagnosticSuppressor cannot be created from /home/kevin/.nuget/packages/microsoft.entityframeworkcore.analyzers/7.0.14/analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified..
On the command line, `dotnet build` reports the same warnings.- Is this caused by something Rider is trying to do, or perhaps some misconfiguration? How can I fix or suppress these warnings in Rider?
- I'm evaluating JetBrains Rider 2023.3 on Linux and almost immediately ran into a compiler warning that I don't understand. Attempting to isolate it, I created a new solution containing a .NET 6 class library project. The project has only one explicit dependency, `Microsoft.EntityFrameworkCore` 7.0.14. The project contains no class files. Build emits these CS8032 warnings:
- >An instance of analyzer Microsoft.EntityFrameworkCore.InternalUsageDiagnosticAnalyzer cannot be created from /home/kevin/.nuget/packages/microsoft.entityframeworkcore.analyzers/7.0.14/analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified..
- >An instance of analyzer Microsoft.EntityFrameworkCore.UninitializedDbSetDiagnosticSuppressor cannot be created from /home/kevin/.nuget/packages/microsoft.entityframeworkcore.analyzers/7.0.14/analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified..
- On the command line, `dotnet build` sometimes reports the same warnings and sometimes does not. I haven't been able to discern a pattern.
- Is this caused by something Rider is trying to do, or perhaps some misconfiguration? How can I fix or suppress these warnings in Rider?
#3: Post edited
- I'm evaluating JetBrains Rider 2023.3 on Linux and almost immediately ran into a compiler warning that I don't understand. Attempting to isolate it, I created a new solution containing a .NET 6 class library project. The project has only one explicit dependency, `Microsoft.EntityFrameworkCore` 7.0.14. The project contains no class files. Build emits these CS8032 warnings:
- >An instance of analyzer Microsoft.EntityFrameworkCore.InternalUsageDiagnosticAnalyzer cannot be created from /home/kevin/.nuget/packages/microsoft.entityframeworkcore.analyzers/7.0.14/analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified..
- >An instance of analyzer Microsoft.EntityFrameworkCore.UninitializedDbSetDiagnosticSuppressor cannot be created from /home/kevin/.nuget/packages/microsoft.entityframeworkcore.analyzers/7.0.14/analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified..
On the command line, `dotnet build` reports 0 warnings.- Is this caused by something Rider is trying to do, or perhaps some misconfiguration? How can I fix or suppress these warnings in Rider?
- I'm evaluating JetBrains Rider 2023.3 on Linux and almost immediately ran into a compiler warning that I don't understand. Attempting to isolate it, I created a new solution containing a .NET 6 class library project. The project has only one explicit dependency, `Microsoft.EntityFrameworkCore` 7.0.14. The project contains no class files. Build emits these CS8032 warnings:
- >An instance of analyzer Microsoft.EntityFrameworkCore.InternalUsageDiagnosticAnalyzer cannot be created from /home/kevin/.nuget/packages/microsoft.entityframeworkcore.analyzers/7.0.14/analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified..
- >An instance of analyzer Microsoft.EntityFrameworkCore.UninitializedDbSetDiagnosticSuppressor cannot be created from /home/kevin/.nuget/packages/microsoft.entityframeworkcore.analyzers/7.0.14/analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified..
- On the command line, `dotnet build` reports the same warnings.
- Is this caused by something Rider is trying to do, or perhaps some misconfiguration? How can I fix or suppress these warnings in Rider?
#2: Post edited
- I'm evaluating JetBrains Rider 2023.3 on Linux and almost immediately ran into a compiler warning that I don't understand. Attempting to isolate it, I created a new solution containing a .NET 6 class library project. The project has only one explicit dependency, `Microsoft.EntityFrameworkCore` 7.0.14. The project contains no class files. Build emits these CS8032 warnings:
- >An instance of analyzer Microsoft.EntityFrameworkCore.InternalUsageDiagnosticAnalyzer cannot be created from /home/kevin/.nuget/packages/microsoft.entityframeworkcore.analyzers/7.0.14/analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified..
- >An instance of analyzer Microsoft.EntityFrameworkCore.UninitializedDbSetDiagnosticSuppressor cannot be created from /home/kevin/.nuget/packages/microsoft.entityframeworkcore.analyzers/7.0.14/analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified..
Is this caused by something Rider is trying to do? How can I fix or suppress these warnings?
- I'm evaluating JetBrains Rider 2023.3 on Linux and almost immediately ran into a compiler warning that I don't understand. Attempting to isolate it, I created a new solution containing a .NET 6 class library project. The project has only one explicit dependency, `Microsoft.EntityFrameworkCore` 7.0.14. The project contains no class files. Build emits these CS8032 warnings:
- >An instance of analyzer Microsoft.EntityFrameworkCore.InternalUsageDiagnosticAnalyzer cannot be created from /home/kevin/.nuget/packages/microsoft.entityframeworkcore.analyzers/7.0.14/analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified..
- >An instance of analyzer Microsoft.EntityFrameworkCore.UninitializedDbSetDiagnosticSuppressor cannot be created from /home/kevin/.nuget/packages/microsoft.entityframeworkcore.analyzers/7.0.14/analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified..
- On the command line, `dotnet build` reports 0 warnings.
- Is this caused by something Rider is trying to do, or perhaps some misconfiguration? How can I fix or suppress these warnings in Rider?
#1: Initial revision
CS8032 analyzer warnings in empty EF Core project in Rider
I'm evaluating JetBrains Rider 2023.3 on Linux and almost immediately ran into a compiler warning that I don't understand. Attempting to isolate it, I created a new solution containing a .NET 6 class library project. The project has only one explicit dependency, `Microsoft.EntityFrameworkCore` 7.0.14. The project contains no class files. Build emits these CS8032 warnings: >An instance of analyzer Microsoft.EntityFrameworkCore.InternalUsageDiagnosticAnalyzer cannot be created from /home/kevin/.nuget/packages/microsoft.entityframeworkcore.analyzers/7.0.14/analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.. >An instance of analyzer Microsoft.EntityFrameworkCore.UninitializedDbSetDiagnosticSuppressor cannot be created from /home/kevin/.nuget/packages/microsoft.entityframeworkcore.analyzers/7.0.14/analyzers/dotnet/cs/Microsoft.EntityFrameworkCore.Analyzers.dll : Could not load file or assembly 'Microsoft.CodeAnalysis, Version=4.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.. Is this caused by something Rider is trying to do? How can I fix or suppress these warnings?