Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

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

66%
+2 −0
Q&A 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 cla...

1 answer  ·  posted 11mo ago by Kevin Krumwiede‭  ·  last activity 11mo ago by Kevin Krumwiede‭

#5: Post edited by user avatar Kevin Krumwiede‭ · 2023-12-09T18:05:54Z (11 months ago)
  • 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 by user avatar Kevin Krumwiede‭ · 2023-12-09T17:49:06Z (11 months ago)
  • 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 by user avatar Kevin Krumwiede‭ · 2023-12-09T17:38:47Z (11 months ago)
  • 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 by user avatar Kevin Krumwiede‭ · 2023-12-09T17:32:19Z (11 months ago)
  • 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 by user avatar Kevin Krumwiede‭ · 2023-12-09T17:24:57Z (11 months ago)
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?