Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add assembly and debug symbols (pdb files) to GAC - Wix Installer

I am using Wix Installer (3) for deploying my application. How can I add both the output dll from one of the projects in my solution and the debug symbols (pdb files) to the GAC? (I have a C# application developed in Visual Studio 2008)

like image 711
kjv Avatar asked Jul 28 '09 10:07

kjv


1 Answers

You don't have to put the symbols in the GAC in order for the system to pick them up.
You can for example put the symbols under %WINDIR%\System32\Symbols\dll (for dlls) and %WINDIR%\System32\Symbols\exe (for... well, exes) the draw back of this is that you only have one pdb per dll\exe while the GAC allows you to have multiple versions so only the latest install will have its symbols, if you have only one version then its not a real problem.

like image 118
Shay Erlichmen Avatar answered Sep 28 '22 06:09

Shay Erlichmen