[英]In which file do you set nuget packages for a .NET Core project?
I found something called "MyProjectName.deps.json" in the "bin" directory. 我在“ bin”目录中找到了一个名为“ MyProjectName.deps.json”的东西。 But if i delete the "bin" directory and build my project again it gets created again.
但是,如果我删除“ bin”目录并再次构建我的项目,它将再次创建。 Where does VisualStudio pull this data from (which packages should be included in the project)?
VisualStudio从何处提取此数据(项目中应包含哪些软件包)?
这基于obj\\project.assets.json
文件(由NuGet恢复生成),该文件定义了用于生成.deps.json
文件的生成逻辑的输入以及项目文件中的其他引用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.