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

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top