I've added a registry key like HKLM\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\MyFolder
with a folder that has my assemblies in it, and I can see those assemblies from Visual Studio when viewing the "Add Reference" dialog.
My question is how can I tell Visual Studio that it should add a vague reference instead of a very specific one?
For example, in my .csproj file, I see <Reference Include="System.Xml" />
without a version, culture or public key token. But when I add my own reference, it specifies all of those things, meaning my build will break if I upgrade an assembly.
Alternatively, is there a way to make Visual Studio set the SpecificVersion
metadata to False
? This would accomplish the same goal.