Disable resharper warnings using comments is not working when using Inspections.NET in Team City 8.0.6

When we use Resharper (7.1)  in Visual studio 2012, we make use of the "Suppress Inspection ****** with Comment" to suppress some of the warnings. This woulr result in something like :-

//ReSharper disable UnusedMember.Global
public String MyProperty{ get; set; }
//ReSharper restore UnusedMember.Global

This works fine in Visual Studio 2012 IDE. But when the code gets compiled in Continuos Integration Server - Team City Server (v 8.0.6) [using Inspections.NET plugin] , team city does not seem to suppress these warnings. Rather,  these warnings are replaced  with warnings

"Potential Code quality issues : Use ////-comment"

at the lines //ReSharper disable UnusedMember.Global and //ReSharper restore UnusedMember.Global respectively.

Please refer the attached schreen shot.

Is there any solution available to address this issue?

Our environment :-
Visual Studio 2012
Resharper 7.1
Team City 8.0.6


Please sign in to leave a comment.