In the build settings, there is something called "Target Operating System" which lists
Android
iOS
Windows
MacOS
TvOS
In the publish settings there is something called "Target runtime" which lists
windows-x86
windows-x64
linux-x86
linux-x64
osx-x64
...
I can specify some inconsistent settings, such as TargetOS: Android
, Target runtime: windows-x64
and still the publish will produce a windows-x64
executable. What is the purpose of TargetOS then?
Furthermore if I specify "Version of the target operating system: Windows 10.xxx
", the publish folder will contain a new .dll
called "Microsoft.Windows.SDK.NET.dll" which is about 20MiB, but which does not exist if I specify Windows 8
, so why does the SDK .dll exists only when targeting Windows 10 or 11?