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
{{ message }}
Repository navigation
Browser configuration for libraries is inconsistent with RID graph #37439
#34940 added Browser RID and made it derive from any
#35323 made Browser configuration in libraries derive from Linux
This inconsistency will cause the build of dotnet/runtime to use linux and unix configurations of libraries for Browser during build and test, but those assets will not be used in a customer project that consumes a Nuget package that happens to use linux or unix RIDs. In other words, our test results will be wrong and not actually represent the shipping product. Anything in the runtime pack will work (since it's built with the inconistency, but packaged as browser) but we shouldn't rely on this.
We need to make these consistent. If the runtime graph is the correct thing to use (deriving from any), then we need to update OSGroups.json to remove any imports from Browser. We also need to go and add $(NetCoreAppCurrent)-Browser to projects that that were defining some behavior for Unix or Linux that is desirable for Browser configuration.
This is what I was calling out here but it looks like that wasn't clear enough.
Activity
ericstj commentedon Jun 4, 2020
/cc @marek-safar @lewing @vargaz
ericstj commentedon Jun 4, 2020
The following are the libs that use these configurations today.
Unix (81 libraries)
Linux (8 libraries)
marek-safar commentedon Jun 5, 2020
@akoeplinger could you please clean this up. I think the RID graph is correct and we need to update
OSGroups.jsonconfig. It's already causing pain in files like https://github.com/dotnet/runtime/blob/master/src/libraries/System.Net.Http/src/System.Net.Http.csproj#L354, https://github.com/dotnet/runtime/blob/master/src/libraries/System.Console/src/System.Console.csproj#L154 and others. It should also help us with pinvoke(s) cleanup.Anipik commentedon Jul 8, 2020
Fixed by #37944 browser no longer derives from unix or linux