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

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

问题描述

我正在使用.net核心的预发布版本(内部版本1.0.0-preview3-004031)。

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核心添加依赖于csproj的示例。

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

推荐答案

您可以在<中找到有关.net核心 csproj 的一些信息。 a href = https://blogs.msdn.microsoft.com/dotnet/2016/10/19/net-core-tooling-in-visual-studio-15/ rel = nofollow noreferrer>。NET博客。

You can find a few information about the .net core csproj in the .NET Blog.

在这里,您会找到一个 csproj 示例,以及如何从<$ c $进行迁移c> 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核心csproj文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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