One .Visual Studio solution for NetFramework 4.0
When I tried to run from the IDE,
Unable to register assembly "XXX.dll" - Access denied.Verify that you are running the application as an administrator.Access to registry key 'HKEY_CLASSES_ROOT\XXX.XXXDef' denied
The build failed with the message (the build itself was successful and COM registration failed).but)
This solution is
Project 1 (execution file.exe)
Project 2 (Functional Collection.dll)
is configured to
Project 1 refers to Project 2
If you run VisualStudio with administrator privileges, you can run it without errors and
on other machines.
Copy exe and dll to work without having to register dll with Regsvr32
I have a question. Is there any point in COM registration of libraries for .NetFramework in the first place?
c# visual-studio com
You can also set the availability of COM interoperability by registering COM interoperability features on the Build tab of the project properties page.
Does Project 2 (Functional Collection.dll) have a "Make Assembly COM Visible" check?
今 I can't start VisualStudio right now, so I can't show you the exact location.Sorry
© 2024 OneMinuteCode. All rights reserved.