I was built my project(Class Library) in .Net core and trying to analyze my code using FxCop in VS2015.
But i am getting following error: "could not identify platform for project"
Also i tried to set platform for my project. But i can't able to set it.
Any thing i missed here?
thanks, Suresh
By referring this link Use code analysis with Visual Studio DNX project (.xproj) I have added following lines in project.Json file now its working.
Note: After added the code in project.json file, close all visual studio application and start it. Then it will work.