Top "Resharper" questions

ReSharper is a refactoring and productivity extension by JetBrains that extends native functionality of Microsoft Visual Studio versions since 2003.

Why can't I reference my class library?

I have a solution that contains a website and a class library in Visual Studio 2008. I then have another web …

c# visual-studio-2008 resharper reference
Keyboard shortcuts are not active in Visual Studio with Resharper installed

I have Visual Studio 2012 + Resharper 7.1.1000.900 + StyleCop 4.7.44 installed. The problem is that no shortcuts are active since Resharper was installed. For …

c# visual-studio resharper
Test method is inconclusive: Test wasn't run. Error?

I have a test class and below I have posted a sample test from the test class namespace AdminPortal.Tests.…

c# asp.net-mvc asp.net-mvc-4 unit-testing resharper
Visual Studio displaying errors even if projects build

I have a problem with Visual Studio on a C# solution. It displays totally random errors, but the projects build. …

c# visual-studio syntax-error resharper intellisense
Access to Modified Closure

string [] files = new string[2]; files[0] = "ThinkFarAhead.Example.Settings.Configuration_Local.xml"; files[1] = "ThinkFarAhead.Example.Settings.Configuration_Global.xml"; //Resharper complains …

c# resharper closures
LINQ: Not Any vs All Don't

Often I want to check if a provided value matches one in a list (e.g. when validating): if (!acceptedValues.…

c# .net performance linq resharper
What is the difference between a regular string and a verbatim string?

I have a trial version of Resharper and it always suggests that I switch regular strings to verbatim strings. What …

c# resharper
Moq: Invalid setup on a non-overridable member: x => x.GetByTitle("asdf")

Not sure how I can fix this, trying to do a unit test on the method "GetByTitle" Here are my …

c# nhibernate nunit resharper moq
Resharper Alt Enter not working

Help, I can't function without Resharper. All of a sudden my Alt+Enter ↵ shortcut (to bring up the action list) …

visual-studio resharper
Why does ReSharper tell me "implicitly captured closure"?

I have the following code: public double CalculateDailyProjectPullForceMax(DateTime date, string start = null, string end = null) { Log("Calculating Daily Pull …

c# linq resharper