Web Deployment. Rename Directory and File. Is this possible?

  • Thread starter Thread starter shapper
  • Start date Start date
I am using Visual Studio 2008 and Web Deployment Projects:
http://blogs.msdn.com/webdevtools/a...l-studio-2008-december-2007-ctp-released.aspx

Is it possible to rename a directory and a folder when the web site
building finishes?

I was trying to do something inside the <Target Name="AfterBuild"> but
until know I couldn't find a command for this.

1) Use the <MakeDir /> tag to create the new directory

2) Use the <Copy SourceFiles /> tag to copy files from the directory you
want to "rename" into the new directory

3) Use the <RemoveDir /> tag to delete the directory you want to "rename"
 
1) Use the <MakeDir /> tag to create the new directory

2) Use the <Copy SourceFiles /> tag to copy files from the directory you
want to "rename" into the new directory

3) Use the <RemoveDir /> tag to delete the directory you want to "rename"

And to rename a file?

Thanks,
Miguel
 
Back
Top