问题
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