Questions tagged [resharper-7.1]

ReSharper is a refactoring and productivity extension by JetBrains that extends native functionality of Microsoft Visual Studio 2003, 2005, 2008, 2010, 2012 and 2013. Use this tag for questions referring specifically to version 7.1 of ReShaper.

ReSharper 7.1 is a free upgrade for everyone who owns a ReSharper 7 license or a ReSharper 6 license purchased since June 1, 2012.

ReSharper 7 officially supports Visual Studio 2012, 2010, 2008 SP1, and 2005 SP1.

ReSharper is available for download as a single package that includes all three editions. Depending on the license key used, the Full, C# or VB.NET Edition will be activated automatically. During evaluation, Full Edition is activated by default but you can switch to another edition in the License Information dialog box (ReSharper | Help | License Information.)

Download page

75 questions
538
votes
42 answers

ReSharper "Cannot resolve symbol" even when project builds

My Tools: Visual Studio 2012 Ultimate + Update 1 ReSharper v7.1.25.234 My Solution Build Status: Build Successfully But when I install ReSharper and ReSharper code analysis is enable, many keywords of my code are red with this error: "Cannot resolve…
Ramin Bateni
  • 16,499
  • 9
  • 69
  • 98
86
votes
5 answers

Resharper's example code for explaining "Possible multiple enumeration of IEnumerable"

Sometimes Resharper warns about: Possible multiple enumeration of IEnumerable There's an SO question on how to handle this issue, and the ReSharper site also explains things here. It has some sample code that tells you to do this…
user2250250
  • 865
  • 1
  • 7
  • 7
46
votes
4 answers

How to Restore Navigate To Dialog in Visual Studio After Resharper Installation

After installing Resharper 7.1.2 for Visual Studio 2010, when I press Ctrl+, I no longer see the Navigate To dialog. Instead a Resharper dialog Recent Files appears. My question is, is there another key binding that I am not aware for the Navigate…
marteljn
  • 6,446
  • 3
  • 30
  • 43
41
votes
2 answers

Resharper indenting the XML documentation text on code cleanup?

I am using Resharper 7.1 with the StyleCop plugin. I am not sure if this is a bug, but, I am confused because the code cleanup behaves differently when text is selected prior to the cleanup operation. If I do a simple code cleanup on a C# source…
user2324540
39
votes
6 answers

ReSharper color identifiers screw up with Visual Studio 2012 dark theme

We're experiencing an annoying problem issues with ReSharper's color identifiers feature when Visual Studio 2012 is set to the built-in dark theme. With ReSharper's color identifiers disabled, the code looks fine: Then, we enable ReSharper's color…
Albireo
  • 10,977
  • 13
  • 62
  • 96
35
votes
2 answers

ReSharper intellisense does not display documentation

Any idea why I'm not getting any documentation to go along with my ReSharper IntelliSense? If I go to the ReSharper options and enable the Visual Studio IntelliSense instead, I get the proper documentation when going through the members in the…
Pete
  • 10,651
  • 9
  • 52
  • 74
23
votes
1 answer

ReSharper 7.1 "To Property with Backing Field" Moving fields out of place

I've recently upgraded to R# 7.1 and I'm having this problem where the To Property With Backing Field action displaces my backing fields and moves them to the top of the class. Example: Step 1: Define an auto property: public class MyClass { …
Federico Berasategui
  • 43,562
  • 11
  • 100
  • 154
23
votes
1 answer

Overloaded methods give "Method with optional parameter is hidden by overload" warning in Resharper

I have a few C# apps that do logging, and the Output method has an overload to accept the message and a StreamWriter, and another overload with an additional parameter for a params array. An example of the method signatures is: private static void…
PlantationGator
  • 815
  • 1
  • 13
  • 21
16
votes
1 answer

ReSharper generates this file: Annotations.cs. Why?

In a setup with Visual Studio 2012 Update 2 and ReSharper 7.1.1 this file Annotations.cs is generated when creating a new projects. I can not find any article describing why ReSharper does that and if it possible to disable this. I think of…
Morten Frederiksen
  • 5,114
  • 1
  • 40
  • 72
16
votes
1 answer

Stop ReSharper from Adding Annotations

I'm using ReSharper in my C# projects, and generally I love it. However, it keeps adding annotations to the code when I do certain refactoring actions. For example, it adds [NotNull] when I use the "Check parameter for null" context action: //…
Andy Magee
  • 226
  • 3
  • 10
11
votes
2 answers

Method invocation is skipped in C#?

I have this simple code : void Application_BeginRequest(object sender, EventArgs e) { Trace.Write("Exception Handling", "......"); } However re-sharper scream (no-error only suggest) about : Method invocation is skipped.…
Royi Namir
  • 144,742
  • 138
  • 468
  • 792
8
votes
3 answers

Prevent TeamCity reporting ReSharper Code Inspection Suggestions (and Hints) as Warnings?

I have added an Inspections (.NET) build step to a TeamCity (v8) project consisting of a Visual Studio 2010 solution build step for a single dummy C# class. The build step has failure conditions that are set to fail if I get any inspection Errors or…
stephen
  • 1,200
  • 1
  • 13
  • 16
8
votes
2 answers

How do you reference external libraries with Jasmine + Resharper

I can run Jasmine unit tests from the Resharper 8.0 unit test runner. I have a problem where any Javascript references that are normally in the html page (ie in my case Ext-Js) then I can't use the Resharper test runner, as you don't seem to have…
Stephen Price
  • 1,629
  • 1
  • 24
  • 42
8
votes
2 answers

ReSharper 7.1 object initializer formatting

When doing something like this: MyObject tmp = new MyObject(); tmp.Prop = "Hello"; ReSharper tells me to 'Use object initializer', so I let it reformat the code, and I get something like this: MyObject tmp = new MyObject { …
Joel
  • 8,502
  • 11
  • 66
  • 115
6
votes
1 answer

Two implementations of a method? (VS2012 + ReSharper 7.1)

When I right-click a method and select Go to Implementation I am often presented with two implementations; one in my source code and one as a reference... In this example, EmailService is in a different project that is loaded into the current…
Richard Ev
  • 52,939
  • 59
  • 191
  • 278
1
2 3 4 5