on a Web Setup, how do I exclude all .pdb files?
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.
精彩评论