Skip to content

Conversation

@lambdageek
Copy link
Member

Reduce the clutter in the .csproj file

Compute the ProjectReference and TrimmerRootAssembly items from a single <ApplyUpdateTest> item instead of doing a lot of copy-pasting.

Should be no functional change.

@ghost
Copy link

ghost commented Dec 17, 2021

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

Issue Details

Reduce the clutter in the .csproj file

Compute the ProjectReference and TrimmerRootAssembly items from a single <ApplyUpdateTest> item instead of doing a lot of copy-pasting.

Should be no functional change.

Author: lambdageek
Assignees: -
Labels:

area-Infrastructure

Milestone: -

@lambdageek lambdageek force-pushed the refactor-apply-update-tests-csproj branch from 065f856 to c148a26 Compare December 17, 2021 20:25
@lambdageek lambdageek marked this pull request as draft December 21, 2021 15:48
@lambdageek
Copy link
Member Author

Got some feedback offline: I'm going to rewrite this so that the full .csproj names for ProjectReferences are more easily discoverable

It's easier to grep and it's easier for the IDE to display them

Compute the TrimmerRootAssembly items from the project referferences

So to add a new test you just need to add a ProjectReference in one place
@lambdageek lambdageek force-pushed the refactor-apply-update-tests-csproj branch from be15fe2 to 7914855 Compare December 21, 2021 16:34
@lambdageek lambdageek marked this pull request as ready for review December 21, 2021 17:01
@lambdageek
Copy link
Member Author

/azp run runtime-manual

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@lambdageek lambdageek merged commit 2a48729 into dotnet:main Dec 22, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jan 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants