TargetDir in AfterBuild Action of a Web Deployment Project

Discussion in 'ASP .Net' started by =?Utf-8?B?R3JhbnRAbmV3c2dyb3Vwcy5ub3NwYW0=?=, Sep 7, 2006.

  1. 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
     
    =?Utf-8?B?R3JhbnRAbmV3c2dyb3Vwcy5ub3NwYW0=?=, Sep 7, 2006
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    405
  2. Robert Barron
    Replies:
    0
    Views:
    435
    Robert Barron
    Apr 20, 2004
  3. Robert Barron
    Replies:
    1
    Views:
    686
    DotNetJunkies User
    Jun 16, 2004
  4. Jéjé
    Replies:
    4
    Views:
    7,225
    Phil Wilson
    Apr 10, 2005
  5. =?Utf-8?B?Q2h1Y2sgUA==?=

    web deployment project AfterBuild

    =?Utf-8?B?Q2h1Y2sgUA==?=, Feb 23, 2007, in forum: ASP .Net
    Replies:
    10
    Views:
    757
    Steven Cheng[MSFT]
    Mar 9, 2007
Loading...

Share This Page