I am confused about the role of nuget.exe in the world where its functionality is integrated into msbuild

夙愿已清 提交于 2019-12-24 18:46:00

问题


Given:

  1. To consume NuGet packages we use PackageReference in msbuild.
  2. To produce NuGet packages we use the pack msbuild target.
  3. To push NuGet packages we can use the dotnet nuget push command.

Plus nuget.exe does not seem to be installed by any of the standard build tooling.

So, what is its role?

Now, I suspect there are still simple chores we cannot do without it. For example, I noticed dotnet nuget push pushes nupkg into a flat file structure, so, if I want a hierarchical one I probably need to use nuget add. But I am not sure.

So, actually two questions:

  1. What is the role of nuget.exe in the new world?
  2. Is nuget.exe add the only way to publish a nuget package to a hierarchical source?

来源:https://stackoverflow.com/questions/53854425/i-am-confused-about-the-role-of-nuget-exe-in-the-world-where-its-functionality-i

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!