-
Notifications
You must be signed in to change notification settings - Fork 292
Closed
Labels
DiscussionExternal: OtherThis is caused by external issue, the external issue needs to be solved first.This is caused by external issue, the external issue needs to be solved first.
Description
Is this anything to do with testing platform?
I've just added .NET Standard support to TUnit, and if I do a normal dotnet test it doesn't run unless I pass in a runtime identifier too.
Original issue is here: thomhurst/TUnit#1465
dotnet test:
PS C:\Users\Tom\Downloads\repro1465\repro1465> dotnet test
Restore complete (1.7s)
repro1465 failed with 1 error(s) (0.4s)
C:\Program Files\dotnet\sdk\9.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(266,5): error NETSDK1047: Assets file 'C:\Users\Tom\Downloads\repro1465\repro1465\obj\project.assets.json' doesn't have a target for 'net472/win-x86'. Ensure that restore has run and that you have included 'net472' in the TargetFrameworks for your project. You may also need to include 'win-x86' in your project's RuntimeIdentifiers.
dotnet test -r win-x86:
PS C:\Users\Tom\Downloads\repro1465\repro1465> dotnet test -r win-x86
Restore complete (0.8s)
repro1465 succeeded (7.2s) → bin\Debug\net472\win-x86\repro1465.exe
repro1465 test succeeded (1.4s)
Test summary: total: 1, failed: 0, succeeded: 1, skipped: 0, duration: 1.3s
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DiscussionExternal: OtherThis is caused by external issue, the external issue needs to be solved first.This is caused by external issue, the external issue needs to be solved first.