Skip to content

Commit bafb2a6

Browse files
committed
make test projects build, disable windows tests
1 parent a06b86a commit bafb2a6

File tree

14 files changed

+114
-55
lines changed

14 files changed

+114
-55
lines changed

Intersect (Core)/Intersect.Core.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>
5+
<Configurations>Debug;Release;Testing</Configurations>
6+
<Platforms>AnyCPU</Platforms>
57
</PropertyGroup>
68

79
<PropertyGroup>

Intersect.Client.Framework/Intersect.Client.Framework.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
<PropertyGroup>
44
<TargetFramework>net7.0</TargetFramework>
5+
<Configurations>Debug;Release;Testing</Configurations>
6+
<Platforms>AnyCPU</Platforms>
57
</PropertyGroup>
68

79
<PropertyGroup>

Intersect.Client/Intersect.Client.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<OutputType>WinExe</OutputType>
55
<TargetFramework>net7.0</TargetFramework>
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
7+
<Configurations>Debug;Release;Testing</Configurations>
8+
<Platforms>AnyCPU</Platforms>
79
</PropertyGroup>
810

911
<PropertyGroup>

Intersect.Network/Intersect.Network.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
<PropertyGroup>
44
<TargetFramework>net462</TargetFramework>
5+
<Configurations>Debug;Release;Testing</Configurations>
6+
<Platforms>AnyCPU</Platforms>
57
</PropertyGroup>
68

79
<PropertyGroup>

Intersect.Server.Framework/Intersect.Server.Framework.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
<PropertyGroup>
44
<TargetFramework>net462</TargetFramework>
5+
<Configurations>Debug;Release;Testing</Configurations>
6+
<Platforms>AnyCPU</Platforms>
57
</PropertyGroup>
68

79
<PropertyGroup>

Intersect.Server/Intersect.Server.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<PropertyGroup>
44
<OutputType>Exe</OutputType>
55
<TargetFramework>net462</TargetFramework>
6-
<Configurations>Debug;Release;NoFody</Configurations>
6+
<Configurations>Debug;Release;NoFody;Testing</Configurations>
7+
<Platforms>AnyCPU</Platforms>
78
</PropertyGroup>
89

910
<PropertyGroup>

Intersect.Tests.Client.Framework/Intersect.Tests.Client.Framework.csproj

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net462</TargetFramework>
4+
<TargetFramework>net7.0</TargetFramework>
5+
<Configurations>Debug;Release;Testing</Configurations>
6+
<Platforms>AnyCPU</Platforms>
57
</PropertyGroup>
68

79
<PropertyGroup>
@@ -15,16 +17,19 @@
1517
</ItemGroup>
1618

1719
<ItemGroup>
20+
<PackageReference Include="coverlet.collector" Version="3.1.2"/>
1821
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.0.0" />
1922
<PackageReference Include="Microsoft.CodeAnalysis.VersionCheckAnalyzer" Version="3.0.0" />
2023
<PackageReference Include="Microsoft.CodeQuality.Analyzers" Version="3.0.0" />
24+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2"/>
2125
<PackageReference Include="Microsoft.NetCore.Analyzers" Version="3.0.0" />
2226
<PackageReference Include="Microsoft.NetFramework.Analyzers" Version="3.0.0" />
2327
<PackageReference Include="Microsoft.VisualStudio.Validation" Version="15.5.31" />
2428
<PackageReference Include="MSTest.TestAdapter" Version="1.3.2" />
2529
<PackageReference Include="MSTest.TestFramework" Version="1.3.2" />
26-
<PackageReference Include="NUnit" Version="3.11.0" />
27-
<PackageReference Include="NUnit3TestAdapter" Version="3.13.0" />
30+
<PackageReference Include="NUnit" Version="3.13.3"/>
31+
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1"/>
32+
<PackageReference Include="NUnit.Analyzers" Version="3.3.0"/>
2833
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
2934
</ItemGroup>
3035

Intersect.Tests.Client/Intersect.Tests.Client.csproj

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net462</TargetFramework>
4+
<TargetFramework>net7.0</TargetFramework>
5+
<Configurations>Debug;Release;Testing</Configurations>
6+
<Platforms>AnyCPU</Platforms>
57
</PropertyGroup>
68

79
<PropertyGroup>
@@ -15,16 +17,19 @@
1517
</ItemGroup>
1618

1719
<ItemGroup>
20+
<PackageReference Include="coverlet.collector" Version="3.1.2"/>
1821
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="3.0.0" />
1922
<PackageReference Include="Microsoft.CodeAnalysis.VersionCheckAnalyzer" Version="3.0.0" />
2023
<PackageReference Include="Microsoft.CodeQuality.Analyzers" Version="3.0.0" />
24+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.2"/>
2125
<PackageReference Include="Microsoft.NetCore.Analyzers" Version="3.0.0" />
2226
<PackageReference Include="Microsoft.NetFramework.Analyzers" Version="3.0.0" />
2327
<PackageReference Include="Microsoft.VisualStudio.Validation" Version="15.5.31" />
2428
<PackageReference Include="MSTest.TestAdapter" Version="1.3.2" />
2529
<PackageReference Include="MSTest.TestFramework" Version="1.3.2" />
26-
<PackageReference Include="NUnit" Version="3.11.0" />
27-
<PackageReference Include="NUnit3TestAdapter" Version="3.13.0" />
30+
<PackageReference Include="NUnit" Version="3.13.3"/>
31+
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1"/>
32+
<PackageReference Include="NUnit.Analyzers" Version="3.3.0"/>
2833
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
2934
</ItemGroup>
3035

Intersect.Tests.Editor/Intersect.Tests.Editor.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
<PropertyGroup>
44
<TargetFramework>net462</TargetFramework>
5+
<Configurations>Debug;Release;Testing</Configurations>
6+
<Platforms>AnyCPU</Platforms>
57
</PropertyGroup>
68

79
<PropertyGroup>

Intersect.Tests.Network/Intersect.Tests.Network.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
<PropertyGroup>
44
<TargetFramework>net462</TargetFramework>
5+
<Configurations>Debug;Release;Testing</Configurations>
6+
<Platforms>AnyCPU</Platforms>
57
</PropertyGroup>
68

79
<PropertyGroup>

0 commit comments

Comments
 (0)