Skip to content

Refactor Directory.Packages.props#2791

Merged
eerhardt merged 2 commits intomicrosoft:mainfrom
eerhardt:FixupDependencies
Mar 12, 2024
Merged

Refactor Directory.Packages.props#2791
eerhardt merged 2 commits intomicrosoft:mainfrom
eerhardt:FixupDependencies

Conversation

@eerhardt
Copy link
Copy Markdown
Member

@eerhardt eerhardt commented Mar 11, 2024

Group dependencies (mostly) by the way they are used. For example, if a dependency is only used in tests, or playground apps, move them out of the same group where real product dependencies are listed.

Also remove a couple unneeded PackageVersions.

Microsoft Reviewers: Open in CodeFlow

@eerhardt eerhardt requested review from ReubenBond and joperezr March 11, 2024 23:37
@ghost ghost added the area-integrations Issues pertaining to Aspire Integrations packages label Mar 11, 2024

<ItemGroup>
<TextReplacementValue Include="MicrosoftDotnetSdkInternalPackageVersion" NewValue="$(MicrosoftDotnetSdkInternalPackageVersion)" />
<TextReplacementValue Include="MicrosoftNETCoreAppRefPackageVersion" NewValue="$(MicrosoftNETCoreAppRefPackageVersion)" />
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI @joperezr - I searched the repo for these strings and couldn't find them being used anymore. So I removed them. If you know that they are still used, please let me know.

Copy link
Copy Markdown
Member

@joperezr joperezr Mar 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, they were used by our project that builds the manifest and does the replacements, but we have changed the template manifest and targets, so if it's not used in any of the .in. files here: https://github.com/dotnet/aspire/tree/main/src/Microsoft.NET.Sdk.Aspire it should be fine to remove.

Group dependencies (mostly) by the way they are used. For example, if a dependency is only used in tests, or playground apps, move them out of the same group where real product dependencies are listed.

Also remove a couple unneeded PackageVersions.
@eerhardt eerhardt force-pushed the FixupDependencies branch from 76f0359 to cf4a61e Compare March 12, 2024 17:27
@eerhardt eerhardt merged commit d0b5d28 into microsoft:main Mar 12, 2024
@eerhardt eerhardt deleted the FixupDependencies branch March 12, 2024 19:52
@github-actions github-actions bot locked and limited conversation to collaborators Apr 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-integrations Issues pertaining to Aspire Integrations packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants