I have an old VB6 dll usen in a an asp.net website (not webproject) that use that DLL often, but not using the Interop but using CreateObject
objectToCreate = CreateObject("DLL.Class")
Now we have to register the dll anytime there is a new version of that, and also we have to register on the production server, with the risk of forgot that step
I try to do as explained here with:
<ItemGroup>
<COMFileReference Include="MyComLibrary.dll">
<EmbedInteropTypes>True</EmbedInteropTypes>
</COMFileReference>
</ItemGroup>
I paste that in the .pubxml file of my site but nothing works, i try to unregister the dll in the server and i always get that i cant create ActiveX object
What can i try?