I've got a v4.0 library that needs to be COM visible as it will be called from a Delphi application.
Using Regasm I get the following error:
RegAsm : error RA0000 : Could not load file or assembly 'file:///D:\Development\ ENTv610\ATMSLinkClientLibrary.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
I can get this to work if I modify the regasm.exe.config file to use:
<runtime>
<loadFromRemoteSources enabled="true"/>
</runtime>
Unfortunately I need to write an installer for this and the rest of the application. So I don't want clients to have to edit a file in their Framework folder. Is there anyway to get this library registered on a mapped drive without setting that config file?