Hello, I have installed DO 4.3.0 RC4. My DO model assembly is signed by "xyz.pfx" strong name key file (like other assemblies in solution). When I try to build this model assembly I gets error : "Error 2 "sn.exe" exited with code 1. Altea4.Data.Models" Assembly is x86. Any idea how I can solve this problem? Other signed assemblies with the same key file in solution I can build without problems. Updated at 02.07.2010 7:20:53All assemblies in solution are bilt for x86. Step-by-step to reproduce a problem:
This thread was imported from our support forum. The original discussion may contain more detailed answer. Original topic by bakotomas. |
psulek wrote:
sharpcrafters wrote:This may be due to PostSharp. Support for PFX is quite bad. The recommended approach is to delay-sign your assembly with an SNK, and sign it with a PFX only at the end of the build (or, even better, when you build the setup program -- in large companies, developers dont even have the PFX). You can export the public key of a PFX into an SNK by using 'sn -p MyKey.pfx MyKey.snk'. -gael psulek wrote:
|
So the only difference is that assembly is built for x86?
If so, likely, we must report about this to PostSharp team.