Project targets unsupported platform

喜你入骨 提交于 2021-01-29 07:27:36

问题


I have a Visual Studio solution with several projects in it. I am trying to get the core project to build and I am getting the following error:

"The project targets or references an unsupported platform: .NETPlatform,Version=v5.0. Applied.Hosted.Core"

I did some googling and found a result that made me believe that I need to add the following to the project.json file.

"frameworks": {
    "dnxcore50": { }
 }      

My project does not have a project.json file. This is some work that I have taken over from a former employee. Can someone lead me in the right direction? There is a packages.config file. Do I need to reference dnxcore50 in packages.config?

来源:https://stackoverflow.com/questions/52522720/project-targets-unsupported-platform

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