473,473 Members | 2,036 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

Hello,

I am using Visual Studio 2008 and Web Deployment Projects:
http://blogs.msdn.com/webdevtools/ar...-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.

Thanks,
Miguel
Jan 5 '08 #1
2 1506
"shapper" <md*****@gmail.comwrote in message
news:d5**********************************@e6g2000p rf.googlegroups.com...
I am using Visual Studio 2008 and Web Deployment Projects:
http://blogs.msdn.com/webdevtools/ar...-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"
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jan 5 '08 #2
On Jan 5, 4:15 pm, "Mark Rae [MVP]" <m...@markNOSPAMrae.netwrote:
"shapper" <mdmo...@gmail.comwrote in message

news:d5**********************************@e6g2000p rf.googlegroups.com...
I am using Visual Studio 2008 and Web Deployment Projects:
http://blogs.msdn.com/webdevtools/ar...b-deployment-p...
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"

--
Mark Rae
ASP.NET MVPhttp://www.markrae.net
And to rename a file?

Thanks,
Miguel
Jan 7 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
5
by: Tony Meyer | last post by:
On Windows, if I do os.rename(old, new) where old is a file that is in-use (e.g. python itself, or a dll that is loaded), I would expect that an error would be raised (e.g. as when os.remove is...
1
by: Jesse Albert | last post by:
I'm having a complete brainfart so I'll just let you all know the issue and listen to any possible solution you can offer without asking for a specific way to do this ;) I have a Solution ( VB...
1
by: Gene | last post by:
I would like to know if the following is even possible with the visual studio.net Setup and Deployment project. 1. During the deployment after creation of application directory the setup needs...
3
by: gsoguerrilla | last post by:
Hi, I have limited knowledge in php and I am having trouble with uploading an image to a remote directory and resizing it if it's larger and renaming it to a unique id, while at the same time I...
3
by: rn5a | last post by:
An inquisitive question...... A ListBox lists all the directories & files residing in a directory on the server. Assume that the ListBox lists 2 directories & 4 files. Also assume that one of...
1
by: codemaster | last post by:
Hi, I am a total novice to perl. I am moving files from one directory to another and trying to rename a file appending the timestamp. But for some reason, my code is not able to rename. ...
5
by: tshad | last post by:
I have a Windows Service that I am deploying by setting a Deployment project in my solution. The problem I am having is with the app.config file. This where we store our connection string and...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.