Better trimming support + trimming fix#12785
Merged
Merged
Conversation
Member
Author
|
I made some tweaks to this, so I'm retesting locally. |
Member
Author
|
One question I had was why Tools.proj looks like this: https://github.com/dotnet/arcade/blob/main/src/Microsoft.DotNet.Arcade.Sdk/tools/Tools.proj#L6-L13 I didn't disable trimming in this project yet. I think it might mean that the NuGetRepack pack will not get restored. Anyways, my main question is why this project explicitly sets a bunch of TFM properties. |
Member
|
Just curious, where are these properties consumed? |
Member
NikolaMilosavljevic
previously approved these changes
Mar 6, 2023
- Allow for trimming to be set in SourceBuild.props. This enables use in repo SB legs. Includes a default set which is all netcoreapps + netstandards. - Disable trimming for top level projects in Arcade, so that we don't accidentally skip things like publishing.
e5fc7c2 to
3e255bb
Compare
Member
Author
|
@NikolaMilosavljevic Slight tweak here to the default TFM string (need re-approval). This did work in source build with it enabled to sdk +installer. |
NikolaMilosavljevic
approved these changes
Mar 6, 2023
This was referenced Mar 10, 2023
This was referenced Mar 17, 2023
This was referenced Mar 24, 2023
This was referenced Mar 28, 2023
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
To double check: