Skip to content

Change test projects to target NET 8.0 (#4636) #325

Change test projects to target NET 8.0 (#4636)

Change test projects to target NET 8.0 (#4636) #325

Triggered via push December 12, 2023 08:21
Status Success
Total duration 16m 52s
Artifacts 1

build.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
windows-latest
D:\a\NSwag\NSwag\src\NSwagStudio.Installer\NSwagStudio.Installer.wixproj : warning NU1503: Skipping restore for project 'D:\a\NSwag\NSwag\src\NSwagStudio.Installer\NSwagStudio.Installer.wixproj'. The project file may be invalid or missing targets required for restore. [D:\a\NSwag\NSwag\src\NSwag.sln]
windows-latest
C:\Program Files\dotnet\sdk\8.0.100\Microsoft.Common.CurrentVersion.targets(2382,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "x86" and the processor architecture of the reference "D:\a\NSwag\NSwag\artifacts\bin\NSwag.AspNetCore.Launcher\release_net462\NSwag.AspNetCore.Launcher.exe", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [D:\a\NSwag\NSwag\src\NSwag.Console\NSwag.Console.csproj]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\ParameterTests.cs(190,67): 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\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\ParameterTests.cs(108,67): 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\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\ParameterTests.cs(266,92): 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\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\QueryParameterTests.cs(67,64): 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\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\QueryParameterTests.cs(133,64): 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\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\QueryParameterTests.cs(201,64): 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\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\QueryParameterTests.cs(284,64): 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\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\ParameterTests.cs(324,92): 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\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]

Artifacts

Produced during runtime
Name Size
artifacts Expired
443 MB