I want add code analysis (FxCop, not StyleCop) for my dotnet core project, it is targeting netcoreapp1.1 framework. I know that FxCop is built in MSBuild, but when I enabled it, I kept getting error:
1>MSBUILD : error : CA0055 : Could not identify platform for 'C:\Dev\easycube\EasyCube.Authentication\bin\Debug\netcoreapp1.1\EasyCube.Authentication.dll'. 1>MSBUILD : error : CA0052 : No targets were selected.
Then I found that there is Nuget package for dotnet core analyzer Microsoft.NetCore.Analyzers, but I do not know how to use it. Anyone know how to set it up on the project?
Thank you.