Steve Hebert's Development Blog

.Steve's .Blog

<December 2008>
SuMoTuWeThFrSa
30123456
78910111213
14151617181920
21222324252627
28293031123
45678910


Navigation

Blogs I Follow

Favorite Tools

Development Articles

Subscriptions

Post Categories

Article Categories



Distributing a .NET COM Object without the command line

Related to my SQL2K webservice post, I spent a couple hours on distributing my .NET/COM object the other day (leading to a few “” moments).  I knew the solution was simple but finding the missing detail on the msdn site was very elusive. Keywords like GAC, install, deployment, etc. are all grossly recurring terms. I even posted to the newsgroups and didn't get an answer back... oh well!

So here are the instructions in the event I ever need them again...

(1)  Strong name the assembly. 
(2) Create a Setup project.
(3) Right click the setup project and choose 'View/File System'.  Add the “Global Assembly Cache Folder“ and drop the primary output from the .NET/COM Object into it.
(4) Highlight the output sitting in the GAC Folder and change the Register property to “vsdrpCOM“.

That's it!  I missed step 3 and now can't believe I ever missed that step. 

Oh well, onward...

 

posted on Thursday, July 08, 2004 12:07 PM by sdhebert





Powered by Dot Net Junkies, by Telligent Systems