Hello @wasabiii1509 ,
Welcome to Microsoft Q&A forum.
CS8032 is an error code, you may share us the detailed error message for further check.
Did you install or use any NuGet packages like Microsoft.CodeAnalysis.Compilers
and Microsoft.CodeAnalysis.Analyzers
? You can check this by right-clicking your project > Manage NuGet Packages… > switch to Installed tab.
If you are using them, please go to Tools > NuGet Package Manager > Package Manager Setttings > General > click Clear All NuGet Storage option, then open your solution folder, remove the hidden .vs
folder, open your project folder, remove the bin and obj folder, rebuild your project.
If you have several projects in one solution, please right-click one of the projects > Unload Project > right-click it again > Edit Project File > check the detailed version of the NuGet packages, make sure that there’s no version conflict for the NuGet package.
If you are not using them, please try to install Microsoft.CodeAnalysis.Compilers
and Microsoft.NET.Compilers.Toolset
NuGet packages by right-clicking your project > Manage NuGet Packages… > Browse > search and click Install button.
If this issue is reproducible, please share us the detailed steps to reproduce this issue for further check.
BTW, currently in Microsoft Q&A we only support English, could you please edit your question into English so that we can better help you?
Update 1:
Does this issue appear on a newly created C# project? If above methods don't work, could you share us the detailed reproducible steps to reproduce this issue and check further?
I also suggest try to clean NuGet cache and then restore your NuGet packages. Please follow this document: Clearing local folders to clean NuGet cache and restore NuGet packages(build your project again).
Feel free to let us know the results.
Sincerely,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.