I had a weird one that might be worth documenting among other features here ..
I added the Shared Project to my solution with code that was used in two or three other projects. As you know, shared projects are just code, not a project in the traditional sense. You cannot “build” a common project, it's just code that is built into other projects and then built there.
But somehow, my solution file was updated, as if the overall project was on its own, which needed to be built. I assume that whenever I tried to compile and did not change the code in the general project, he believed that "nothing has changed, skip these assemblies"
I found a generic project in solution.sln file for example:
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Api.Common", "Api.Common\Api.Common.shproj", "{EC580471-D78A-4509-AC46-BD565553AD60}"
.. what well. What is not good is that this project also appeared in GlobalSection(ProjectConfigurationPlatforms) = postSolution for example:
{EC580471-D78A-4509-AC46-BD565553AD60}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {EC580471-D78A-4509-AC46-BD565553AD60}.Debug|Any CPU.Build.0 = Debug|Any CPU {EC580471-D78A-4509-AC46-BD565553AD60}.Release|Any CPU.ActiveCfg = Release|Any CPU {EC580471-D78A-4509-AC46-BD565553AD60}.Release|Any CPU.Build.0 = Release|Any CPU
I deleted these four lines from my .sln file and now everything seems happy again
PaulG Jan 04 '19 at 15:08 2019-01-04 15:08
source share