如何手动导入便携式配置文件“ portable-net45 + win8”? [英] How to manually import the portable profile “portable-net45+win8”?

查看:103
本文介绍了如何手动导入便携式配置文件“ portable-net45 + win8”?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在按照以下说明将.NET解决方案从.NET Core rc1升级到rc2: http://ef.readthedocs.io/en/latest/miscellaneous/rc1-rc2-upgrade.html

I am upgrading a .NET solution from .NET Core rc1 to rc2 following the instructions here: http://ef.readthedocs.io/en/latest/miscellaneous/rc1-rc2-upgrade.html

在文章指出:解决方法是手动导入便携式配置文件 portable-net45 + win8。

In the article it states 'The workaround is to manually import the portable profile "portable-net45+win8".'

有人可以告诉我如何手动导入此配置文件吗?

Can someone tell me how to manually import this profile please?

推荐答案

实际上,下一段包含如何执行此操作。修改project.json文件:

Actually next paragraph contains how to do this. Modify project.json file:

{
  "frameworks": {
    "netcoreapp1.0": {
      "imports": ["dnxcore50", "portable-net45+win8"]
    }
}

这篇关于如何手动导入便携式配置文件“ portable-net45 + win8”?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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