This project is read-only.

Signing not supported?

Topics: APIs
Nov 17, 2014 at 10:29 PM
Trying to generate a signed assembly results in the error message "Error signing output with public key from file '<path>Key.snk' -- Assembly signing not supported."

I am trying to do this by specifying the file in the cryptoKeyFile parameter to the CSharpCompilationOptions constructor.

Is this intended to be fixed, or am I using the wrong API to sign?
Nov 18, 2014 at 1:16 AM
This should work. Could you share a snippet of the code you are using?
Nov 18, 2014 at 9:15 PM
The problem was I hadn't set the StrongNameProvider in the CSharpCompilationOptions. I think this should be automatically created if it is not set, or at a minimum that the error message should give directions to what the problem is.