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
When building System.Private.CoreLib as a dependency of i.e. System.Threading.csproj, the Platform global property is always set to AnyCPU even though dotnet/runtime sets it to TargetArchitecture:
Looking at a full fidelity binlog created by the project system tools, I can see that this is related to our custom Microsoft.DotNet.Build.Tasks.TargetFramework component:
Probably most relevant is that our custom target doesn't support the EnableDynamicPlatformResolution setting which might be the reason why SetPlatform is passed in with a value of "AnyCPU".
This causes builds to fail, i.e. .\build.cmd -os browser -subset mono+libs && .\build.cmd -vs src\libraries\System.Runtime.InteropServices.JavaScript\System.Runtime.InteropServices.JavaScript.sln -rf Mono -os browser: