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 1e73ae0f1d
commit 0bbc524cbe
2 changed files with 6 additions and 5 deletions

View file

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

View file

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