CodeVerge.Net Beta


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

ASP.NET Web Hosting – 3 Months Free!
Free 3 Months



Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.vs_web_deployment_projects Tags:
Item Type: NewsGroup Date Entered: 1/29/2007 2:34:26 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 43 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
JocularJoe
Asp.Net User
Web Deployment Project deploys files that have "Build Action" set to None1/29/2007 2:34:26 PM

0/0

When using a Web Deployment Project to deploy a Web Application Project, the output includes project files that have "Build Action" set to None. When web applications are deployed using "Publish Web Site" or a Web Setup project, such files are excluded.

This means that the output is polluted with unwanted files such as:
- technical documentation
- files with replacements for web.config sections
etc.

I tried posting this bug to Connect (https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=253772) but they can't help as it's not officially supported.

Is there an unofficial fix or workaround for this bug?

JocularJoe
Asp.Net User
Re: Web Deployment Project deploys files that have "Build Action" set to None1/30/2007 2:09:15 PM

0/0

A related problem is that the Web Deployment Project will still attempt to build any ASPX/ASCX files that have been excluded from a Web Application Project.  This will fail, presumably because the codebehind files have not been built by the Web Application Project.

It seem the Web Deployment Projects add-in doesn't work well with Web Application Projects.  I think it needs to be modified to:

- Copy project files (including AS*X files, content files and the bin directory, but excluding files with Build=None) to a temporary directory.
- Perform the precompilation in the temporary directory
- Copy the result to the output directory.

 

2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Beginning Visual Web Programming in VB .NET: From Novice to Professional Authors: Daniel Cazzulino, Craig Bowes, Victor Garcia Aprea, Mike Clark, James Greenwood, Chris Hart, Pages: 648, Published: 2005
Professional C# Authors: Simon Robinson, Christian Nagel, Karli Watson, Jay Glynn, Morgan Skinner, Bill Evjen, Pages: 1224, Published: 2004
Moving to ASP.NET: Web Development with VB.NET Authors: Steve Harris, Rob Macdonald, Pages: 739, Published: 2002

Web:
Web Deployment Project deploys files that have "Build Action" set ... Web Deployment Project deploys files that have "Build Action" set to None. Last post 01-30-2007 9:09 AM by JocularJoe. 1 replies. ...
Undocumented .Net: Web application project .. now working! Ok build the deployment project and let have a look at the output. ... in mind let set the build action of all the web pages code files to none. rebuild the ...
VS 2005 Web Deployment Projects - ScottGu's Blog The web deployment project adds support for pre and post build events that you ...... then adding an after build action to deploy the files to the server. ...
Safari Books Online - 0321197690 - Smart Client Deployment with ... Files that are part of your project have a number of properties associated ... Finally, if the value of the Build Action is set to None for a file, the file ...
Scott Hanselman's Computer Zen - Managing Multiple Configuration ... If you name a file "web.config.debug", aren't you giving up that security feature? I realize that you can change the build action to "None" to prevent these ...
The MSDE Deployment Toolkit (RC) in Action The selected build action for this item is Embedded Resource thus the name ... When we have added the files to the setup project, we need to switch to the ...
CodeProject: A Setup and Deployment project that passes parameters ... An article on how to use the setup and deployment project in . ... how can i set a run file after installation i add file in custom action (commit) but it ...
logos.ms: Deployment Projects I built my solution, but the deployment project didn't build? ... Web browser controls are often stored as .cab files on web servers. ...
Crystal Reports and .NET deploy external report files and end users cannot modify them. The .... To build your Web Setup project, right-click your deployment ...
Christian Maslen's Blog Select each configuration file in solution explorer and set the build action in the properties window to be None. This includes the web.config. ...

Videos:
XML11: An Abstract Windowing Protocol Google TechTalks June 1, 2006 Arno Puder Arno Puder received his masters and Ph.D. in computer science and is currently working as an Assistant Prof...
Glimpse Inside a Metaverse: The Virtual World of Second Life Google TechTalks March 1, 2006 Philip Rosedale and Cory Ondrejka ABSTRACT Linden Lab is the producer of Second Life, an online world with a growing...




Search This Site:










javascript embedded resource not merged into output assembly

vs 2005 web deployment project - unable to use .pfx to sign output assembly

web setup project & iis new website

accented characters are removed

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

text file don't get deployed from dll to web project

problem with login control on godaddy.com- urgent help needed

capture existing config settings during a site upgrade

web deployment project and crystal reports

how do i not overwrite image folder when publishing

web deploy and enterprise logging block replacements

deployment errors: server app unavailable and failed to access iis metabase

wdp - version info, non-updatable sites etc

web deployment project error replacing elab loggingconfiguration config

msbuild and web deployment project

excluding replacement .config files from deployment?

custom configuration sections in web.config

deploying 2 console applications

remote web site compile error - failed to map the path, asp.net 2.0

"exclude all but" feature?

aspnet_merge doesn't work with indigo's .svc files

what router ports must be redirected to server at web site for vs2005 to publish

web deploy project causes visual studio to become unstable

partially trusted callers

compile release

error in creating setup

special characters get removed with wdp.

wap & wdp

vs2005 sp1 + web deployment + vista

web deployment problem ... please, need help.

  Privacy | Contact Us
All Times Are GMT