You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm trying to build and test a dotnet 3.1 app with dotnet 6. The build portion completes fine but I get an error with dotnet test:
Testhost process exited with error: It was not possible to find any compatible framework version
--
162 | The framework 'Microsoft.NETCore.App', version '3.1' (x64) was not found.
163 | - The following frameworks were found:
164 | 3.1.31 at [/root/.dotnet/shared/Microsoft.NETCore.App]
165 | 6.0.6 at [/root/.dotnet/shared/Microsoft.NETCore.App]
166 | You can resolve the problem by installing the specified framework and/or SDK.
167 | The specified framework can be found at:
168 | - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=3.1&arch=x64&rid=amzn.2-x64
169 | . Please check the diagnostic logs for more information.
To Reproduce
Create dotnet 3.1 project and unit test project
Run dotnet test in aws/codebuild/amazonlinux2-x86_64-standard:4.0
Expected behavior
I would expect to be able to run dotnet test especially after manually installing 3.1 via the install scripts.
Logs
If applicable, add log output to help explain your problem.
Platform (please complete the following information):
Describe the bug
I'm trying to build and test a dotnet 3.1 app with dotnet 6. The build portion completes fine but I get an error with
dotnet test
:To Reproduce
aws/codebuild/amazonlinux2-x86_64-standard:4.0
Expected behavior
I would expect to be able to run
dotnet test
especially after manually installing 3.1 via the install scripts.Logs
If applicable, add log output to help explain your problem.
Platform (please complete the following information):
Additional context
Here is a detailed diag
The text was updated successfully, but these errors were encountered: