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)
我正在使用Wix Installer(3)来部署我的应用程序。如何将我的解决方案中的一个项目的输出dll和调试符号(pdb文件)添加到GAC? (我在Visual Studio 2008中开发了一个C#应用程序)
1 个解决方案
#1
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.
您不必将符号放在GAC中,系统就可以将它们接收。例如,您可以将符号放在%WINDIR%\ System32 \ Symbols \ _dll(对于dlls)和%WINDIR%\ System32 \ Symbols \ exe(对于......嗯,exes)下,这是您只有一个pdb每dll \ exe,而GAC允许你有多个版本,所以只有最新的安装才会有它的符号,如果你只有一个版本,那么它不是一个真正的问题。
#1
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.
您不必将符号放在GAC中,系统就可以将它们接收。例如,您可以将符号放在%WINDIR%\ System32 \ Symbols \ _dll(对于dlls)和%WINDIR%\ System32 \ Symbols \ exe(对于......嗯,exes)下,这是您只有一个pdb每dll \ exe,而GAC允许你有多个版本,所以只有最新的安装才会有它的符号,如果你只有一个版本,那么它不是一个真正的问题。