forked from nunit/nunit
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request nunit#4891 from nunit/Issue4887
Fix for issue nunit#4887
- Loading branch information
Showing
3 changed files
with
58 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,60 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>$(NUnitRuntimeFrameworks)</TargetFrameworks> | ||
<RootNamespace>NUnit.Framework.Tests</RootNamespace> | ||
<PropertyGroup> | ||
<TargetFrameworks>$(NUnitRuntimeFrameworks)</TargetFrameworks> | ||
<RootNamespace>NUnit.Framework.Tests</RootNamespace> | ||
|
||
<!-- Either NUnit or NUnitLite is not loading assemblies in a way that properly respects the | ||
<!-- Either NUnit or NUnitLite is not loading assemblies in a way that properly respects the | ||
nunit.framework.tests.deps.json file. Maybe fixed by https://github.com/nunit/nunit/issues/3353? --> | ||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> | ||
<IsTestProject>true</IsTestProject> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<NoWarn>1591,NU1029</NoWarn> | ||
<Title>NUnit Framework Tests</Title> | ||
</PropertyGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'"> | ||
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" /> | ||
<PackageReference Include="NUnit3TestAdapter" /> | ||
<PackageReference Include="NUnit.Analyzers" /> | ||
<PackageReference Include="System.Collections.Immutable" /> | ||
<PackageReference Include="System.ValueTuple" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\framework\nunit.framework.csproj" /> | ||
<ProjectReference Include="..\slow-tests\slow-nunit-tests.csproj" /> | ||
<ProjectReference Include="..\testdata\nunit.testdata.csproj" /> | ||
<ProjectReference Include="..\mock-assembly\mock-assembly.csproj" /> | ||
<ProjectReference Include="..\testdata.fsharp\nunit.testdata.fsharp.fsproj" /> | ||
<ProjectReference Include="..\nunitlite-runner\nunitlite-runner.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'"> | ||
<Reference Include="System.Web" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Compile Include="..\Fakes.cs" Link="TestUtilities\Fakes.cs" /> | ||
<Compile Include="..\SchemaTestUtils.cs" Link="TestUtilities\SchemaTestUtils.cs" /> | ||
<Compile Include="..\TestBuilder.cs" Link="TestUtilities\TestBuilder.cs" /> | ||
<Compile Include="..\TestFile.cs" Link="TestUtilities\TestFile.cs" /> | ||
<Compile Include="..\TestSuiteExtensions.cs" Link="TestUtilities\TestSuiteExtensions.cs" /> | ||
|
||
<EmbeddedResource Include="TestImage1.jpg" /> | ||
<EmbeddedResource Include="TestImage2.jpg" /> | ||
<EmbeddedResource Include="TestText1.txt" /> | ||
<EmbeddedResource Include="TestText2.txt" /> | ||
<EmbeddedResource Include="TestListFile.txt" /> | ||
<EmbeddedResource Include="TestListFile2.txt" /> | ||
</ItemGroup> | ||
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> | ||
<IsTestProject>true</IsTestProject> | ||
<GenerateDocumentationFile>true</GenerateDocumentationFile> | ||
<NoWarn>1591,NU1029</NoWarn> | ||
<Title>NUnit Framework Tests</Title> | ||
</PropertyGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'"> | ||
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" /> | ||
<PackageReference Include="NUnit3TestAdapter" /> | ||
<PackageReference Include="NUnit.Analyzers" /> | ||
|
||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'"> | ||
<PackageReference Include="System.Collections.Immutable" /> | ||
<PackageReference Include="System.ValueTuple" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\framework\nunit.framework.csproj" /> | ||
<ProjectReference Include="..\slow-tests\slow-nunit-tests.csproj" /> | ||
<ProjectReference Include="..\testdata\nunit.testdata.csproj" /> | ||
<ProjectReference Include="..\mock-assembly\mock-assembly.csproj" /> | ||
<ProjectReference Include="..\testdata.fsharp\nunit.testdata.fsharp.fsproj" /> | ||
<ProjectReference Include="..\nunitlite-runner\nunitlite-runner.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'"> | ||
<Reference Include="System.Web" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Compile Include="..\Fakes.cs" Link="TestUtilities\Fakes.cs" /> | ||
<Compile Include="..\SchemaTestUtils.cs" Link="TestUtilities\SchemaTestUtils.cs" /> | ||
<Compile Include="..\TestBuilder.cs" Link="TestUtilities\TestBuilder.cs" /> | ||
<Compile Include="..\TestFile.cs" Link="TestUtilities\TestFile.cs" /> | ||
<Compile Include="..\TestSuiteExtensions.cs" Link="TestUtilities\TestSuiteExtensions.cs" /> | ||
|
||
<EmbeddedResource Include="TestImage1.jpg" /> | ||
<EmbeddedResource Include="TestImage2.jpg" /> | ||
<EmbeddedResource Include="TestText1.txt" /> | ||
<EmbeddedResource Include="TestText2.txt" /> | ||
<EmbeddedResource Include="TestListFile.txt" /> | ||
<EmbeddedResource Include="TestListFile2.txt" /> | ||
</ItemGroup> | ||
|
||
</Project> |