Documentation required for Nuget Client SDK classes

Venkatajalapathy K 0 Reputation points
2023-11-07T10:41:31.36+00:00

Please provide documentation for 'https://github.com/NuGet/NuGet.Client/tree/dev/src' NuGet Client SDK classes.

In MSDN link 'https://learn.microsoft.com/en-us/nuget/what-is-nuget': couldn't find the class (definition, methods and properties) related information.

There are many classes in 'NuGet.Protocol dll' (more repository, providers & resources).

  1. What are the uses of 'Repository, Providers, & Resources'?
  2. How to work with local folder's and gallery's - Nupkg?
  3. How to work with cache?
  4. Some 'providers & resources - classes' have 'V2/V3': why do you have both?

Is there any proper documentation for the Nuget Client library.

FYI:

According to this link 'https://learn.microsoft.com/en-us/nuget/reference/nuget-client-sdk#third-party-documentation' - it covers only the basic information.

Thanks & regards,

Venkat

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,648 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jiale Xue - MSFT 43,046 Reputation points Microsoft Vendor
    2023-11-08T10:30:27.8333333+00:00

    Hi @Venkatajalapathy K , Welcome to Microsoft Q&A,

    Sorry I could not answer all your questions.

    Second question How to work with local folder's and gallery's - Nupkg:

    https://learn.microsoft.com/en-us/nuget/reference/cli-reference/cli-ref-sources

    According to this, the local path can be directly filled in with the path where nupkg is located. How to specify nugetgallery is also written here.

    Fourth question:

    https://learn.microsoft.com/en-us/nuget/api/overview#versioning

    According to this document, the actual use of v2 v3 api is related to the nuget tool. Whether it can be used depends on whether the installed nuget tool supports it. Please see the documentation for details.

    Best Regards,

    Jiale


    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.