码迷,mamicode.com
首页 > Web开发 > 详细

Publish .net standard library with all it's dependencies?

时间:2020-04-03 18:05:51      阅读:78      评论:0      收藏:0      [点我收藏+]

标签:pac   sed   HERE   hub   out   ons   hyper   time   --   

Publish .net standard library with all it‘s dependencies?

回答1

At the time of writing, it looks like it‘s by design and there‘s quite some fuss and confusion about it, see logged issue on GitHub.

Moreover, when publishing a NuGet package for project A referencing project B,
B becomes a NuGet dependency in A; B‘s assemby is not included in A‘s NuGet package.

I deal with it by publishing my own NuGet packages.

I only don‘t like it to have a NuGet package for project B if that one is only relevant to be used with/by project A, as it will appear seperately in my NuGet feed.

 

回答2

测试发现,这个是靠谱的

Try:

dotnet publish

All the dependent libraries should be copied to the publish output folder.

 

 

 

Publish .net standard library with all it's dependencies?

标签:pac   sed   HERE   hub   out   ons   hyper   time   --   

原文地址:https://www.cnblogs.com/chucklu/p/12627798.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!