GAC your assemblies with one click!!

Posted at: 12/19/2006 at 8:04 PM by saravana

 

We BizTalk developers often get frustrated with this assembly GACking stuff. Here is a cool registry setting which will make our life little bit easier.

Copy and paste the code into a notepad file and save it with extension .reg. Double click on the file and its all done.

-------------------------------------------------------

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\dllfile\shell\GAC-It\command]
@="c:\\windows\\Microsoft.NET\\Framework\\v1.1.4322\\gacutil.exe /i \"%1\""

-------------------------------------------------------

Then open explorer and navigate to your dll, right click on it, for your surprise you'll see a shortcut called GAC-It as shown below. You can put whatever name you want as highlighted in RED in the above script.

Found it from here

Tags: |  Categories: .NET
Actions: Email this article Email | Kick it! | DZone it! | Save to del.icio.us | Technorati Links
Post Information: Permanent LinkPermalink | CommentsComments(15) | Comments RSS

Comments

Wednesday, February 14, 2007 8:01 AM
Richard
Nice little trick! However when registering dll:s developed in .NET 2.0 one has to change the script to point to the new gacutil.exe. That would change the script to something like this:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\dllfile\shell\GAC-It\command]
@="C:\\Program Files\\Microsoft Visual Studio 8\\SDK\\v2.0\\Bin\\gacutil.exe /i \"%1\""
Wednesday, February 14, 2007 9:55 PM
Saravana Kumar
Hi Richard, thanks for pointing this out, hope people looking at this blog will read the comments as well.
Friday, May 30, 2008 2:59 PM
Steven
Steven
Interestingly enough I just found this registry edit, and I looked and I only have the 1.1 of the gacutil even though I have 1.0, 1.1, 2.0, and 3.0 frameworks installed.
Tuesday, July 13, 2010 7:04 AM
payday loans
Rise above the storm and you will find the sunshine.
Thursday, July 22, 2010 4:39 AM
Vibram FiveFingers Sprint Grey
<h1><a href="www.vibramsfivefingershoes.com/mens-vibram-fivefingers-sprint-grey-black-shoes-p-64.html"><strong>Vibram FiveFingers Sprint Grey</strong></a>, Vibram FiveFingers Sprint Grey</h1><br><br />
<h1><a href="www.vibramsfivefingershoes.com/mens-vibram-fivefingers-sprint-grey-blue-shoes-p-65.html"><strong>Vibram FiveFingers Sprint Grey</strong></a>, Vibram FiveFingers Sprint Grey</h1><br><br />
<h1><a href="www.vibramsfivefingershoes.com/mens-vibram-fivefingers-sprint-shoes-beige-grey-p-66.html"><strong>Vibram FiveFingers Sprint Grey</strong></a>, Vibram FiveFingers Sprint Grey</h1><br><br />
Monday, August 02, 2010 2:45 AM
lenen
Over de voor- en nadelen van het afsluiten van een lening zonder BKR-toetsing.
Monday, August 02, 2010 4:52 AM
lenen
Over de voor- en nadelen van het afsluiten van een lening zonder BKR-toetsing.
Thursday, August 05, 2010 8:56 AM
AJF 20
Life is just like a book and we have so many things to learn in this book. On the one hand it is very easy to do it well, but on the other hand life is full of misery and pains. What's more, we can't choose what we want happened.
http://www.cheapjordans.cc/nike-jordan-ajf20-37/
Tuesday, August 10, 2010 7:51 AM
hypotheek
Hypotheek informatie, hypotheek aanvragen of afsluiten? Hypotheekrentes bekijken. Hypotheek aanbieders vergelijken, hypotheek vormen, bijkomende kosten,
Tuesday, August 10, 2010 7:56 AM
hypotheek
Hypotheek informatie, hypotheek aanvragen of afsluiten? Hypotheekrentes bekijken. Hypotheek aanbieders vergelijken, hypotheek vormen, bijkomende kosten,
Tuesday, August 17, 2010 6:34 AM
no teletrack
Nice post . keep up the good work
Wednesday, September 01, 2010 2:38 PM
buy my house
i bookmarked your blog, keep posting good stuff Smile
Wednesday, September 01, 2010 2:38 PM
we buy houses
great and interessting post
Wednesday, September 01, 2010 2:39 PM
sell my house
i bookmarked your blog, keep posting good stuff Smile
Wednesday, September 01, 2010 2:39 PM
cartoon yourself
interessting post, keep posting

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading