将依赖添加到 .net core csproj 文件 [英] Add dependency to .net core csproj file

查看:44
本文介绍了将依赖添加到 .net core csproj 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 .net 核心的预发布版本(构建 1.0.0-preview3-004031).没有 project.json 文件,它们替换为 csproj.

I am using prerelase version of .net core (build 1.0.0-preview3-004031). There is no project.json files and they replaced with csproj.

我找不到任何描述如何为 .net core 向 csproj 添加依赖项的示例.

I can't find any sample describing how to add dependency to csproj for .net core.

推荐答案

你可以在 .NET 博客.

您会在那里找到 csproj 示例以及如何从 project.json 迁移到 csproj.还有一个链接,指向project.json 到 csproj 按场景映射.

There you'll find a csproj sample and also how to migrate from project.json to csproj. There's also a link to project.json to csproj mapping by scenario.

这篇关于将依赖添加到 .net core csproj 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆