How to manually import the portable profile “portable-net45+win8”?

[亡魂溺海] 提交于 2019-12-12 02:34:45

问题


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

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?


回答1:


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

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


来源:https://stackoverflow.com/questions/37641240/how-to-manually-import-the-portable-profile-portable-net45win8

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