I have an assembly that was built in Visual Studio. It is set as COM visible and in Visual Studio the Register for COM interop flag is ticked. I have used Visual Studio's own setup and deploy projects in the past to register it and it creates a tlb file for me to deploy.
When I attempt to take the required steps in AI in order to get the same output I don't appear to be able to do so.
I have added the assembly to my output folder. I have gone to the properties and set the registration to Auto Register file and have selected the Register .Net assembly for COM interoperability. Synchronization is set to Enabled. When I click OK to save the properties I get an error message saying:
The selected file could not be registered.
If I set the synchronization to buildtime it saves OK. However I thought that by setting it to enabled it would create my tlb file that I could then add under the COM tab. Ultimately I need the tlb file in my main file location next to my assembly.
Thanks
David
FOLLOW US
Get the latest news in Application Packaging