Skip to content

Switch to CPM #264

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Switch to CPM #264

wants to merge 2 commits into from

Conversation

phil-allen-msft
Copy link
Member

Switch to CPM

Update some packages
Set package sources
Change project order to have the "F5"-able project be the default project

Update some packages
Set package sources
Change project order to have the "F5"-able project be the default project
@phil-allen-msft phil-allen-msft requested a review from tmat July 21, 2025 04:16
@@ -13,4 +13,91 @@
<disabledPackageSources>
<clear />
</disabledPackageSources>
<packageSourceMapping>
Copy link
Member

Choose a reason for hiding this comment

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

Do we need this?

Copy link
Member Author

Choose a reason for hiding this comment

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

If a codebase uses Central Package Management and has a nuget.config, there are errors on restore requiring the use of package source mappings. The good news is that https://devblogs.microsoft.com/dotnet/quickly-map-your-nuget-packages-to-sources/ got me a good head start on creating the mappings.

Copy link
Member

Choose a reason for hiding this comment

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

Roslyn does not have package source mapping.

Copy link
Member Author

Choose a reason for hiding this comment

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

You're right. dotnet/roslyn#71667 tracks either condensing Roslyn to one feed or adding package source mappings. With that tool, implementing the "b" part of that is a lot cheaper than it would be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants