The Ramblings of Two Microsoft .NET Developers, TFS, and Visual Studio ALM Guys --- "Yes, we are both named Ed."

Got the, "Install to GAC blues"?



Tired of installing dll's to the GAC via command prompt or drag and drop to assembly folder?

 

Well have I got a solution for you. Follow these steps:

 

1. Create a command file with this information

@echo off

@echo *****************************************************************

@echo ** Add to register

@echo *****************************************************************

:Again

@if .%1.==.. goto Xit

@dir %1 /b

@C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\gacutil /i %1

@Shift

@goto Again

:Xit

@echo *****************************************************************

@Pause

 

2. Click start - run and type in "sendto"

3. Drag and drop the command file to that location

4. BANG! Now you can simple right click a file and select "Send To" -- "InstallToGac.cmd"

 

BizTalk guys should really appreciate this one :)

 

Enjoy,

 

Ed K.

Posted in


Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

[Captcha]Enter the code shown (prevents robots):

Live Comment Preview