visual studio 2017 could not identify platform on calculating code metrics with dotnet core solutions

Viewed 4617

I'm receiving error on code analysis with visual studio 2017 on dotnet code projects. I have to say that in other projects everything is ok.

I searched but nothing special to solve this error. the exact error is:

Message: An error occurred while calculating code metrics for target file 'E:\Shokri\Project\Kalgram\Kavenegar\bin\Debug\netcoreapp2.2\Kavenegar.dll' in project Kavenegar. Could not identify platform for 'E:\Shokri\Project\Kalgram\Kavenegar\bin\Debug\netcoreapp2.2\Kavenegar.dll'.

2 Answers

Code Metrics for .NET Core are now available in VS2019. enter image description here

Related