TargetDir in AfterBuild Action of a Web Deployment Project

G

Guest

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
 

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,756
Messages
2,569,533
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top