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

M

Mark Rae [MVP]

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"
 
S

shapper

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,699
Latest member
AnneRosen

Latest Threads

Top