Signing not supported?

Topics: APIs
Nov 17, 2014 at 9: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?
Developer
Nov 18, 2014 at 12:16 AM
This should work. Could you share a snippet of the code you are using?
Nov 18, 2014 at 8: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.