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:
myWebSiteproject (web site project)myLibraryproject (library project)myWebsiteDeployproject (web deployment project)myWebSetupproject (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.
加载中,请稍侯......
精彩评论