Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Windows build and update nuget packages #161

Merged
merged 2 commits into from
Apr 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/Chapter01.Tests/Chapter01.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,10 @@
<ItemGroup>
<ProjectReference Include="..\Chapter01\Chapter01.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>

</Project>
5 changes: 5 additions & 0 deletions src/Chapter02.Tests/Chapter02.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@
<ItemGroup>
<ProjectReference Include="..\Chapter02\Chapter02.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
9 changes: 7 additions & 2 deletions src/Chapter03.Tests/Chapter03.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,15 @@
<Compile Include="..\Shared\CompilerAssert.cs" Link="CompilerAssert.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="3.8.0" />
<PackageReference Include="Microsoft.CodeAnalysis.Scripting.Common" Version="3.8.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="3.9.0" />
<PackageReference Include="Microsoft.CodeAnalysis.Scripting.Common" Version="3.9.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Chapter03\Chapter03.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions src/Chapter03.Tests/Listing03.01.Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ public void Main_GivenArgs_NumberDoubles()

IntelliTect.TestTools.Console.ConsoleAssert.Expect(
expected, ()=>Program.Main(args));
}
}

[TestMethod]
public void Main_GivenValidString_MakeUppercase()
{
Expand Down
5 changes: 5 additions & 0 deletions src/Chapter04.Tests/Chapter04.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@
<ItemGroup>
<ProjectReference Include="..\Chapter04\Chapter04.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions src/Chapter05.Tests/Chapter05.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,9 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Compile>
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions src/Chapter06.Tests/Chapter06.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@
<ItemGroup>
<ProjectReference Include="..\Chapter06\Chapter06.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions src/Chapter07.Tests/Chapter07.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@
<ItemGroup>
<ProjectReference Include="..\Chapter07\Chapter07.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions src/Chapter08.Tests/Chapter08.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@
<ItemGroup>
<ProjectReference Include="..\Chapter08\Chapter08.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
7 changes: 6 additions & 1 deletion src/Chapter09.Tests/Chapter09.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@
<Compile Include="..\Shared\CompilerAssert.cs" Link="CompilerAssert.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="3.8.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="3.9.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Chapter09\Chapter09.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions src/Chapter10.Tests/Chapter10.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@
<ItemGroup>
<ProjectReference Include="..\Chapter10\Chapter10.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions src/Chapter11.Tests/Chapter11.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@
<ItemGroup>
<ProjectReference Include="..\Chapter11\Chapter11.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions src/Chapter12.Tests/Chapter12.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@
<ItemGroup>
<ProjectReference Include="..\Chapter12\Chapter12.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions src/Chapter13.Tests/Chapter13.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@
<ItemGroup>
<ProjectReference Include="..\Chapter13\Chapter13.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions src/Chapter14.Tests/Chapter14.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@
<ItemGroup>
<ProjectReference Include="..\Chapter14\Chapter14.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions src/Chapter15.Tests/Chapter15.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@
<ItemGroup>
<ProjectReference Include="..\Chapter15\Chapter15.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions src/Chapter16.Tests/Chapter16.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@
<ItemGroup>
<ProjectReference Include="..\Chapter16\Chapter16.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions src/Chapter17.Tests/Chapter17.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@
<ItemGroup>
<ProjectReference Include="..\Chapter17\Chapter17.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions src/Chapter18.Tests/Chapter18.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@
<ItemGroup>
<ProjectReference Include="..\Chapter18\Chapter18.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions src/Chapter19.Tests/Chapter19.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@
<ItemGroup>
<ProjectReference Include="..\Chapter19\Chapter19.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions src/Chapter20.Tests/Chapter20.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@
<ItemGroup>
<ProjectReference Include="..\Chapter20\Chapter20.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions src/Chapter21.Tests/Chapter21.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,9 @@
<ItemGroup>
<ProjectReference Include="..\Chapter21\Chapter21.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions src/Chapter22.Tests/Chapter22.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@
<ItemGroup>
<ProjectReference Include="..\Chapter22\Chapter22.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions src/Chapter23.Tests/Chapter23.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,9 @@
<ItemGroup>
<ProjectReference Include="..\Chapter23\Chapter23.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.9.1" />
<PackageReference Update="MSTest.TestAdapter" Version="2.2.3" />
<PackageReference Update="MSTest.TestFramework" Version="2.2.3" />
</ItemGroup>
</Project>
4 changes: 4 additions & 0 deletions src/ChapterTests.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" />
<PackageReference Include="MSTest.TestAdapter" Version="2.1.1" />
<PackageReference Include="MSTest.TestFramework" Version="2.1.1" />
<PackageReference Include="coverlet.collector" Version="3.0.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Update="coverlet.msbuild" Version="3.0.0" />
<!--<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.8.3" />-->
<!--<PackageReference Update="MSTest.TestAdapter" Version="2.1.2" />-->
Expand Down