Hari Gillala
Hari Gillala

Reputation: 11926

Placing wsp file in GAC folder-Sharepoint Custom webpart

I wrote a webpart in C# and build it successfully in Visual Studio 2008. I have SP 2007 in my local machine.

I cannot do debugbing. I have to place the wsp file in Gac so that I can debug it.

How can I place it in C;\Windows\Assembly\GAC_MSIL as I cannot manully browse into that loaction.

Thank you

Upvotes: 2

Views: 2323

Answers (1)

Marek Grzenkowicz
Marek Grzenkowicz

Reputation: 17373

You should add the .pdb file to the GAC folder where the .dll file is located, not the entire .wsp package. Do not forget iisreset afterwards.

To browse the c:\Windows\assembly\GAC_MSIL\ folder use one of these 5 tricks. There is also a 6th way - Total Commander treats GAC like any other folder.

Upvotes: 2

Related Questions