Skip to content

Bump MSTest.TestFramework from 3.11.0 to 4.0.2 #1271

Bump MSTest.TestFramework from 3.11.0 to 4.0.2

Bump MSTest.TestFramework from 3.11.0 to 4.0.2 #1271

Triggered via pull request December 15, 2025 22:50
Status Failure
Total duration 2m 12s
Artifacts

build-and-test.yml

on: pull_request
automerge
7s
automerge
Matrix: build-and-test
Fit to window
Zoom out
Zoom in

Annotations

33 errors and 30 warnings
build-and-test on ubuntu-latest
Process completed with exit code 1.
build-and-test on ubuntu-latest: src/Chapter06.Tests/Listing06.20.ProvidingPropertyValidation.Tests.cs#L52
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on ubuntu-latest: src/Chapter06.Tests/Listing06.20.ProvidingPropertyValidation.Tests.cs#L52
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on ubuntu-latest: src/Chapter06.Tests/Listing06.56.DefiningANestedClass.Tests.cs#L59
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on ubuntu-latest: src/Chapter06.Tests/Listing06.56.DefiningANestedClass.Tests.cs#L59
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on ubuntu-latest: src/Chapter06.Tests/Listing06.20.ProvidingPropertyValidation.Tests.cs#L44
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on ubuntu-latest: src/Chapter06.Tests/Listing06.20.ProvidingPropertyValidation.Tests.cs#L44
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on ubuntu-latest: src/Chapter06.Tests/Listing06.20.ProvidingPropertyValidation.Tests.cs#L17
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on ubuntu-latest: src/Chapter06.Tests/Listing06.20.ProvidingPropertyValidation.Tests.cs#L17
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on ubuntu-latest: src/Chapter06.Tests/Listing06.20.ProvidingPropertyValidation.Tests.cs#L8
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on ubuntu-latest: src/Chapter06.Tests/Listing06.20.ProvidingPropertyValidation.Tests.cs#L8
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on macOS-latest
Process completed with exit code 1.
build-and-test on macOS-latest: src/Chapter06.Tests/Listing06.20.ProvidingPropertyValidation.Tests.cs#L52
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on macOS-latest: src/Chapter06.Tests/Listing06.20.ProvidingPropertyValidation.Tests.cs#L52
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on macOS-latest: src/Chapter06.Tests/Listing06.20.ProvidingPropertyValidation.Tests.cs#L44
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on macOS-latest: src/Chapter06.Tests/Listing06.20.ProvidingPropertyValidation.Tests.cs#L44
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on macOS-latest: src/Chapter06.Tests/Listing06.20.ProvidingPropertyValidation.Tests.cs#L17
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on macOS-latest: src/Chapter06.Tests/Listing06.20.ProvidingPropertyValidation.Tests.cs#L17
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on macOS-latest: src/Chapter06.Tests/Listing06.20.ProvidingPropertyValidation.Tests.cs#L8
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on macOS-latest: src/Chapter06.Tests/Listing06.20.ProvidingPropertyValidation.Tests.cs#L8
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on macOS-latest: src/Chapter02.Tests/Listing02.28.Tests.cs#L8
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on macOS-latest: src/Chapter02.Tests/Listing02.28.Tests.cs#L8
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on windows-latest
Process completed with exit code 1.
build-and-test on windows-latest: src/Chapter07.Tests/Listing07.34.Tests.cs#L16
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on windows-latest: src/Chapter07.Tests/Listing07.34.Tests.cs#L16
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on windows-latest: src/Chapter07.Tests/Listing07.20.TypeCheckingWithIsOperator.Tests.cs#L33
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on windows-latest: src/Chapter07.Tests/Listing07.20.TypeCheckingWithIsOperator.Tests.cs#L33
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on windows-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L38
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on windows-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L38
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on windows-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L30
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on windows-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L30
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on windows-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L22
The type or namespace name 'ExpectedException' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on windows-latest: src/Chapter03.Tests/Table03.03.Tests.cs#L22
The type or namespace name 'ExpectedExceptionAttribute' could not be found (are you missing a using directive or an assembly reference?)
build-and-test on ubuntu-latest: src/Chapter04/Table04.04.CheckForNull.cs#L58
The given expression is always of the provided ('object') type
build-and-test on ubuntu-latest: src/Chapter04/TicTacToe.cs#L113
#warning: '"Same move allowed multiple times."'
build-and-test on ubuntu-latest: src/Chapter04/Listing04.59.WarningDirective.cs#L8
#warning: '"Same move allowed multiple times."'
build-and-test on ubuntu-latest: src/Chapter04/Table04.04.CheckForNull.cs#L58
The given expression is always of the provided ('object') type
build-and-test on ubuntu-latest: src/Chapter04/TicTacToe.cs#L113
#warning: '"Same move allowed multiple times."'
build-and-test on ubuntu-latest: src/Chapter04/Listing04.59.WarningDirective.cs#L8
#warning: '"Same move allowed multiple times."'
build-and-test on macOS-latest: src/Chapter04/Table04.04.CheckForNull.cs#L58
The given expression is always of the provided ('object') type
build-and-test on macOS-latest: src/Chapter04/TicTacToe.cs#L113
#warning: '"Same move allowed multiple times."'
build-and-test on macOS-latest: src/Chapter04/Listing04.59.WarningDirective.cs#L8
#warning: '"Same move allowed multiple times."'
build-and-test on macOS-latest: src/Chapter01.Tests/Listing01.01.Tests.cs#L47
Use 'Assert.Contains' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
build-and-test on macOS-latest: src/Chapter01.Tests/Listing01.01.Tests.cs#L28
Use 'Assert.Contains' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
build-and-test on windows-latest: src/Chapter04/TicTacToe.cs#L113
#warning: '"Same move allowed multiple times."'
build-and-test on windows-latest: src/Chapter04/Listing04.59.WarningDirective.cs#L8
#warning: '"Same move allowed multiple times."'
build-and-test on windows-latest: src/Chapter07/Listing07.12.OverrideVersusNewModifier.cs#L20
'Program.DerivedClass.DisplayName()' hides inherited member 'Program.BaseClass.DisplayName()'. Use the new keyword if hiding was intended.
build-and-test on windows-latest: src/Chapter01.Tests/Listing01.01.Tests.cs#L47
Use 'Assert.Contains' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
build-and-test on windows-latest: src/Chapter01.Tests/Listing01.01.Tests.cs#L28
Use 'Assert.Contains' instead of 'Assert.IsTrue' (https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0037)
build-and-test on windows-latest: src/Chapter04/Table04.04.CheckForNull.cs#L58
The given expression is always of the provided ('object') type
build-and-test on windows-latest: src/Chapter04/TicTacToe.cs#L113
#warning: '"Same move allowed multiple times."'
build-and-test on windows-latest: src/Chapter04/Listing04.59.WarningDirective.cs#L8
#warning: '"Same move allowed multiple times."'