create directories

i know how to create file folders I've done it in the TFSBuild.proj, but now I'm working with the .wdproj and for some reason it doesn't do it

<import ....
<PropertyGroup>

<!-- Set the output folder as a property -->
<Property builtdir = "BuiltApp"/>
</PropertyGroup>
<Target Name="AfterBuild">

<MakeDir Directories= "$(builtdir)" Condition = "!Exists('$(builtdir)')"/>
</Target>

any suggestions

thank you,


cdoloriert


Answer this question

create directories

  • JimmyT7360

    <Property builtdir = "BuiltApp"/>

    Shouldn't that be:


    <builddir>BuiltApp</buildDir>


  • Mart Tapp

    Hi,

    Can you run msbuild /v:d > log.txt and attach the log.txt to the post. This will help give us more inforamtion on what error you are getting or if the AfterBuild target is being skipped or not executed.

    Thanks,

    Jay Shrestha

    (jaysh@microsoft.com)


  • create directories