Questions tagged [resharper-6.1]

ReSharper 6.1 is a refactoring and productivity extension for Microsoft Visual Studio by JetBrains that extends the native functionality of versions 2003, 2005, 2008 and 2010. Use this tag for questions relating to version 6.1 of the application.

ReSharper 6.1 is an extension for Microsoft Visual Studio by JetBrains. There is a more general resharper tag, but it is recommended to use this tag for version 6.1 of the extension.

Further information can be obtained from the following resources:-

31 questions
3
votes
2 answers

Resharper false possible nullReferenceException warning with task parallel library

Consider this example var task =Task.Factory.StartNew(()=>Console.WriteLine("test")); task.ContinueWith(antecendent => { ExceptionProcessor.HandleError(task.Exception.Flatten()); },…
Vasudevan Kannan
  • 911
  • 2
  • 7
  • 22
2
votes
1 answer

Self Invoking Functions, Resharper 6.1 and JS Lint - Possible to be Valid For Both?

Say I have a bit of JavaScript that looks like this: MyCompany.MyProduct = {}; (function () { "use strict"; MyCompany.MyProduct.doSomethingAmazing = function () { }; }()); which I believe is an OK approach to take... It passes Mr…
kmp
  • 10,535
  • 11
  • 75
  • 125
2
votes
2 answers

Resharper 6.1 test runner throws BadImageFormatException

After upgrading Resharper to version 6.1, when I try to run my unit tests using the Resharper test runner I get a pop-up dialog that complains about the test assembly having a BadImageFormatException. How do I get Resharper to run my unit tests?
Erik Schierboom
  • 16,301
  • 10
  • 64
  • 81
2
votes
1 answer

Writing a Resharper ContextAction that takes user input

I want to create a Resharper ContextAction which takes a string from the user. How can I create a box with an input field whose entered value can be processed inside the ExecutePsiTransation method?
Matthew Piziak
  • 3,430
  • 4
  • 35
  • 49
1
vote
2 answers

How to reapply IntelliJ IDEA keyboard scheme?

A couple of days ago I resetted Visual Studio settings. All keyboard shortcuts were assigned to their default values. I applied IntelliJ IDEA scheme back but it seems like some Visual Studio shortcuts are not removed and some ReSharper shortcuts are…
1
vote
1 answer

Cannot debug a plugin for ReSharper made with SDK

I'm using VisualStudio2010 SP1, ReSharper 6.1.1. and the ReSharper SDK 6.1.0.51. I ban build a new plugin easily with the project wizard, but unfortunately I cannot debug it. No breakpoint will be hit. Even the samples provided with the SDK work,…
Fischermaen
  • 12,238
  • 2
  • 39
  • 56
1
vote
1 answer

Test cases to run in sequence instead of parallel

I googled for this issue but could not find the answer. My test runs appear to run in parallel and cause each other to fail. They do all pass when run individually. I tried to add thread in the test and put them to sleep but no luck. Is there a way…
dotnet-practitioner
  • 13,968
  • 36
  • 127
  • 200
1
vote
1 answer

import settings to resharper 7 from 6.3

I have been a resharper user for a number of years and a member of team that use the product. As a team we have created a common resharper xml settings file that we import in to resharper so that we are all working off the same settings. I recently…
amateur
  • 43,371
  • 65
  • 192
  • 320
1
vote
3 answers

ReSharper Unit Test Runner ignores deployment items configuration

I'm using Resharper 6.1 for unit testing a new project and it seems to ignore the the Deployment section of my local.testsettings file. I tried to configure in "ReSharper -> Options -> Unit testing -> MSTest -> Use this test run configuration" to…
Marcelo De Zen
  • 9,439
  • 3
  • 37
  • 50
1
vote
3 answers

Suppress IProgressIndicator in Resharper ContextAction

I'm writing a Resharper ContextAction, and the progress indicator that pops up after a second keeps stealing the focus from my text box. How can I suppress the progress indicator that gets passed to ExecutePsiTransaction?
Matthew Piziak
  • 3,430
  • 4
  • 35
  • 49
1
vote
1 answer

Is there a workaround to getting a "User Cancelled" dialog from Resharper refactorings failed due to read-only files?

I have the unortunate sitation with using a source control tool that keeps my local files read-only if they are not checked out. When I attempt to apply a refactoring such as Move to Another Namespace using Resharper 6.1.1, it fails with the…
Kit
  • 20,354
  • 4
  • 60
  • 103
1
vote
1 answer

Any reason ReSharper will not work when viewing SQL files in Visual Studio 2010?

I have ReSharper 6.1 installed and I use it with Visual Studio 2010. ReSharper works perfectly fine, except when I open an .sql file. When an SQL file is the active window my ReSharper shortcuts stop working. I don't mind if intellisense doesn't…
Brandon
  • 68,708
  • 30
  • 194
  • 223
0
votes
1 answer

Resharper BaseTestClass in other project/assembly

I am unit testing and have a base testclass that include a testmethode that should be inherited by the implementing testclass. if the base test class is in the same project as the inheriting class the base testmethode is recognized and executed…
Tobias
  • 2,945
  • 5
  • 41
  • 59
0
votes
1 answer

ReSharper Display Items still show up after uninstall

After uninstalling ReSharper 6.1 from VS 2010, ReSharper Display Items still show up in the Fonts and Colors settings. How do I remove these? Thanks!
TheWolf
  • 1,675
  • 4
  • 22
  • 34
0
votes
2 answers

Call ReSharper ContextAction from Action

I want to write a ReSharper Action that just calls a ContextAction. Is this possible? A ContextAction takes a Solution as a parameter, and an Action gets a DataContext on construction. So the question really becomes: Can you get the current Solution…
Matthew Piziak
  • 3,430
  • 4
  • 35
  • 49