Hello,
Environment: Visual Studio 2005 SP1, Web Deployment Projects installed
I hava Web Application project (updated from Visual Studio 2003) and a Web
Deployment for that web application. The problem is when I build the
deployment project, far more files than necessary end up in the .\debug
directory. Effectively, all files from the original web application copied
to the .\debug directory, including the *.csproj files, the *.resx files and
so on.
Any idea what could cause this?
The Project file looks like this:
<!--
Microsoft Visual Studio 2005 Web Deployment Project
http://go.microsoft.com/fwlink/?LinkId=55111
-->
<Project DefaultTargets= "Build"
xmlns="http://schemas.microso ft.com/developer/msbuild/2003">
<PropertyGrou p>
<Configuratio n Condition=" '$(Configuratio n)' == ''
">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion >8.0.60403</ProductVersion>
<SchemaVersion> 2.0</SchemaVersion>
<ProjectGuid>{1 A0F2EF3-DBB1-4091-80E2-DF6373E18D2B}</ProjectGuid>
<SourceWebPhysi calPath>..\WebC onfiguration</SourceWebPhysic alPath>
<SourceWebProje ct>{C2DC21FE-167D-4C0B-A128-2A464CA6D91F}|A ddins\Core\WebC onfiguration\Co reConfiguration .csproj</SourceWebProjec t>
<SourceWebVirtu alPath>/CoreConfigurati on.csproj</SourceWebVirtua lPath>
</PropertyGroup>
<PropertyGrou p Condition=" '$(Configuratio n)|$(Platform)' ==
'Debug|AnyCPU' ">
<DebugSymbols>t rue</DebugSymbols>
<OutputPath>.\D ebug</OutputPath>
<EnableUpdateab le>false</EnableUpdateabl e>
<UseMerge>tru e</UseMerge>
<SingleAssembly Name>CoreConfig uration</SingleAssemblyN ame>
<KeyFile>..\..\ ..\Keys\keyfile .snk</KeyFile>
<UseWebConfigRe placement>false </UseWebConfigRep lacement>
<ContentAssembl yName>
</ContentAssembly Name>
<DeleteAppCodeC ompiledFiles>fa lse</DeleteAppCodeCo mpiledFiles>
</PropertyGroup>
<PropertyGrou p Condition=" '$(Configuratio n)|$(Platform)' ==
'Release|AnyCPU ' ">
<DebugSymbols>f alse</DebugSymbols>
<OutputPath>.\R elease</OutputPath>
<EnableUpdateab le>false</EnableUpdateabl e>
<UseMerge>tru e</UseMerge>
<SingleAssembly Name>CoreConfig uration</SingleAssemblyN ame>
<KeyFile>..\..\ ..\Keys\keyfile .snk</KeyFile>
<UseWebConfigRe placement>false </UseWebConfigRep lacement>
<ContentAssembl yName>
</ContentAssembly Name>
<DeleteAppCodeC ompiledFiles>fa lse</DeleteAppCodeCo mpiledFiles>
</PropertyGroup>
<ItemGroup>
</ItemGroup>
<Import
Project="$(MSBu ildExtensionsPa th)\Microsoft\W ebDeployment\v8 .0\Microsoft.We bDeployment.tar gets"
/>
<!-- To modify your build process, add your task inside one of the targets
below and uncomment it.
Other similar extension points exist, see
Microsoft.WebDe ployment.target s.-->
<Target Name="BeforeBui ld">
</Target>
<Target Name="BeforeMer ge">
</Target>
<Target Name="AfterMerg e">
<Copy SourceFiles="@( PrecompiledOutp ut)"
DestinationFold er="$(Destinati on)" />
</Target>
<Target Name="AfterBuil d">
</Target>
</Project>
Addtionally, I have checked the WebApplication project, but those files
which appear in the output folder do have a build action set to "None".
Best regards,
Henning Krause