Last post Jun 26, 2006 07:32 PM by lucdlucd
Jun 16, 2006 08:13 AM|lucdlucd|LINK
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
"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:
Include="$(SourceWebPhysicalPath)\*.Staging; $(SourceWebPhysicalPath)\*.Release; $(SourceWebPhysicalPath)\Admin\**\*.Staging;
And in the AfterBuild :
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 !
Jun 26, 2006 07:32 PM|lucdlucd|LINK