Sreelekshmi
Sreelekshmi

Reputation: 21

Creating nuget package for .net framework library

I am using Microsoft Visual Studio Community edition V15.2 (.net 4.6). I have a .Net framework class library, which refer Akka.net nuget package. I want to publish my assembly as a nuget package. But the package option is missing in Visual Studio

NB: I tried to convert it to a .NET standard library as specified in following link (Nuget project class library) But it did not worked for me. How can I publish my .net framework library using Nuget

Upvotes: 2

Views: 6029

Answers (1)

Nicholas Bergesen
Nicholas Bergesen

Reputation: 372

Examples of the pack command:

nuget pack

nuget pack foo.nuspec

nuget pack foo.csproj

nuget pack foo.csproj -Build -Symbols -Properties Configuration=Release

nuget pack foo.nuspec -Version 2.1.0

Upvotes: 4

Related Questions