PDA

View Full Version : RegAsm /codebase not working



l3mapps
09-21-2015, 04:42 PM
I am currently evaluating SetupBuilder 8 and I am having trouble with RegAsm /codebase. I tried 2 ways:

1. Added the file and set the File Property "COM Interop Registration for .NET Assembly"

2. Add the file and add the Register File Operation "COM Interop Register (/codebase).NET Assembly immediately"

None of these seem to add the correct entries in the registry.

I can run it by hand and all is fine.

C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegA sm.exe /codebase RemoteServiceAccess.dll

How does SetupBuilder 8 know which version of RegAsm to use since there are multiple versions of .NET and 32/64 bit?

linder
09-22-2015, 01:50 AM
Hello,

Did you use "Set Active .NET Framework..." to set it to "Support .NET Framework 4.0"?

Friedrich

l3mapps
09-22-2015, 07:07 AM
That did it. Thanks for your help.