In this case, the problem is a link to the "general properties" project.
Inside the .csproj file is this harmless little line:
<Import project = ".. \ build \ CommonProperties.targets" />
Unfortunately, the file ( CommonProperties.targets ) tells VS to overwrite the properties, but this user interface does not contain clear instructions. In my opinion, the one who designed it should be damp and feathered.
The solution is to go to the CommonProperties.targets file and delete the following lines:
<PropertyGroup Condition=" '$(PrivateKeyPath)' == '' And '$(PrivateKeyName)' == ''"> <AssemblyOriginatorKeyFile>..\public_key.snk</AssemblyOriginatorKeyFile> <DelaySign>true</DelaySign> </PropertyGroup> <PropertyGroup Condition=" '$(PrivateKeyPath)' != '' "> <AssemblyOriginatorKeyFile>$(PrivateKeyPath)</AssemblyOriginatorKeyFile> <DelaySign>false</DelaySign> </PropertyGroup> <PropertyGroup Condition=" '$(PrivateKeyName)' != '' "> <AssemblyOriginatorKeyFile></AssemblyOriginatorKeyFile> <DelaySign>false</DelaySign> </PropertyGroup>
Replace these lines as follows:
<PropertyGroup> <DelaySign>false</DelaySign> <SignAssembly>false</SignAssembly> </PropertyGroup>
theMayer
source share