We are currently facing an issue when building a project:
NETSDK1056: Project is targeting runtime 'x64' but did not resolve any runtime-specific packages. This runtime may not be supported by the target framework.
There is two projects both are using netstandard2.0 :
- Project-A
- Project-A.Test
The error occurs on the .Test during the dotnet build -r x64
command.
We need to specify x64 or x86 because we are using native library in Project-A.
I can't really find any information regarding "how to resolve runtime-specific" and I will appreciate any help.
Thanks !