This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
1 Replies Last post: Mar 28, 2014 3:39 AM by Damien Murty  
Priya Rajagopalan Newbie 4 posts since
Feb 21, 2014
Currently Being Moderated

Mar 24, 2014 1:33 PM

Resharper suppress warnings with comments not working with Team City 8.0.6

When we use Resharper (7.1)  in Visual studio 2012, we make use of the  "Suppress Inspection with Comment" option 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.


Can anyone point me what is going wrong and why is such a discrepency reported in Team City?


Our environment :-

Visual Studio 2012

Resharper 7.1

Team City 8.0.6




Damien Murty Newbie 78 posts since
Aug 20, 2010
Currently Being Moderated
Mar 28, 2014 3:39 AM in response to: Priya Rajagopalan
Re: Resharper suppress warnings with comments not working with Team City 8.0.6

We are working with Resharper 8.1 in Visual Studio 2010 and TeamCity Server 8.1.1 build 29939 and are experiencing the same issue.

More Like This

  • Retrieving data ...