We have VS 2013, a solution with about 50 projects (2 exe + 48 DLL). Now we want the version of all the assemblies to be incremented in each compilation. To do this, we have created a file in one of the executables with the lines:
[assembly: AssemblyVersion("2.50.*")]
[assembly: AssemblyFileVersion("2.50.*")]
and we have added this file (as a link) to all the other projects (modifying their respective AssemblyInfo.cs to which we have deleted these two lines) In addition, we use the Funnel extension to load only those projects we are working on at a given moment.
But since we have made this change, we are forced to recompile EVERYTHING every time we make a change (however small) because they make mistakes:
HRESULT: 0x80131040. Additional information: The file or assembly 'Mbm, Version = 2.50.6618.22205, Culture = neutral, PublicKeyToken = 1915d34d2fd1fdcf' or one of its dependencies can not be loaded. The assembly manifest definition does not match the reference to the assembly.
We understand the error, but we can not find a way that it is not necessary to recompile everything every time. We have cleaned the solution and recompiled. And nothing.