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

potential fix for #4383 #4478

Closed
wants to merge 2 commits into from
Closed

potential fix for #4383 #4478

wants to merge 2 commits into from

Conversation

jamesmanning
Copy link

@jamesmanning jamesmanning commented Jul 6, 2023

@jamesmanning
Copy link
Author

jamesmanning commented Jul 7, 2023

AFAICT the failing check is an issue with the test setup - there are no actual test failures, but it's trying to use Microsoft.AspNetCore.App 3.1 but that version isn't installed/available at the time it's running the test?

https://github.com/RicoSuter/NSwag/actions/runs/5481024075/jobs/9989079126?pr=4478#step:7:2871

  Error output:
     Testhost process for source(s) 'D:\a\NSwag\NSwag\src\NSwag.Generation.AspNetCore.Tests\bin\Release\netcoreapp3.1\NSwag.Generation.AspNetCore.Tests.dll' exited with error: You must install or update .NET to run this application.
     App: D:\a\NSwag\NSwag\src\NSwag.Generation.AspNetCore.Tests\bin\Release\netcoreapp3.1\testhost.exe
     Architecture: x64
     Framework: 'Microsoft.AspNetCore.App', version '3.1.0' (x64)
     .NET location: C:\Program Files\dotnet
     The following frameworks were found:
       2.1.30 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
       5.0.17 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
       6.0.5 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
       6.0.18 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
       6.0.19 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
       7.0.7 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
     Learn about framework resolution:
     https://aka.ms/dotnet/app-launch-failed
     To install missing framework, download:
     https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=3.1.0&arch=x64&rid=win10-x64
     . Please check the diagnostic logs for more information.
     Test Run Aborted.

@jamesmanning jamesmanning closed this by deleting the head repository Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants