Skip to content

build: fix .net8 target while publishing artifacts #638

build: fix .net8 target while publishing artifacts

build: fix .net8 target while publishing artifacts #638

Re-run triggered January 4, 2024 15:44
Status Success
Total duration 9m 23s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

pr.yml

on: pull_request
windows-latest
9m 8s
windows-latest
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(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(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(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]