The only strange thing is a warning on the projects, but without any indication of what it is:
Any ideas?
The only strange thing is a warning on the projects, but without any indication of what it is:
Any ideas?
On error view, Change Show issues generated to "Build Only"
If you have multiple projects under same solution make sure the Target Framework (Right click project -> properties) of each project is feasible for the referencing project. I was trying to refer to a project (v4.8) from v4.6 and encountered this error.
And also try checking the build order of the project (Right click solution -> Project Build Order) and clean and build each projects according to that order.
If you have Symantec Antivirus running on your machine, it could block MSBuild.exe from Visual Studio resulting in the build failing.
You may re-install/ reconfigure Symantec to allow MSBuild.exe.
Open Visual Studio Installer, click Modify on the version that's not working, select the Individual Components tab, untick Intellicode and click Modify (bottom right).
Once it's finished, go through the same process but tick it this time, restart VS (which you have to do anyway).
open your terminal and run using shift +``
key in visual studio. Run dotnet run
all errors will be shown on terminal