I am getting following error in VS2015 when trying to compile a c# project that uses code signing. I didn't get this error in VS2013.
Also there is no information on this error anywhere.
I had this problem. You can open CommonAssemblyInfo.cs and remove the line [assembly: AssemblyKeyFile(@"C:\KeyFile.snk")]
:)
I had more or less the same issue with VS 2019 while building a project, but with a .snk
file, for a project containing the source code from datalust Superpower that I needed to evaluate and debug:
The CommonAssemblyInfo.cs
did not contain any line [assembly: AssemblyKeyFile(@"....snk")]
The solution was to unselect "Sign the assembly" in the properties of the project:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With