Nuget package for a solution with several projects

jacky Perpète 146 Reputation points
2024-10-25T07:48:29.46+00:00

Hello,

I have a custom controls library that contains several controls (A solution with several projects).

I can create a nuget package per project.

so I have as many nuget packages as custom controls.

Is it possible to create a nuget package for all the projects in order to group them in the same package?

Developer technologies | Visual Studio | Other
0 comments No comments
{count} votes

Accepted answer
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2024-10-25T08:23:00.0433333+00:00

    Hi @jacky Perpète, 

    Welcome to Microsoft Q&A! 

    You can try to use NuGet’s Central Package Management (CPM) feature.

    Central Package Management | Microsoft Learn 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".  Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.