-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make browser peer for windows_nt and unix #37944
Conversation
Tagging subscribers to this area: @ViktorHofer |
@ericstj @marek-safar can you review this one ? |
src/libraries/Microsoft.Win32.Registry/src/Microsoft.Win32.Registry.csproj
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some of these cases we should see if we can represent netcoreapp-Browser;netcoreapp-Unix;netcoreapp-Windows_NT as netcoreapp;netcoreapp-Windows_NT instead (especially in the cases where there is no DLLImport).
There seem to be a few cases where cross-compilation is resulting because of our config system, and not due to any real ifdefs/conditional compilation (EG: anything project referencing System.Private.Uri/System.Runtime, System.Private.Xml). This is similar to the case we relaxed for System.Private.CoreLib. I wonder if we should relax it in these cases, use the vertical-defined configuration of the project reference, and remove the cross-compilation.
src/libraries/System.DirectoryServices.Protocols/src/System.DirectoryServices.Protocols.csproj
Outdated
Show resolved
Hide resolved
src/libraries/System.Linq.Expressions/src/System.Linq.Expressions.csproj
Outdated
Show resolved
Hide resolved
src/libraries/System.Private.Xml.Linq/src/System.Private.Xml.Linq.csproj
Outdated
Show resolved
Hide resolved
src/libraries/System.Runtime.InteropServices/src/System.Runtime.InteropServices.csproj
Outdated
Show resolved
Hide resolved
...braries/System.Security.Cryptography.OpenSsl/src/System.Security.Cryptography.OpenSsl.csproj
Show resolved
Hide resolved
src/libraries/System.Security.Principal.Windows/src/System.Security.Principal.Windows.csproj
Outdated
Show resolved
Hide resolved
src/libraries/System.Xml.ReaderWriter/src/System.Xml.ReaderWriter.csproj
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Win32.Primitives/src/Microsoft.Win32.Primitives.csproj
Outdated
Show resolved
Hide resolved
src/libraries/System.Diagnostics.FileVersionInfo/src/System.Diagnostics.FileVersionInfo.csproj
Outdated
Show resolved
Hide resolved
src/libraries/System.Diagnostics.Process/src/System.Diagnostics.Process.csproj
Outdated
Show resolved
Hide resolved
src/libraries/System.Diagnostics.StackTrace/src/System.Diagnostics.StackTrace.csproj
Outdated
Show resolved
Hide resolved
src/libraries/System.IO.Compression.Brotli/src/System.IO.Compression.Brotli.csproj
Outdated
Show resolved
Hide resolved
src/libraries/System.IO.FileSystem.Watcher/src/System.IO.FileSystem.Watcher.csproj
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Win32.Registry/src/Microsoft.Win32.Registry.csproj
Outdated
Show resolved
Hide resolved
src/libraries/Microsoft.Win32.Registry/src/Microsoft.Win32.Registry.csproj
Show resolved
Hide resolved
src/libraries/System.Diagnostics.FileVersionInfo/src/System.Diagnostics.FileVersionInfo.csproj
Show resolved
Hide resolved
src/libraries/Microsoft.Win32.Primitives/tests/Microsoft.Win32.Primitives.Tests.csproj
Show resolved
Hide resolved
I'm not sure if all the test --> src configurations are right but we can otherwise fix them in a follow-up PR. Spot checked. Thanks |
@akoeplinger can you review this one ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thank you!
The pending |
Saw these missing while reviewing dotnet#37944. As far as I can see this is only used when building inside VS but still good to add for consistency.
Saw these missing while reviewing #37944. As far as I can see this is only used when building inside VS but still good to add for consistency.
src/libraries/Microsoft.Win32.Primitives/src/Microsoft.Win32.Primitives.csproj
Show resolved
Hide resolved
src/libraries/Microsoft.Win32.Primitives/src/Microsoft.Win32.Primitives.csproj
Show resolved
Hide resolved
public static class ODBC32 | ||
{ | ||
[System.Runtime.CompilerServices.TypeForwardedFrom("System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")] | ||
public enum RETCODE : int |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this about? This needs a better comment at least.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added the comment in #38968. there is some more info on decision here #37944 (comment)
There are going to be follow up prs for this work, i will address the feedback in the next one |
Fixes #38559
Contributes to #37439