diff options
author | Daniel Grunwald <daniel@danielgrunwald.de> | 2015-06-05 19:11:48 +0300 |
---|---|---|
committer | Daniel Grunwald <daniel@danielgrunwald.de> | 2015-06-05 19:11:48 +0300 |
commit | e5c6ffa095ca3de885700e9ed7b094600f4bf723 (patch) | |
tree | e564b860344ac1dd7b2aca04a31bc501116b2b99 /ICSharpCode.NRefactory.Tests | |
parent | 4d1105c9fe7c82637f66eb7d84c992c9d5ee52d6 (diff) |
NRefactory.Tests: look for nunit-2.6.2 in addition to nunit-2.5.10, for compatibility with modern cecil versions
Diffstat (limited to 'ICSharpCode.NRefactory.Tests')
-rw-r--r-- | ICSharpCode.NRefactory.Tests/ICSharpCode.NRefactory.Tests.csproj | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ICSharpCode.NRefactory.Tests/ICSharpCode.NRefactory.Tests.csproj b/ICSharpCode.NRefactory.Tests/ICSharpCode.NRefactory.Tests.csproj index 4f089f7d..74a1fe69 100644 --- a/ICSharpCode.NRefactory.Tests/ICSharpCode.NRefactory.Tests.csproj +++ b/ICSharpCode.NRefactory.Tests/ICSharpCode.NRefactory.Tests.csproj @@ -17,6 +17,12 @@ <OutputPath>..\bin\$(Configuration)\</OutputPath> <UseMSBuildEngine>False</UseMSBuildEngine> </PropertyGroup> + <PropertyGroup Condition=" Exists('..\..\cecil\Test\libs\nunit-2.5.10\nunit.framework.dll') "> + <CecilHintPath>..\..\cecil\Test\libs\nunit-2.5.10\nunit.framework.dll</CecilHintPath> + </PropertyGroup> + <PropertyGroup Condition=" Exists('..\..\cecil\Test\libs\nunit-2.6.2\nunit.framework.dll') "> + <CecilHintPath>..\..\cecil\Test\libs\nunit-2.6.2\nunit.framework.dll</CecilHintPath> + </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> <DebugType>Full</DebugType> <Optimize>False</Optimize> @@ -87,7 +93,7 @@ <Reference Include="System.Xml" /> <Reference Include="System.Xml.Linq" /> <Reference Include="nunit.framework"> - <HintPath>..\..\cecil\Test\libs\nunit-2.5.10\nunit.framework.dll</HintPath> + <HintPath>$(CecilHintPath)</HintPath> </Reference> </ItemGroup> <ItemGroup> |