none
FxCop setup on Dot net Core RRS feed

  • Question

  • Can anyone help me setting up FxCop for Dotnet core project using Visual studio 2015 (Enterprise) ?
    Tuesday, November 29, 2016 9:11 AM

All replies

  • Hi PrashantJain,

    This forum is discussing and asking questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Registry, Globalization, Reflection. Based on your description, your case more related to .Net Core. You should post in https://forums.asp.net/1255.aspx/1?ASP+NET+Core for more efficient response.

    Here I also try my best to  help you. After some research, here is a reply form mavasani , for Fxcop, you could download it from Nuget.     

    Rest of the FxCop analyzer packages, such as Microsoft.ApiDesignGuidelines.Analyzers should work, however they are not working with the latest released bits of Microsoft.CodeAnalysis. The issue seems to specific to .NET core for analyzer assemblies which have dependencies. StyleCop analyzer assemblies are self contained and work fine, so do System.Runtime.Analyzers 1.0.0 that @agocke pointed out. All of the FxCop analyzer assemblies in 1.2.0-beta2 depend on AnalyzerUtilities.dll, and don't seem to be working.

    But recently, mavasani said, Analyzers should work with .NetCore projects in VS2017 RC.

    For more information, please refer to https://github.com/dotnet/roslyn-analyzers/issues/1028

    Please also post this issue in GitHub.

    Best regards,

    Kristin


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, November 30, 2016 2:17 AM