我在dotnet代码项目上使用Visual Studio 2017进行代码分析时收到错误。我不得不说,在其他项目中一切正常。
我进行了搜索,但是没有什么特别的方法可以解决此错误。确切的错误是:
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'.
最佳答案
代码指标尚不适用于dotnet核心项目。错误消息是可怕的。您可以使用以下链接对功能进行投票:
https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/33459643--netcore-code-metrics
https://developercommunity.visualstudio.com/content/idea/351625/netcore-code-metrics.html
关于visual-studio - Visual Studio 2017无法识别使用dotnet核心解决方案计算代码指标的平台,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52948288/