When the Register for COM Interop option in the build properties is checked, I get an error:
Cannot register assembly -access denied
When the option is unchecked, the project builds without any error. But my requirement is to register the COM objects as I need to use the same in VB. Can anyone help me out in this?
Under Windows Vista and higher, try to run Visual Studio elevated, so it has the permissions necessary to perform a regasm on your output assembly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With