开发者

on a Web Setup, how do I exclude all .pdb files?

开发者 https://www.devze.com 2023-01-18 21:28 出处:网络
In a sample solution on Visual Studio 2008, let\'s say, I have this: myWebSite project (web site project)

In a sample solution on Visual Studio 2008, let's say, I have this:

  • myWebSite project (web site project)
  • myLibrary project (library project)
  • myWebsiteDeploy project (web deployment project)
  • myWebSetup project (web setup project)

inside myWebSite there is a myLibrary.dll and myLibrary.pdb witch they are included in the myWebSiteDeploy project and pass to the myWebSetup

How can I tell myWebSeiteDeploy or myWebSetup to exclude all *.开发者_如何学Pythonpdb files as they are not needed in a deployed website ?


Open the project properties in Visual Studio. Select the "Build" tab, change your "Configuration" to "Release" and click on the "Advanced" button. Change debug info to "none". Then the build will not create the .pdb files.

0

精彩评论

暂无评论...
验证码 换一张
取 消