For a few days now I've been trying to convert my Web Site Project to Web Application Project and I'm using a Web Setup Project for deployment of the solution. After conversion I've had various problems and issues and have had to do code changes to make everything work again. Most of the problems I don't discover until I do a install of setup on Windows Server 2003.
Then I discovered Web Deployment Project a little while ago and I'm trying to configure it all properly for the setup I have.
My first to reactions was: Why does it include the .csproj, .user, .vspscc and a .Publish.xml in the output folder?
And it also includes the "obj" folder which lots of assemblies and files, why is this included by default?
Properties\*.resx files are also copied to the output, even though the properties on them in my Web Application Project says: Embedded Resource and Do not copy.
So far I have these excludes:
<ExcludeFromBuild Include="$(SourceWebPhysicalPath)\obj\**\*.*" />
<ExcludeFromBuild Include="$(SourceWebPhysicalPath)\**\*.resx" />
<ExcludeFromBuild Include="$(SourceWebPhysicalPath)\**\*.csproj" />
<ExcludeFromBuild Include="$(SourceWebPhysicalPath)\**\*.user" />
<ExcludeFromBuild Include="$(SourceWebPhysicalPath)\**\*.vspscc" />
<ExcludeFromBuild Include="$(SourceWebPhysicalPath)\**\*.xml" />