Create Nuget Package using Visual Studio for Mac

Jassim Al Rahma 1,556 Reputation points
2022-03-18T23:02:56.283+00:00

Hi,

How can I create a Nuget Package using Visual Studio for Mac?

Is it under Web->Web App, Other->.NET->Library, Other->.NET->Nuget Package?

and where can I find a step by step doc for VS for Mac? because I am not able to find it on Microsoft website

Thanks,
Jassim

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,647 questions
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
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,141 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 61,731 Reputation points
    2022-03-21T15:17:27.517+00:00

    I don't believe vs for Mac has a NuGet template. just use the command line:

    https://learn.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package-using-the-dotnet-cli

    also if using GitHub, you can use actions to build and publish

    https://github.com/marketplace/actions/publish-nuget

    0 comments No comments