runtime: Can't build on latest main
Description
Builds broke after pulling latest main. I’ve tried deleting .dotnet, artifacts, etc.
./build.sh --os Browser -c debug --subset mono+libs
/home/kate/.nuget/packages/microsoft.dotnet.sharedframework.sdk/6.0.0-beta.21364.3/targets/sharedfx.targets(467,5): error : Assembly 'System.Private.Xml' is missing dependency 'System.Net.Http' [/home/kate/Projects/dotnet-runtime-wasm/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.sfxproj]
/home/kate/.nuget/packages/microsoft.dotnet.sharedframework.sdk/6.0.0-beta.21364.3/targets/sharedfx.targets(467,5): error : Assembly 'netstandard' is missing dependency 'System.Console' [/home/kate/Projects/dotnet-runtime-wasm/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.sfxproj]
/home/kate/.nuget/packages/microsoft.dotnet.sharedframework.sdk/6.0.0-beta.21364.3/targets/sharedfx.targets(467,5): error : Assembly 'System.Diagnostics.TextWriterTraceListener' is missing dependency 'System.Console' [/home/kate/Projects/dotnet-runtime-wasm/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.sfxproj]
/home/kate/.nuget/packages/microsoft.dotnet.sharedframework.sdk/6.0.0-beta.21364.3/targets/sharedfx.targets(467,5): error : Assembly 'netstandard' is missing dependency 'System.Net.Http' [/home/kate/Projects/dotnet-runtime-wasm/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.sfxproj]
/home/kate/.nuget/packages/microsoft.dotnet.sharedframework.sdk/6.0.0-beta.21364.3/targets/sharedfx.targets(467,5): error : Assembly 'netstandard' is missing dependency 'System.Net.WebSockets.Client' [/home/kate/Projects/dotnet-runtime-wasm/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.sfxproj]
/home/kate/.nuget/packages/microsoft.dotnet.sharedframework.sdk/6.0.0-beta.21364.3/targets/sharedfx.targets(467,5): error : Assembly 'System.Net.Http.Json' is missing dependency 'System.Net.Http' [/home/kate/Projects/dotnet-runtime-wasm/src/installer/pkg/sfx/Microsoft.NETCore.App/Microsoft.NETCore.App.Runtime.sfxproj]
Configuration
Latest main Debian 10 x64
Regression?
Yes
Other information
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 18 (18 by maintainers)
Those errors imply that
System.Console
System.Net.Http
andSystem.Net.WebSockets.Client
were all missing from the shared fx directory being packaged.What doesn’t make sense to me is why the shared framework / installer subset is even being built when the specified subsets are
--subset mono+libs
. Is is possible that https://github.com/dotnet/runtime/commit/d953229d5429d2ffde833740dd481aab864d3e0c somehow caused this?