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: 6/16/2006 12:13:26 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 26 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
lucdlucd
Asp.Net User
Copying custom files on release server - project configuration6/16/2006 12:13:26 PM

0

Hello,

Like almost everybody now, i use the web deployment project configuration to publish the correct web.config depending on the build release or staging.
And also to remove unneeded files from deployment servers.

I need to put the project on the production server, but some pages in the "Admin" folder and subfolders should not be published yet ...
So i created dedicated pages ("in contruction"..) with the same name and extention Release in the same folder

eg. :

/Admin/Orders/OrderDetails.aspx
/Admin/Orders/OrderDetails.aspx.Release

"OrderDetails.aspx"  should be replaced by "OrderDetails.aspx.Release" on the prod server,
and "OrderDetails.aspx.Release" should then be removed...

I added filters in the config file as following:

<MyUnNeededDestFiles Include="$(SourceWebPhysicalPath)\*.Staging; $(SourceWebPhysicalPath)\*.Release; $(SourceWebPhysicalPath)\Admin\**\*.Staging; $(SourceWebPhysicalPath)\Admin\**\*.Release"/>

<ReleaseFilesToCopy Include="$(SourceWebPhysicalPath)\Admin\**\*.Release"></ReleaseFilesToCopy>

And in the AfterBuild :

<

Target Name="AfterBuild">

<

Copy SourceFiles="@(MySourceConfigFiles)" DestinationFiles="@(MySourceConfigFiles->'$(OutputPath)\%(Filename)')" />

<

Copy SourceFiles="@(ReleaseFilesToCopy)" DestinationFiles="@(ReleaseFilesToCopy->'$(OutputPath)\%(Filename)')" />

<

Delete Files="@(MyUnNeededDestFiles->'$(OutputPath)\%(Filename)%(Extension)')" />

</

Target>

Release and Staging Files are correctly deleted, but the /Admin/**/*.release files are not copied
I scratched my head, and read pages about MSBuild, but can find the solution ,

Thanks for your help !

Luc

lucdlucd
Asp.Net User
Re: Copying custom files on release server - project configuration6/26/2006 11:32:19 PM

0

Help please... Sad
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional VMware Server Authors: Eric Hammersley, Pages: 437, Published: 2006
Building Websites with the ASP.Net Community Starter Kit Authors: Cristian Darie, K. Scott Allen, Pages: 284, Published: 2004
Mastering SQL Server 2005 Reporting Services Infrastructure Design Authors: Joseph L. Jorden, Pages: 486, Published: 2007
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1464, Published: 2006
Hitchhiker's Guide to SQL Server 2000 Reporting Services Authors: Peter Blackburn, William R. Vaughn, Pages: 739, Published: 2004
Microsoft SQL Server 2005 Integration Services Authors: Kirk Haselden, Pages: 717, Published: 2006
Autodesk Architectural Desktop: An Advanced Implementation Guide Authors: Paul F. Aubin, Pages: 600, Published: 2002
The Essential Guide to Open Source Flash Development Authors: Chris Allen, Aral Balkan, John Grden, Wade Arnold, Patrick Mineault, Nicolas Cannasse, Mark Hughes, Ralph Hauwert, Pages: 350, Published: 2008
Python programming on Win32 Authors: Mark J. Hammond, Andy Robinson, Pages: 652, Published: 2000
Pro SQL Server 2005 Reporting Services Authors: Rodney Landrum, Walter J. Voytek, II, Walter J. Voytek, Pages: 374, Published: 2005

Web:
Project Configuration File - Unofficial BOINC Wiki Mar 27, 2008 ... A BOINC Powered Project is described by a configuration file named config.xml in the Project Directory. ... BOINC Server-Side Daemon Programs and Tasks run on this host by default. .... Permission is granted to copy, distribute and/or modify this document under ... Web Search. Google. Custom Search ...
CCNet 1.4.3 Release Notes - CruiseControl.NET - Confluence Mar 18, 2009 ... In ccnet.config, any task block can have a custom description attribute. ... different servers appear to be on the same server in the project list ... Filesystem source control block doesn't recognize file copy/deletes ...
OpenRules Configuration Custom Project Configuration Main and Included OpenRules Files ... You may use a standard Apache Tomcat Server with any OpenRules-based application. ... if you copy all jars to you own directory and properly adjust your build-files. ...
Windows Terminal Services How to Install Microsoft Project 2002 on a Windows Server with Terminal Services ... With Terminal Services, you install a single copy of Microsoft Project on the ... If you want to accept the default Microsoft Project configuration, ... To add per-user files, use the Office XP Custom Maintenance Wizard after ...
CodeProject: Using config file for Custom Assembly in Reporting ... Jun 15, 2007 ... The major problem to use config file with custom assembly is their "class ... have to copy this custom assembly under the "ReportServer/bin" folder in SQL Server installation whether reporting services project location ...
NetBeans 5.5 Visual Web Pack Installation Guide If you have installed the Technology Preview release of NetBeans Visual Web Pack .... Sun Java System Application Server Configuration; Visual Web Pack Sample Database .... to your project or copy it into your server's library directory. ... to use the Travel database with Tomcat, copy the derbyclient.jar file into ...
Scott Hanselman's Computer Zen - Managing Multiple Configuration ... Make sure to create a Solution Configuration AND a Project Configuration, ... Basically this batch file will copy a file over another if the files don't match . .... We use the name of the computer as an extension instead of debug/release ... I love the way Telligent use _override files to modify custom .config ...
Jetspeed 2 - The need for a custom Maven build lifecycle Dec 9, 2008 ... But... with the current Maven 2.0 model they can also only have a single configuration within a project (pom) file, so many different tasks ...
MUI for Microsoft Office SharePoint Server - Release: Custom ... Aug 20, 2008 ... this license by including a complete copy of this license with your distribution. ... Place Custom.SharePoint.MUI.dll file in a preferred location. ... C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ CONFIG\web.config ... There are no planned releases for this project. ...
Reporting Services User Education : Upgrading SQL Server 2000 ... Feb 14, 2007 ... You do not need to remove entries from other configuration files or ... o Build the project or solution. 4. Copy the custom assembly to the ...

Videos:
GeoServer and Architectures of Participation for Geospatial ... Google TechTalks August 23, 2006 Chris Holmes ABSTRACT This talk will introduce GeoServer, an open source server to publish and edit ...
ACC306_Apr14_1530_part2.MP4
The Archimedes Palimpsest Google TechTalks March 7, 2006 Will Noel Roger L. Easton, Jr. Michael B. Toth ABSTRACT The Archimedes Palimpsest is a 10th Century ...












accessing controls inside the content server control

visual studio 2008 web developer web.sitemap error

different javascript files for each child page

can you load a profile?

menu control customization

menu navigation in .net 2.0

how to apply a template

link button on a master page

sitemap.currentnode error in sitemapresolve

using the menu control with css styled, list based menus

sitemap path does not work

theme css file + url rewriting = bug

treeview startup

any code for .skin files

disable finish button on wizard until all data is valid

question about reusing controls

hiding items in the menu control?

master pages

javascript problem in master content pages

menu control is sluggish in internet explorer, fast in firefox, opera

how to create treenodes with different styles dynamically

using imageurlfield with a sitemap

sitemap & menu

casting error: the type exists in both {...} and {...}

how to collapse a databound treeview?

nikhil's updatehistory and masterpages

master page headaches!!

menu control subitems display problems

customization of quick launch menu

change linkbutton in wizard sidebar

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT