The node in the project has a type labeled ComVisible (true).
When building (without raising), VS tries to register this DLL and fails:
Unable to register assembly "\ path \ to \ foo.dll" - access denied. Make sure you use the application as an administrator. Access to the registry key "HKEY_CLASSES_ROOT \ CLSID {FFC174A1-CC90-4E25-A3F6-C30B03368250}" is denied.
We do not want the DLL to register on the build machines. We want to register it only when it is installed for the end user.
So is it possible to build without registering a DLL?
visual-studio uac com elevation
Rik hemsley
source share