I need to register some assemblies into my Inno Setup script and found this code:
Source: "Files\MyAssembly.dll"; DestDir: "{app}"; StrongAssemblyName: "MyAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=48d60606109a2257, ProcessorArchitecture=MSIL"; Flags: "gacinstall sharedfile uninsnosharedfileprompt"
the problem is my dll is not signed and I'm not found the option for C++/CLI dll in VS2008 to sign it!
Error message: Install assembly failed; code 0x80131044
How can I register unsigned assemblies or how can I sign C++/CLI dll's in Visual Studio 2008?
Thank 开发者_StackOverflowyou in advance !
greets
If it's not signed, you can't install it in the GAC. If you need it "registered" for COM interop, you need to call RegAsm with the /codebase parameter.
精彩评论