Visual Studio build specific build versions due to version specific set to False
I have a solution with many projects. In Visual Studio 2010, clicking the properties for an assembly reference displays the newer version when compared to the actual reference in the csproj file.
Specifically, the csproj file has:
<Reference Include="System.Web.Mvc, Version=188.8.131.52, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> <SpecificVersion>False</SpecificVersion> <HintPath>C:\Program Files\Microsoft ASP.NET\ASP.NET MVC 3\Assemblies\System.Web.Mvc.dll</HintPath> </Reference>
But VS2010 links and displays version 184.108.40.206 in an obvious way due to
Do I need to manually update every assembly reference in every project ??? by removing and re-adding 220.127.116.11?
Is there a way to find and replace all .csproj files in one operation?
source to share
Do you want to add your assembly back to reference version 18.104.22.168? If so, then you just need to set the SpecificVersion to true for all projects that reference the assembly. This can be done from the project references using the properties for the reference.
You can also do this by editing the csproj files in a text editor and remove "False" from the assemblies you want to reference 22.214.171.124 again as the default is true.
If you only want to do this for a specific build, I expect it to be a manual process as I am not aware of a tool that can help you do this.
If you want to set a specific version to true for all assemblies in all your projects, you can find and replace "False" with "" in the project files.
source to share