Questions tagged [resharper-6.0]

Use this tag for version specific questions about ReSharper 6.0 - the refactoring and productivity extension for Visual Studio by JetBrains. When using this tag also include the more generic [resharper] tag where possible.

ReSharper is a refactoring and productivity extension by JetBrains that extends native functionality of Microsoft Visual Studio 2003, 2005, 2008 and 2010. Version 6.0 provides various improvements over previous versions such as:

  • Support for HTML, JavaScript, CSS, and Razor view engine.
  • On-the-fly code analysis for VB.NET.
  • An improved unit test runner.
  • Decompiling functionality to assist in figuring out the behaviour of third-party libraries.
  • Converting LINQ to loops.
  • Improvements in XAML support.
  • Colour highlighting for properties representing colours and code completion visualizing colours and brushes.
  • Import types for pasted code.
  • ReSharper suggestions explained.
  • Searchable code inspection severity options.

See also:

What's New in ReSharper 6.0

89 questions
3
votes
1 answer

Automate sql stored translation generation in Visual Studio 2010

I want to automate process of string localization. Translations are stored in database. The problem is, that to add a new localization entry, I need to complete folowing steps: 1) Open a file which stores constants with keys declaration. It looks…
v00d00
  • 3,215
  • 3
  • 32
  • 43
3
votes
1 answer

Can ReSharper's test runner be configure not to show Debug.WriteLine() messages?

I want to omit Debug.Write/WriteLine messages from ReSharper's test runner output. Is it doable?
THX-1138
  • 21,316
  • 26
  • 96
  • 160
3
votes
2 answers

Reorder fix options for Stylecop in Resharper

In Resharper, pressing Alt + Enter opens the quick fix list. For StyleCop for C#, an example of the menu that would open is the following: Resharper 6.0 Quick-Fix In Reshaper 5.0, I seem to remember the "Insert Header" option would be before…
Will Eddins
  • 13,628
  • 5
  • 51
  • 85
3
votes
1 answer

Cannot resolve symbol 'Point', 'Size', 'PointCollection'

ReSharper 6.1 (as apposed to Visual Studio itself) is telling me there are errors in my WCF Workflow XAML file. Cannot resolve symbol 'Point' Cannot resolve symbol 'Size' Cannot resolve symbol 'PointCollection' Although it compiles without any…
Tom Robinson
  • 8,348
  • 9
  • 58
  • 102
3
votes
1 answer

C# Interface Debug Information not linked to sources

I'm trying to re-jig the layout of a very large solution which has become impossibly hard (and s l o w) to work with. My plan is to create a number of solutions containing related projects, and then use binary references where necessary to link to…
Mark
  • 1,784
  • 16
  • 26
3
votes
2 answers

Implementing an autoproperty on derived classes from the base class?

I have and interface that I have made updates to. I would like to implement all my changes in my derived classes as auto properties, but they get implemented with the NotImplemented exception. Is there a way to set properties created by ReSharper 6…
DDiVita
  • 4,225
  • 5
  • 63
  • 117
3
votes
1 answer

Live Templates not working anymore with Resharper 6

I upgraded to Resharper v6 and since then, the live templates don't work anymore. If I type a template name (like prop) and then tab, the template name is just removed, and nothing happens. If I try to insert a new class, there's only the basic text…
Guillaume Davion
  • 434
  • 4
  • 12
3
votes
2 answers

How to prevent ReSharper from creating folders in solution?

ReSharper 6 creates folders like ReSharper.projectname with the files and folders below in it. That caused a lot of problems with MSDeploy and source control in general. I had to add ignore rules everywhere. What's the right way to prevent that from…
Sedat Kapanoglu
  • 46,641
  • 25
  • 114
  • 148
3
votes
2 answers

Don't move to newly created method/class/interface

Resharper automatically moves to the newly created class, method etc, when creating it using the bulb action. For example, if I use a non-existing method on an object, Resharper provides me with the possibility to create that method. When it does,…
Daniel Hilgarth
  • 171,043
  • 40
  • 335
  • 443
3
votes
3 answers

Replace method call to another

I need to replace all the ocurances of obj.Method1() to obj.Method2() where obj is an instances of the same class. Does ReSharper or VS2010 allow this?
Sergey Metlov
  • 25,747
  • 28
  • 93
  • 153
2
votes
3 answers

Issue with Resharper's "Type argument is redundant" and assertions

I have just recently started using ReSharper and am looking for a way of resolving a particular issue I have with the "Type argument specification is redundant" tooltip/quickfix. When writing unit tests I have been using Assert.AreEqual(x,…
Mark Smith
  • 1,085
  • 8
  • 19
2
votes
1 answer

Does Nunit TestCase attribute with Result property work incorrect?

So, I wrote next "test" test :-) for Nunit 2.6 (use 2.6.0.12035 ver.) [TestCase(1, 2, Result = 3)] [TestCase(3, 4, Result = 7)] [TestCase(5, 6, Result = 11)] public int Add_Test(int a, int b) { return a - b; } Next,…
ademchenko
  • 585
  • 5
  • 18
2
votes
2 answers

ReSharper auto-complete enums

In ReSharper 6.1, when I want to autocomplete something like EnableCap.LineSmooth, I get something like this: The problem is, because it displays the full name of enum + enum options, I can't just type "En" + [Tab] to autocomplete "EnableCap." and…
mpen
  • 272,448
  • 266
  • 850
  • 1,236
2
votes
1 answer

Resharper naming conventions stumble over underscore?

I've set Resharper to start everything with in lowercase. Now, when Visual Studio generates event methodes, like searchButton_Click it warns me that this is not conforming to my naming conventions. This seems to be because of the underscore in the…
Koen027
  • 823
  • 3
  • 8
  • 15
2
votes
2 answers

ReSharper Can't Find ASP .NET MVC Views with Dots (.)

I'm working with a project that has its partial views named following the convention SomeName.Widget.ascx. Starting with JetBrains ReSharper 6, these can't be resolved; ReSharper thinks they don't exist. For example: Any thoughts on how to correct…
Yuck
  • 49,664
  • 13
  • 105
  • 135