With the “old” project files, i.e. non-SDK projects, you could reference an assembly and it would automatically be looked up in the GAC (Global Assembly Cache). For SDK projects this was a deliberate breaking change with the reasoning, that the GAC is supposed to be used for runtime resolution and not build-time resolution. This also […]
Tag: dotnet
Prevent MSBuild Execution While Loading a C# Project
MSBuild is a XML-based build system “scripting language” and is the basis of all C# project files, which means, that for an IDE (e.g. Visual Studio or JetBrains Rider) to “understand” your C# project structure, build options, and properties, it has to parse and process all the *.csproj, *.targets, and *.props XML files. The build […]