473,395 Members | 1,869 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

TargetDir in AfterBuild Action of a Web Deployment Project

Hi,

The TargetDir alias is empty when using it in the AfterBuild section of a
Web Deployment Project.

As per the MSDN article Using Web Deployment Projects with Visual Studio
2005, I have the following code. The Upload directory is created in the root
of my C: drive instead of the release directory of the build.

<Target Name="AfterBuild">
<MakeDir Directories="$(TargetDir)\Upload" />
</Targer>

Any ideas would be greatly appreciated.

Regards,
Grant Holdom
Sep 7 '06 #1
0 1248

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

Similar topics

0
by: Greg Shaw | last post by:
I have a Deployment project with a version number (It's a project property the same as DetectNewerInstalledVersion). I also have a Custom Action. I want to save the Version number of the project...
4
by: Jéjé | last post by:
Hi, I want to create a deployment project of my web application. But I want to force the target physical folder instead of the "c:\inetpub\wwwroot" (or the root folder used by IIS) how to do...
1
by: nicksop | last post by:
How can i change of a setup project in vb .net For example how can i change the path of C:\program files\myprogram\program.exe and make it D:\program files\myprogram\program.exe
0
by: Soren S. Jorgensen | last post by:
Hi, I've created a custom installer for my setup project and is passing the parameter to installer like /TargetDir= in CustomActionData - but when contains spaces my installer fails! I've...
10
by: =?Utf-8?B?Q2h1Y2sgUA==?= | last post by:
In a web deployment project I want to encrypt the connection strings. I use to do this with a batch file with something like this. aspnet_regiis.exe -pef "connectionStrings" ..\ -prov...
13
by: Matt F | last post by:
I have a deployment project that I'm setting up. I need to perform a different custom action based on whether this is a first time install or an update. Does anyone have any idea if it's possible...
0
by: kaza | last post by:
Hi, I am trying to execute some commands in afterbuild event but they simply wont fire. tried it on two different machines but I could not get it to work thanks hier is my xml code :...
0
by: David Jackson | last post by:
Hello, I'm not sure if this is precisely the correct newsgroup for this, so I apologize if it isn't.. Scenario: a WinForms app written in VS.NET 2005 (C#) and installed via a Setup and...
0
by: vfees | last post by:
I'm trying to construct a deployment project using Visual Studio 2005. I have done this more than once, but today, it began throwing a very lengthy error that begins: The setup has encountered...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.