Creación automática de la ruta de salida cuando no existe.

git-svn-id: https://192.168.0.254/svn/Proyectos.Tecsitel_FactuGES2/trunk@87 0c75b7a4-871f-7646-8a2f-f78d34cc349f
This commit is contained in:
David Arranz 2007-11-12 20:27:44 +00:00
parent a674a44449
commit c6379db01b
3 changed files with 13 additions and 5 deletions

View File

@ -1,4 +1,4 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Build" InitialTargets="CreateOutputPath" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- ASCII Constants -->
<PropertyGroup>
@ -28,6 +28,10 @@
<SqlOutput Include="$(OutputPath)\factuges.fdb" />
</ItemGroup>
<Target Name="CreateOutputPath">
<MakeDir Directories="$(OutputPath)" Condition="!Exists('$(OutputPath)')"/>
</Target>
<Target Name="Build"
Inputs="@(Sql)"
Outputs="@(SqlOutput)">

View File

@ -86,6 +86,10 @@
</Target>
<Target Name="CreateOutputPath">
<MakeDir Directories="$(OutputPath)" Condition="!Exists('$(OutputPath)')"/>
</Target>
<Target Name="SvnVerify">
<Error Text="No UserName or Password for accessing the repository has been specified" Condition=" '$(SvnUsername)' == '' Or '$(SvnPassword)' == '' " />
<Error Text="No SvnTrunkFolder has been specified" Condition=" '$(SvnTrunkFolder)' == '' "/>

View File

@ -1,4 +1,4 @@
<Project DefaultTargets="Ayuda" InitialTargets="GetPaths;GetProjects" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Ayuda" InitialTargets="GetPaths;GetProjects;CreateOutputPath" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- ASCII Constants -->
<PropertyGroup>
<NEW_LINE>%0D%0A</NEW_LINE>