Skip to content

[tests] Cleanup copy/pasted assembly update test projects - #62970

Merged
lambdageek merged 2 commits into
dotnet:mainfrom
lambdageek:refactor-apply-update-tests-csproj
Dec 22, 2021
Merged

[tests] Cleanup copy/pasted assembly update test projects#62970
lambdageek merged 2 commits into
dotnet:mainfrom
lambdageek:refactor-apply-update-tests-csproj

Conversation

@lambdageek

Copy link
Copy Markdown
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
Copy Markdown

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
lambdageekforce-pushed the refactor-apply-update-tests-csproj branch from 065f856 to c148a26CompareDecember 17, 2021 20:25
@lambdageek
lambdageek marked this pull request as draft December 21, 2021 15:48
@lambdageek

Copy link
Copy Markdown
MemberAuthor

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
lambdageekforce-pushed the refactor-apply-update-tests-csproj branch from be15fe2 to 7914855CompareDecember 21, 2021 16:34
@lambdageek
lambdageek marked this pull request as ready for review December 21, 2021 17:01
@lambdageek

Copy link
Copy Markdown
MemberAuthor

/azp run runtime-manual

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@lambdageek
lambdageek merged commit 2a48729 into dotnet:mainDec 22, 2021
@ghostghost locked as resolved and limited conversation to collaborators Jan 21, 2022
Sign up for freeto 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

@lambdageek@imhameed