Use custom property to select correct Build.Tasks.dll directory.

This commit is contained in:
the_fiddler 2010-10-04 23:02:31 +00:00
parent d560fdcfc5
commit dd14644f6e
2 changed files with 6 additions and 5 deletions

View file

@ -2,8 +2,9 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' != 'Debug' ">Release</Configuration>
<BuildTasksPath Condition="'$(BuildTasksPath)' == ''">..\..\Binaries\OpenTK\$(Configuration)</BuildTasksPath>
<TaskConfig Condition=" '$(Configuration)' != 'Debug' ">Release</TaskConfig>
<TaskConfig Condition=" '$(Configuration)' == 'Debug' ">Debug</TaskConfig>
<BuildTasksPath Condition="'$(BuildTasksPath)' == ''">..\..\Binaries\OpenTK\$(TaskConfig)</BuildTasksPath>
<BuildTasksLib>$(BuildTasksPath)\Build.Tasks.dll</BuildTasksLib>
</PropertyGroup>

View file

@ -14,7 +14,6 @@
</PropertyGroup>
<PropertyGroup>
<ProjectGuid>{75DC22B1-113F-4A66-96B9-2FF8208C10E8}</ProjectGuid>
<Configuration Condition="$(Configuration) == ''">Release</Configuration>
</PropertyGroup>
<Import Project="..\Build.Tasks\Common.xml" />
<Target Name="UpdateVersion">
@ -25,5 +24,6 @@
</Target>
<Target Name="Rebuild">
<CallTarget Targets="UpdateVersion" />
</Target> <Target Name="Clean" />
</Project>
</Target>
<Target Name="Clean" />
</Project>