Close your ASP project, open the .vbproj file with notepad and modify the following line (Target your Release build as that’s the one that gets published)
1 2 3 4 5 6 7 8 9 10 11 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <DefineDebug>false</DefineDebug> <DefineTrace>true</DefineTrace> <Optimize>true</Optimize> <OutputPath>bin\</OutputPath> <DocumentationFile>MyProjectName.xml</DocumentationFile> <NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355</NoWarn> <Prefer32Bit>false</Prefer32Bit> <ExcludeFoldersFromDeployment>PDFS;Images;videos</ExcludeFoldersFromDeployment> </PropertyGroup> |