-
We often run into the problem that In ta recent occurrence of this behavior we ran the following command:
And got the following error message (hand-translated from German):
We had the following global.json file in the solution folder: {
"sdk": {
"version": "6.0.406",
"rollForward": "latestPatch"
}
} The .NET SDK 6.0.406 was installed on the target machine. The questions now are (updated after clarification):
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Did you run that
Use It can be helpful to set some of these in the project file to ensure that this happens. E.g. |
Beta Was this translation helpful? Give feedback.
-
This is because we are allowing cross building for |
Beta Was this translation helpful? Give feedback.
I can't really answer the general question of why it's set up the way it is, but this behavior is expected AFAIK.
I suppose;
Microsoft.NETCore.App.Runtime.win-x64
is no different from any other NuGet package in this regard.