Register your dll’s to GAC with Visual Studio IDE


In this article we will create an external tool for registering our dlls to GAC .

1) Click in your VS.IDE menu Tools -> External Tools…

2) Click to Add button

Title = Register GAC

Command =  C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin\gacutil.exe

Arguments = -i $(TargetPath)

3) Make checked “Use Output window” for results

4) Click OK .

Now you can use your new external tool in your IDE’s -> Tools Menu…



Some tools save time or not ? bye now…

Advertisements

About bpostaci
Escalation Engineer in Microsoft.

4 Responses to Register your dll’s to GAC with Visual Studio IDE

  1. sveroadev says:

    nice one 🙂

  2. shaiju says:

    In Windows 2008
    Command = C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\x64\ gacutil.exe

  3. Paula says:

    Very nice. You should add the remove from GAC utility. pretty cool

  4. Vilmar says:

    To uninstall from GAC use;
    -u $(TargetName)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: