2017-10-10 160 views
0

我正在使用Microsoft Visual Studio社區版V15.2(.net 4.6)。 我有一個.Net框架類庫,它參考Akka.net nuget包。 我想將我的程序集作爲nuget包發佈。但在Visual Studio中缺少包選項爲.net框架庫創建nuget包

注意:我試圖將它轉換爲.NET標準庫,如以下鏈接中所指定(Nuget project class library) 但它不適用於我。 如何發佈使用的NuGet

我的.net庫中
+0

您是否閱讀過[https://docs.microsoft.com/zh-cn/nuget/guides/create-net-standard-packages-vs2015](https://docs.microsoft.com/zh-cn/nuget /指南/創建淨標準封裝-vs2015)? – Hintham

回答

0

實例:

的NuGet包

的NuGet包foo.nuspec

的NuGet包foo.csproj

的NuGet包foo.csproj -build -symbols -Properties配置=鬆開

的NuGet包foo.nuspec -Version 2.1.0

+0

尼古拉斯,你的回答觸發了系統中低質量的標誌 – JasonB