After reading the article
http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/ about referencing a COM object without having to register it, I was excited about trying it in my ASP.NET project because I cannot register things at the ISP.
I can't figure out how to do it.
I use VS2005, and have a 'Web Site' type project which uses the local IIS (so that I can run classic asp pages). So far so good, but there is no 'References' folder. So I add my VB project (xxx.dll) reference, but it does not show up in solution explorer.
So I can't right click on the reference and change the isolated property to 'true' in order to get a manifest that will self-register the COM objects.
I found that the references are listed as part of the 'properties' of my project, but that does no have the 'isolated' property, and I can't figure where it is stored anyway... there is no .sln file.
So, how can I make this reference 'isolated' as required for Reg-free COM?
I do now know if this will work on ASP.NET phil, but you could try adding the reference to a standard console or winforms project, set the property, compile and then just grab the generated manifest and deploy it with your asp.net project. Worth a try, maybe?
Member
93 Points
119 Posts
Reg-Free COM ('isolated' property in reference)
Mar 23, 2006 12:32 PM|PhilM99|LINK
After reading the article http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/ about referencing a COM object without having to register it, I was excited about trying it in my ASP.NET project because I cannot register things at the ISP.
I can't figure out how to do it.
I use VS2005, and have a 'Web Site' type project which uses the local IIS (so that I can run classic asp pages). So far so good, but there is no 'References' folder. So I add my VB project (xxx.dll) reference, but it does not show up in solution explorer. So I can't right click on the reference and change the isolated property to 'true' in order to get a manifest that will self-register the COM objects.
I found that the references are listed as part of the 'properties' of my project, but that does no have the 'isolated' property, and I can't figure where it is stored anyway... there is no .sln file.
So, how can I make this reference 'isolated' as required for Reg-free COM?
TIA Phil
Member
30 Points
851 Posts
Re: Reg-Free COM ('isolated' property in reference)
Apr 17, 2006 06:54 PM|tomasr|LINK
tomasr@mvps.org
Member
93 Points
119 Posts
Re: Reg-Free COM ('isolated' property in reference)
Apr 17, 2006 07:04 PM|PhilM99|LINK