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
2
votes
0 answers

Resharper 7 'go to declaration' not working for views in MVC 5

I have two Visual Studio 2012 solutions both using Resharper 7.1. One of the solutions has an MVC4 project and the other one has an MVC5 project. In the MVC4 project, within a controller I can press F12 (go to declaration) on the View() method and…
andrewm
  • 2,552
  • 5
  • 33
  • 63
2
votes
0 answers

Visual Studio 2012 - F12 into razor renderpartial stopped working

I'm using Visual Studio 2012 with Resharper 7. If I have a cshtml view where I render a partial view I could put my marker on the name of that partial view and press F12. That would take me to the file of the partial view. Now that has suddenly…
Sop Killen
  • 445
  • 2
  • 6
  • 12
2
votes
1 answer

How can I indicate result ambiguity with Resharper CodeAnnotation attributes?

Using Resharper's code-annotation attributes, I'm trying to write a ContractAnnotation attribute for a method that will always return null if the input is null, but will return either null or a value if the input is not null. Something…
Ben Jenkinson
  • 1,806
  • 1
  • 16
  • 31
2
votes
0 answers

ReSharper slow on each startup of Visual Studio 2012

Everytime I start VisualStudio, ReSharper starts to scan around 500 files. When closing the solution without changing anything and starting it again, ReSharper will scan again around 500 files. This is really annoying because there are no changes…
KingKerosin
  • 3,639
  • 4
  • 38
  • 77
2
votes
1 answer

ReSharper Custom Conversion - AutoProperty to MvxProperty

in our architecture, we have a bunch of models like this public class UserModel { public string FirstName {get;set;} } and since we're using MvvmCross for our view models, we need our properties to look like this public class UserViewModel:…
Chase Florell
  • 46,378
  • 57
  • 186
  • 376
2
votes
1 answer

Removing "Hints" from Inspection Results window in Resharper

with previous versions of Resharper we used to do a "Find Code Issues" command before doing a check-in. Now we updated from 6 to Resharper 7.1 and that command is showing the Hints as issues (we normally don't hide anything but set unneeded…
Ignacio Soler Garcia
  • 21,122
  • 31
  • 128
  • 207
2
votes
1 answer

Resharper 7.1 does not recognize xUnit tests

I finally got Resharper to recognize the xUnit plugin as installed, but it still does not see the test in my test project. There is very little written about xUnit. What can I do to troubleshoot this problem and get my testing started?
2
votes
0 answers
2
votes
1 answer

Restoring Resharper after trialing StyleCop - get/set line breaks

I'm having trouble getting Resharper's clenaup code to stop changing properties like: public long Value { get { return _thingy; } set { _thingy = value; } } to: public long Value { get { …
Rob Smyth
  • 1,768
  • 11
  • 19
1
vote
0 answers

"possible null assignment to entity marked NotNull attribute" warning on HttpUtility.HtmlEncode

Using Resharper 7.1.3, Visual Studio 2012, .net 4: This code: string str = null; str = System.Web.HttpUtility.HtmlEncode(str); Generates the warning : "possible null assignment to entity marked NotNull attribute". But when I looked at the…
Moe Sisko
  • 11,665
  • 8
  • 50
  • 80
1
vote
1 answer

Missing razor intellisense and keyboard shortcut behavior in MVC 5 - visual studio 2012 with Resharper

I have started an MVC 5 empty project and imported most of my stuff from another project to this one using most of this link. However I soon found out that I was having other kinds of troubles. I have since then downloaded ASP.NET and Web Tools…
hsim
  • 2,000
  • 6
  • 33
  • 69
1
vote
1 answer

ReSharper 8.1 (8.0, 7.1) hotkey schema doesn't have some hotkeys in MS Visual Studio 2012

After installing Visual Studio 2012 and ReSharper 8.1 (8.0, 7.1), the second one asks for choosing hotkey schema. I choose ReSharper 2.x or IntelliJ IDEA. After that in menu ReSharper > Navigate some menu items have hotkeys (such as Go to File…
1
vote
1 answer

ReSharper - Un-ignore errors in file

I accidentally asked ReSharper to ignore errors in a C# file. How can I undo the ignoring or errors for a particular file? I'm using ReSharper 7.1
lockstock
  • 2,359
  • 3
  • 23
  • 39
1
vote
0 answers

Extend ReSharper surround template with standard command

I have this asp.net surround ReSharper template: <%:"$SELSTART$$SELECTION$$SELEND$"%> Its adds <%: %> around the selected text and selects the text. The reason that I re-select the text is that I want to move it to the resource file afterwords,…
Henrik Stenbæk
  • 3,982
  • 5
  • 31
  • 33
1
vote
0 answers

Keeping ReSharper happy with switchable layouts

In an MVC project I have a number of views that can be displayed in two "modes", where a different layout file is used for each mode. To achieve this, I am setting the layout file using the appropriate Controller.View overload. public ActionResult…
Richard Ev
  • 52,939
  • 59
  • 191
  • 278