Skip to content

Conversation

@MarvinKlein1508
Copy link
Collaborator

This PR updates the documentation section for setting up the preview feed for dev-v5. In addition it also adds documentation to use preview versions which do not have a signature applied.

Copy link
Collaborator

@dvoituron dvoituron left a comment

Choose a reason for hiding this comment

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

Why do you want to add this "complex" section ? By default NuGet tries to use the feeds in the specified order.

And why to change the NuGet name to nuget.org?

@vnbaaij
Copy link
Collaborator

vnbaaij commented Dec 10, 2025

The name change is indeed not necessary.

There are no preview packages for icons/emoji so they need to come from public NuGet feed. The library needs to come from our preview feed.

@MarvinKlein1508
Copy link
Collaborator Author

I do this because of #4356

Defining the packageSource fixes this issue. I specified Emoji and Icons in nuget because they have the same prefix. Without this my nuget gets confused because it tries to resolve those packages from dotnet9 which do not exist there. The name change to .org was copied from my file over. Can revert this one if necessary.

@dvoituron
Copy link
Collaborator

I do this because of #4356

It has absolutely nothing to do with it: this 4356 change was made because Microsoft's ADO pipeline refuses to have two feeds in a nuget.config

The change you are proposing id the documentation is too complex for users who are just starting out. We cannot list all possible configurations for all use cases.
What problem did you encounter with this configuration alone?
Normally, NuGet uses the first feed, and if the package is not there, it moves on to the next one. Simple and effective :-)

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.

3 participants