Resharper and RGreatEX Problems

Hey Guys,
I posted an issue regarding this but I wanted to also post on the forums to see if I could get a response from the community as well.

We are working with a solution that has 140 projects in it. When opening the project through Visual Studio 2008 File->Open menu item the IDE will hang and not recover. When opening the project through Windows Explorer it is possible to navigate and begin using the IDE. The RGreatEx plugin will function but expierences some issues that need attention. When selecting the function "Move string to resource" the dialog box will appear and we can successfully enter our resource name and create a new resource string in the specified resource file. When we reach the second dialog indicating which strings we would like to replace with the resource reference we are returned a list containing only the item "No Strings". The RGreatEX plugin does not seem to search the solution or even the current file at all for strings; even though we just selected a string to replace. If we try to build the entire solution the IDE hangs once again and becomes non-responsive indefinately. This is also the case with a Clean operation. A "Delay Notification" icon appears in the task bar indicating that the IDE is waiting for something, but we cannot interact with the icon at all. After unistalling the RGreatEx plugin all the described hang-ups cannot be reproduced. Smaller solutions do not appear to generate the same kind of response from the plugin. (1-5 projects have been tested, but a upper limit test has not be conducted)

System Specifications:
Windows XP Pro SP3 Build 2600
Microsoft Visual Studio 2008 (9.0.21022)
Resharper 4.0.819.19
RGreatEx 1.1.16

Dell Optiplex 745
4GB RAM
Intel Core 2 6600 2.30 GHZ
250GB HD with 170 GB free (OS Platter, additional storage available)

If you have any hints or suggestions on how we could go about managing a solution to this that would be great.

Thanks,
Adam

4 comments
Comment actions Permalink

Hi All;

I am having a very similar problem but I don't have RGreatEX installed. I have one specific Solution with a number of projects (one of them a local IIS web site) that hangs when trying to open it via the IDE. Other soultions open fine. If I open it through Windows Explorer it opens fine except that because it uses a local IIS web site and VS doesn't run as Administrator when opened this way that project wont be opened. If I open VS in SafeMode the solution opens up fine.

I'm guessing that the problem might be a conflict between ReSharper and other VS plugins. I have a few. See below.

It seems to me that the question is what's the difference between opening a solution via the IDE and opening it via Windows Explorer? I would have thought there'd be no difference but this behaviour says otherwise. One difference is that I open the VS IDE as Administrator whereas opening the solution via Windows Explorer opens VS IDE without Administrator privileges. I'll try opening VS without Administrator then opening the solution next time the problem occurs.

I have also found that if I open the soultion via Windows Explorer, then open via VS running as Administrator it opens fine. The problem is intermittent but I have experienced it a few times now both on Vista Ultimate 32-bit and Windows 7 Ultimate 64-bit.

Microsoft Visual Studio 2008 Version 9.0.30729.1 SP
Microsoft .NET Framework Version 3.5 SP1

Installed Edition: Professional

Microsoft Visual Basic 2008   91605-130-0714475-60628
Microsoft Visual C# 2008   91605-130-0714475-60628
Microsoft Visual Studio 2008 Tools for Office   91605-130-0714475-60628
Microsoft Visual Studio Tools for Applications 2.0   91605-130-0714475-60628
Microsoft Visual Web Developer 2008   91605-130-0714475-60628
Crystal Reports    AAJ60-G0MSA4K-68000CF
Crystal Reports Basic for Visual Studio 2008


Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB944899)   KB944899
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947171)   KB947171
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB947180)   KB947180
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB948127)   KB948127
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB953256)   KB953256
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB971091)   KB971091
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB971092)   KB971092
Hotfix for Microsoft Visual Studio 2008 Professional Edition - ENU (KB973674)   KB973674
Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB945282)   KB945282
Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB946040)   KB946040
Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB946308)   KB946308
Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB946344)   KB946344
Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB946581)   KB946581
Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB947173)   KB947173
Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB947540)   KB947540
Hotfix for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB947789)   KB947789

Microsoft Visual Studio 2008 Professional Edition - ENU Service Pack 1 (KB945140)   KB945140

Microsoft Web Deployment Projects 2008   00000
Microsoft Web Deployment Projects 2008 Version 9.0.21022

MySQL Connector/Net   5.2
Data design and management tools for MySQL.  Copyright © 2007 MySQL AB

ReSharper 4.5   Full Edition build 4.5.1288.2 on 2009-10-14T16:32:10

Security Update for Microsoft Visual Studio 2008 Professional Edition - ENU (KB973675)   KB973675
Security Update for Microsoft Visual Studio 2008 Shell (integrated mode) - ENU (KB972222)   KB972222

SQL Server Analysis Services   
Microsoft SQL Server Analysis Services Designer Version 10.0.2531.0

SQL Server Integration Services   
Microsoft SQL Server Integration Services Designer Version 10.0.2531.0 ((Katmai_PCU_Main).090329-1015 )

SQL Server Reporting Services   
Microsoft SQL Server Reporting Services Designers Version 10.0.2531.0

Update for Microsoft Visual Studio 2008 Professional Edition - ENU (KB956453)   KB956453
Update for Microsoft Visual Studio 2008 Professional Edition - ENU (KB967143)   KB967143
Update for Microsoft Visual Studio 2008 Professional Edition - ENU (KB972221)   KB972221

VisualSVN   1.7.7

VS.Php 2.8 for Visual Studio 2008   VS.Php 2.8 for Visual Studio 2008
VS.Php 2.8 for Visual Studio 2008 version 2,8,1,6178.

VMDebugger

I hope that this will be of help to someone else.

Cheers

-Pete

0
Comment actions Permalink

Hello,

One difference between opening a solution after starting VS and starting
VS with a solution already open (which happens when you shell-open the solution
file from Windows Explorer) is that in the latter case the packages (including
ReSharper and all the other things) would start only after the solution is
loaded. Thus, they're not getting any of the solution-opening events, but
rather connect to an already-open solution.

Are there any stack traces of the hang-up Visual Studio available?


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0
Comment actions Permalink

Just a little further information.

The problem showed up again with the same VS 'Solution'. If I run VS as normal then the Solution can be opened from the IDE (allbeit without the local IIS web site project) after which I can then open the Solution when next I run VS as Administrator.

So it seems the problem lies with opening the Soltuion when VS is running as Administrator.

Cheers

-Pete

0
Comment actions Permalink

Hi Serge;

Firstly, thanks for your input.

I found this in the Event Viewer:

Log Name:      Application
Source:        Application Hang
Date:          5/04/2010 8:20:59 AM
Event ID:      1002
Task Category: (101)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      Viking2
Description:
The program devenv.exe version 9.0.30729.1 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Action Center control panel.
Process ID: 1304
Start Time: 01cad4448d62f515
Termination Time: 20
Application Path: C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe
Report Id: 55c865e6-4038-11df-8b99-005056c00008

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Hang" />
    <EventID Qualifiers="0">1002</EventID>
    <Level>2</Level>
    <Task>101</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2010-04-04T22:20:59.000000000Z" />
    <EventRecordID>11312</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Viking2</Computer>
    <Security />
  </System>
  <EventData>
    <Data>devenv.exe</Data>
    <Data>9.0.30729.1</Data>
    <Data>1304</Data>
    <Data>01cad4448d62f515</Data>
    <Data>20</Data>
    <Data>C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe</Data>
    <Data>55c865e6-4038-11df-8b99-005056c00008</Data>
    <Binary>55006E006B006E006F0077006E0000000000</Binary>
  </EventData>
</Event>

Can you suggest where to look for stack traces?

Cheers

-Pete

0

Please sign in to leave a comment.