Displaying the "Refactor" menu while editing global.asax crashes VS2008

Hi

I've just encountered this problem with the latest EAP of R#5. Whenever I'm editing the global.asax file and displaying the Refactor menu from ReSharper, Visual Studio 2008 crashes.
As I have no way to intercept the exception (I can't begin debugging VS), all I can do is ask if anyone else have encountered this problem as well?


Kenneth

3 comments
Comment actions Permalink

Hello Kenneth
     Which build exactly are you using? We were not able to reproduce this behavior with build #1559. Thank you!

Andrey Serebryansky

Support Engineer

JetBrains, Inc

http://www.jetbrains.com

"Develop with pleasure!"

0
Comment actions Permalink

I believe it is something in my particular problem, causing this. I'll investigate further to see if I can track it down.

0
Comment actions Permalink

Hi

I'm using build 1558.1.

It's quite easy to reproduce. This is not exactly how my code was, but I boiled it down to the following.
I am only able to reproduce it in the code-behind of global.asax.

 public static void Bar()
{
   Baz();
}

public static void Baz()
{
   Bar();
}


Trying to rename(CTRL+R, CTRL+R) Bar() makes VS crash. Hovering the mouse over the "Refactor" menu item, while the cursor is placed at Bar(), also makes it crash.
My particular case was a method that called Cache.Add() with a reference to a static event handler.


Kenneth
0

Please sign in to leave a comment.