CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.vs_web_deployment_projects Tags:
Item Type: NewsGroup Date Entered: 1/8/2007 10:34:30 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 4 Views: 30 Favorited: 0 Favorite
5 Items, 1 Pages 1 |< << Go >> >|
hkrause
Asp.Net User
WebDeployment project produces too many files in output directory1/8/2007 10:34:30 PM

0

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?

Best regards,

Henning Krause


Henning Krause
MVP - Exchange
vivek_iit
Asp.Net User
Re: WebDeployment project produces too many files in output directory1/9/2007 5:50:58 AM

0

Hi Henning,

Right click the web deployment project and open the project file. See if there are any build tasks which are copying all source files to the deployed directory.

If not, then try adding the project again and see if the problem persists.

Vivek


MVP, ASP.NET || My Website || Blog || Articles

Please mark the most helpful reply/replies as "Answer".
hkrause
Asp.Net User
Re: WebDeployment project produces too many files in output directory1/9/2007 12:41:51 PM

0

Hello,
Henning Krause
MVP - Exchange
hkrause
Asp.Net User
Re: WebDeployment project produces too many files in output directory1/9/2007 12:45:10 PM

0

Hello,

 I can't find any additional build files in the build file.

 Here is the content:

<!--
  Microsoft Visual Studio 2005 Web Deployment Project
  http://go.microsoft.com/fwlink/?LinkId=55111
-->
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>8.0.60403</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{1A0F2EF3-DBB1-4091-80E2-DF6373E18D2B}</ProjectGuid>
    <SourceWebPhysicalPath>..\WebConfiguration</SourceWebPhysicalPath>
    <SourceWebProject>{C2DC21FE-167D-4C0B-A128-2A464CA6D91F}|Addins\Core\WebConfiguration\CoreConfiguration.csproj</SourceWebProject>
    <SourceWebVirtualPath>/CoreConfiguration.csproj</SourceWebVirtualPath>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <OutputPath>.\Debug</OutputPath>
    <EnableUpdateable>false</EnableUpdateable>
    <UseMerge>true</UseMerge>
    <SingleAssemblyName>CoreConfiguration</SingleAssemblyName>
    <KeyFile>..\..\..\Keys\keyfile.snk</KeyFile>
    <UseWebConfigReplacement>false</UseWebConfigReplacement>
    <ContentAssemblyName>
    </ContentAssemblyName>
    <DeleteAppCodeCompiledFiles>false</DeleteAppCodeCompiledFiles>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugSymbols>false</DebugSymbols>
    <OutputPath>.\Release</OutputPath>
    <EnableUpdateable>false</EnableUpdateable>
    <UseMerge>true</UseMerge>
    <SingleAssemblyName>CoreConfiguration</SingleAssemblyName>
    <KeyFile>..\..\..\Keys\keyfile.snk</KeyFile>
    <UseWebConfigReplacement>false</UseWebConfigReplacement>
    <ContentAssemblyName>
    </ContentAssemblyName>
    <DeleteAppCodeCompiledFiles>false</DeleteAppCodeCompiledFiles>
  </PropertyGroup>
  <ItemGroup>
  </ItemGroup>
  <Import Project="$(MSBuildExtensionsPath)\Microsoft\WebDeployment\v8.0\Microsoft.WebDeployment.targets" />
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
       Other similar extension points exist, see Microsoft.WebDeployment.targets.-->
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="BeforeMerge">
  </Target>
  <Target Name="AfterMerge">
   <Copy SourceFiles="@(PrecompiledOutput)" DestinationFolder="$(Destination)" />
  </Target>
  <Target Name="AfterBuild">
  </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".

 Any ideas?


Henning Krause
MVP - Exchange
vivek_iit
Asp.Net User
Re: WebDeployment project produces too many files in output directory1/12/2007 9:46:57 AM

0

The build file seems fine. Btw, the .resx files are copied if you have them under App_LocalResources folder. Also, no .cs file should be copied. If you can see .cs files too then you have a problem, else copying of .sln and project files apart from obj folder is a problem with WAP projects. See this similar thread:

http://forums.asp.net/thread/1219284.aspx

HTH,

Vivek


MVP, ASP.NET || My Website || Blog || Articles

Please mark the most helpful reply/replies as "Answer".
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
WebDeployment project produces too many files in output directory ... WebDeployment project produces too many files in output directory. Last post 01- 12-2007 4:46 AM by vivek_iit. 4 replies. Sort Posts: ...
Web Application Projects and Web Deployment Projects are here ... There are many binary files that need to get updated and while in process the site becomes ..... My web deployment project also produces an assembly. ...
VS 2005 Web Deployment Projects - ScottGu's Blog The web deployment project will then show up as part of my solution:. Associated in the e:\WebSiteDeployment directory is a new MSbuild based project file ...
Visual Web Developer Team Blog : Announcing RTW version of Visual ... WebDeployment.targets file does not contain a "GetTargetPath" target. As a result, if a Web Deployment Project is referenced in another project (such as a ...
Creating a DotNetNuke PA using ASP.NET 2.0 Coding Techniques The Web Deployment Project for 2008 breaks some of the following instructions .... Since I occassionally also have ASPX files I'm installing too, I use the ...
Visual Studio 2005 Web Application Projects and Web Deployment ... Deployment is also affected by the compilation and project model and many developers ended up downright baffled by the messy deployment output generated by ...
K. Scott Allen : Precompilation in ASP.NET 2.0 that being said, why does the precompiler include my .sln, .resx, and the various visual source-safe files in the target/output directory? ...
Managing ASP.NET Precompiled Output for Deployment Using the ... As you have seen, the aspnet_compiler.exe ordinarily produces output ..... You can associate a Web Deployment project with your Web site by adding a new Web ...
.NET Page 12 - Bytes Site Map VS Setup project - modify a file after installation ยท connecting printer to remote ... WebDeployment project produces too many files in output directory ...
Vishal Joshi's Tangent http://vishaljoshi.blogspot.com/2008/01/visual-studio-2008-web-deployment.html. By default in the WDP output you will find project files (.csproj/.vbproj), ...






asp.net 2.0: global.asax code-behind and web deployment project problem

the file has not been pre-compiled error, but inconsistent

aspnet_compiler.exe" exited with code 1

vs2005 on vista; wdp not working

the app_globalresources folder is missing in the web setup project

problem with aspnet_merge.exe building

one click ftp deployment, is this possible?

precompiled sites from wdp act differently on production and development environments

help deploying site(files) on production server!!!

my site works when i run it in vs, but when i publish it, it doesn't.

excluding replacement .config files from deployment?

web deployment project - "cannot use a leading .. to exit above the top directory"

vs 2008 tries to convert web deployment project every time its loaded.

problem with website publishing

web.config replacement file for <system.servicemodel> doesn't work

wdp - version info, non-updatable sites etc

problem on deploying large website

how to create msi file for web application project

can't get excludefrombuild to work....

wdp and global theme

msb6006 unresolved assembly reference not allowed

separate assembly for every folder

how to deploy website on local iis / on local network in asp.net 2.0

deploy project

am i understanding this correctly?

web develoyment project - it is not working ....

compilation issue...

getting warning when trying to exclude files for a web deployment.

best way to get from vss to production server

webdeployment project produces too many files in output directory

   
  Privacy | Contact Us
All Times Are GMT