Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono-addins.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/Test
diff options
context:
space:
mode:
authorLluis Sanchez <lluis@xamarin.com>2017-07-13 17:45:34 +0300
committerLluis Sanchez <lluis@xamarin.com>2017-08-11 13:16:57 +0300
commit4d0c66f665b227a6fe97de0f69fe78f09855069c (patch)
tree9fe4a81c8e32d90df977778fe8fb7c108117bbbc /Test
parent63b2662be1704c4af9edb13f6afbbf641786efd7 (diff)
Revert to old style package references
The XS nunit add-in doesn't detect that UnitTests is a test project when using new style package references. I'll revert when this is fixed in XS.
Diffstat (limited to 'Test')
-rw-r--r--Test/UnitTests/UnitTests.csproj6
-rw-r--r--Test/UnitTests/packages.config5
2 files changed, 9 insertions, 2 deletions
diff --git a/Test/UnitTests/UnitTests.csproj b/Test/UnitTests/UnitTests.csproj
index 4802e37..a1fa6f2 100644
--- a/Test/UnitTests/UnitTests.csproj
+++ b/Test/UnitTests/UnitTests.csproj
@@ -24,6 +24,9 @@
<Reference Include="System" />
<Reference Include="System.Xml" />
<Reference Include="System.Core" />
+ <Reference Include="nunit.framework">
+ <HintPath>..\..\packages\NUnit.3.7.1\lib\net45\nunit.framework.dll</HintPath>
+ </Reference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Mono.Addins\Mono.Addins.csproj">
@@ -38,8 +41,6 @@
<Project>{A85C9721-C054-4BD8-A1F3-0227615F0A36}</Project>
<Name>Mono.Addins.Setup</Name>
</ProjectReference>
- <PackageReference Include="NUnit3TestAdapter" Version="3.7.0" />
- <PackageReference Include="NUnit" Version="3.7.0" />
</ItemGroup>
<ItemGroup>
<Compile Include="TestExtensions.cs" />
@@ -89,6 +90,7 @@
<None Include="SampleAddins\AddRemoveTest2.addin.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
+ <None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
diff --git a/Test/UnitTests/packages.config b/Test/UnitTests/packages.config
new file mode 100644
index 0000000..ef83b48
--- /dev/null
+++ b/Test/UnitTests/packages.config
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="NUnit" version="3.7.1" targetFramework="net45" />
+ <package id="NUnit3TestAdapter" version="3.7.0" targetFramework="net45" />
+</packages> \ No newline at end of file