http://msdn.microsoft.com/en-us/library/ms165432.aspx , my test C# project worked flawlessly with the isolated COM component that we want to get rid from the DLL ____.
Then my next step is to port this method to our main project which is strong name + delay signed.
Conclusion I got after trying steps below: Visual Studio 2010 just can't generate strong name signed interop files. I can't find out how to do it.
I tried these 2 methods:
- I disabled strong name signing in the C# project settings.
- Add the component into a form, then re-enable strong name signing.
- Compilation failed badly due to generated interop files were not strong name + delay signed.
COM Reference 'XXXXXLib' is the interop assembly for ActiveX control 'AxXXXXXLib' but was marked to be linked by the compiler with the /link flag. This COM reference will be treated as a reference and will not be linked.
c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1558,9): warning MSB3283: Cannot find wrapper assembly for type library "XXXXXLib".
C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\AxImp.exe "C:\Blah\XXXXX.ocx" /out:obj\Debug\AxI
View Complete Post