-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Don't reference the netstandard shim inside the shared framework #53023
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
84a7872
Don't reference ns.dll inside shared framework
ViktorHofer 0d414d3
Add netcoreapp2.0 config to SystemEvents
ViktorHofer 35497b1
Reference netstandard shim in OOBs that require it
ViktorHofer 15f7a63
Add fallback folder for NetCoreAppCurrent for ApiCompat
ViktorHofer a245863
Fix unix configurations
ViktorHofer 494691d
Fix NullableAttribute ifdefs and trim using
ViktorHofer 7559971
More fixes
ViktorHofer 86f2e60
Add additional .NETCoreApp configurations to avoid NS shim
ViktorHofer b1b8c5e
Rebase errors fixed
ViktorHofer 7526e04
Remove unnecessary netcoreapp3.1 configs
ViktorHofer 5e963d9
Add one more config
ViktorHofer 774f5ae
Undo ExcludeNetCoreAppCurrent changes
ViktorHofer 2c3d9f0
Update Microsoft.NETCore.Platforms.csproj
ViktorHofer f8fa9c7
Disable failing CodeDom tests
ViktorHofer fa2d97d
Merge branch 'main' into DefineNetStandardRef
ViktorHofer 577c0f7
Update RequiresUnreferencedCodeAttribute.cs
ViktorHofer 4db5ecd
Update Microsoft.Extensions.Primitives.csproj
ViktorHofer f5123ff
Update System.Diagnostics.DiagnosticSource.csproj
ViktorHofer 19dd369
Merge remote-tracking branch 'upstream/main' into DefineNetStandardRef
ViktorHofer 1b9c2db
Disable failing tests
ViktorHofer f6175b8
Apply suggestions from code review
ViktorHofer a65671c
Update VBCodeGenerationTests.cs
ViktorHofer 459305d
Update ConfigurationSectionTest.cs
ViktorHofer 01a9ab2
Update CodeTypeReference.cs
ViktorHofer 2da8671
Update Microsoft.Extensions.Logging.Console.csproj
ViktorHofer f461ee8
Update disableVerifyClosure.targets
ViktorHofer 3855df9
Update disableVerifyClosure.targets
ViktorHofer 120d839
PR feedback
ViktorHofer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Merge branch 'main' into DefineNetStandardRef
- Loading branch information
commit fa2d97dce1e7e8971d6027811a6a275dd1a513f9
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...ibraries/System.IO.FileSystem.AccessControl/src/System.IO.FileSystem.AccessControl.csproj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You are viewing a condensed version of this merge commit. You can view the full changes here.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
why doesn't this have
$(NetCoreAppCurrent)? We seem to do that elsewhereUh oh!
There was an error while loading. Please reload this page.
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.
To avoid the netstandard.dll shim when P2Pin the library, a .NETCoreApp configuration must be present. As this is just a PNSE, it doesn't matter if it's netcorepap3.1 or
$(NetCoreAppCurrent).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.
You don't follow that same policy on
src/libraries/System.Security.Principal.Windows/src/System.Security.Principal.Windows.csproj
There you added both
$(NetCoreAppCurrent)andnetcoreapp3.1.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.
True. I think for Principal.Windows I chose to add
$(NetCoreAppCurrent)configuration to the source so that in case another rid-less$(NetCoreAppCurrent)project references Principal.Windows, it will get the$(NetCoreAppCurrent)reference assembly. Without adding the configuration, thenetcoreapp3.1asset would be chosen.It shouldn't really matter though as the API set is identical but I felt like it's better to guarantee that
$(NetCoreAppCurrent)reference assemblies are always chosen if possible over others.