Update to NET 8 SDK #221
Annotations
10 errors and 10 warnings
Run: Compile, Test, Pack
Testhost process for source(s) 'D:\a\NJsonSchema\NJsonSchema\artifacts\bin\NJsonSchema.Tests\release_net7.0\NJsonSchema.Tests.dll' exited with error: You must install or update .NET to run this application.
|
Run: Compile, Test, Pack
App: D:\a\NJsonSchema\NJsonSchema\artifacts\bin\NJsonSchema.Tests\release_net7.0\testhost.exe
|
Run: Compile, Test, Pack
Architecture: x64
|
Run: Compile, Test, Pack
Framework: 'Microsoft.NETCore.App', version '7.0.0' (x64)
|
Run: Compile, Test, Pack
.NET location: D:\a\NJsonSchema\NJsonSchema\.nuke\temp\dotnet-win
|
Run: Compile, Test, Pack
The following frameworks were found:
|
Run: Compile, Test, Pack
8.0.0 at [D:\a\NJsonSchema\NJsonSchema\.nuke\temp\dotnet-win\shared\Microsoft.NETCore.App]
|
Run: Compile, Test, Pack
Learn more:
|
Run: Compile, Test, Pack
https://aka.ms/dotnet/app-launch-failed
|
Run: Compile, Test, Pack
To install missing framework, download:
|
Run: Compile, Test, Pack
Attempting second-chance registration of MSBuild after RegisterDefaults failed
|
Run: Compile, Test, Pack
D:\a\NJsonSchema\NJsonSchema\.nuke\temp\dotnet-win\sdk\8.0.100\Microsoft.Common.CurrentVersion.targets(1860,5): warning NU1702: ProjectReference 'D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\NJsonSchema.Tests.csproj' was resolved using '.NETFramework,Version=v4.6.2' instead of the project target framework '.NETCoreApp,Version=v6.0'. This project may not be fully compatible with your project. [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Demo\NJsonSchema.Demo.csproj]
|
Run: Compile, Test, Pack
D:\a\NJsonSchema\NJsonSchema\.nuke\temp\dotnet-win\sdk\8.0.100\Microsoft.Common.CurrentVersion.targets(1860,5): warning NU1702: ProjectReference 'D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\NJsonSchema.Tests.csproj' was resolved using '.NETFramework,Version=v4.6.2' instead of the project target framework '.NETCoreApp,Version=v6.0'. This project may not be fully compatible with your project. [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Benchmark\NJsonSchema.Benchmark.csproj]
|
Run: Compile, Test, Pack
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.NewtonsoftJson.Tests\Generation\StructTests.cs(34,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.NewtonsoftJson.Tests\NJsonSchema.NewtonsoftJson.Tests.csproj::TargetFramework=net462]
|
Run: Compile, Test, Pack
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.NewtonsoftJson.Tests\Generation\RecordTests.cs(23,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.NewtonsoftJson.Tests\NJsonSchema.NewtonsoftJson.Tests.csproj::TargetFramework=net462]
|
Run: Compile, Test, Pack
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\Converters\JsonExceptionConverterTests.cs(98,18): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\NJsonSchema.Tests.csproj::TargetFramework=net462]
|
Run: Compile, Test, Pack
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\Validation\ValueTypeValidationTests.cs(304,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\NJsonSchema.Tests.csproj::TargetFramework=net462]
|
Run: Compile, Test, Pack
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\Validation\ValueTypeValidationTests.cs(323,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\NJsonSchema.Tests.csproj::TargetFramework=net462]
|
Run: Compile, Test, Pack
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\Conversion\TypeToSchemaTests.cs(190,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\NJsonSchema.Tests.csproj::TargetFramework=net462]
|
Run: Compile, Test, Pack
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\References\LocalReferencesTests.cs(56,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\NJsonSchema.Tests.csproj::TargetFramework=net462]
|
The logs for this run have expired and are no longer available.
Loading