|
I recently upgraded to 7.5 from 7.4. .NET reflector was working fine, but no amount of uninstalling/reinstalling, hair tearing out seem capable of stopping 7.5 crashing in VS2010 (Ultimate) on startup. I have a fully licensed version of .NET reflector (which I bought personally). This was hugely frustrating, and after days of submitting error reports via 'send error report' and not being able to use a product I paid for, I am left feeling like I'm communicating to a vacuum. I would upload a screen grab of the error, but apparently I don't have enough 'Karma' (way to encourage people to report/fix bugs there). So instead let me type it out for you and waste more time... ".NET Reflector has just thrown an exception. COM object that has been separated from its underlying RCW cannot be used." I have sent the SmartAssembly error report every time too. I have tried completely uninstalling ReSharper (no mean feat as there is no installer/uninstaller). Moving to a different directory and reinstalling. About 5 times now. I've tried uninstalling via VS. Basically everything you could think of. As well as the errors above, leaving the plugin installed causes VS to throw "Object reference not set to an instance of an object" errors in varios scenarios (Opening the reflector object browser, creating a new project etc.) Meaning that to work with VS you have to leave the plugin uninstalled. I doubt I am the only user that paid for Reflector purely for the VS plugin. Frustrated at your lack of response for the last week I debugged it myself. The VS activity log shows "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. C:Users###AppDataLocalMicrosoftVisualStudio10.0ExtensionsRed Gate Software Ltd.NET Reflector7.5.0.901RedGate.Reflector.VsPackage.dll" "Could not load file or assembly 'System.Data.SQLite, Version=1.0.66.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139' or one of its dependencies. The system cannot find the file specified. C:Users###AppDataLocalMicrosoftVisualStudio10.0ExtensionsRed Gate Software Ltd.NET Reflector7.5.0.901RedGate.Reflector.VsPackage.dll" Sure enough System.Data.SQLLite.dll is not in the extensions directory - copying the dll there appears to fix the issue. As such, it looks like installing the VS plugin from the .NET reflector 'Tools' menu 'Visual Studio and Windows Explorer Integration' does not copy all the required dlls (specifically the SQLite dll) into the extensions libraries. Where users don't have SQLLite in the GAC (any of use that don't use it really) the binding will fail. Obviously if you have it in the GAC you won't notice this bug. I'm not sure how everyone else is installing it, are they using a different method (that you actually test) and hence not seeing this problem? Please can I have some Karma (say 61) |
|
Hi,
The SQLite DLL gets embedded inside the main package DLL and so it shouldn't be needed separately (certainly we've not seen the issue, and we've only heard this one problem with it). I'm wondering if you you have another addin or plugin or something else that has a different version of SQLite in use? (It looks like we bind to a specific version so if it finds another then it may break like that) In the meantime I'll look at how we embed it and see if I can think of other reasons it may be going wrong - I think it get's coppied out somewhere and loaded from there so it may be some weird permissions problem potentially. We can also look at fixing the error the comes out as a result. Also what version of windows are you on and what .NET versions do have installed?
(Feb 20 at 11:03)
Nigel ♦♦
|
|
Hi Thargy, First of all i'd like to thank you for persevering with the problem and for raising some critical issues for us. Thanks also for the workaround! You are not the only one experiencing this issue and as a result of your post we also realized an issue with a large number of error reports not making it through to our bug tracking system. Your post has sparked the following actions: 1) We have just fixed our issue with the error reports and are now acutely aware of any and all the unhandled exceptions coming through. 2) We are working on this issue and a couple of others as a matter of priority and will release a fixed version ASAP. 3) I'll get something done about the Karma and Screenshot issue. You are absolutely right that this is ridiculous! Thanks again for all your help and please accept my apologies for the delay in our response to your error reports, Greg |
|
Unfortunately, it came back and reared it's ugly head again... The SQLLite dll is therefore not the fix :(. Not sure how it started working only to break the next time I reloaded Visual Studio, though it may have had something to do with having two instances open at the same time. Checking the logs again I noticed Tangible T4 editor was throwing some errors so I uninstalled that, uninstalled Resharper, and deleted the extensions from the extensions folders. I then recreated the plugin using the Resharper menu and ran again. This again caused the errors above. However copying over SQLLite.dll to the appdata fixed it again! I have now rebooted VS a couple of times and its stayed fixed. I need to try looking for a new download of tangible and see if that's the conflict? I will let you know if it crashes again. I have sent error reports every time the crash occurred, so hopefully you have some for your own debugging now. Ouch, that must be frustrating! You know that Resharper and Reflector are two entirely different products made by two different companies? It's unlikely that you created the Reflector addin from the Resharper menu, so what you've written here is a little confusing. However, the two products may be interfering with each other so you're probably best disabling all your extensions until you can narrow it down a little.
(Feb 21 at 09:03)
ecodcode
|
|
Please also note that I clicked the subscribe link on this thread so that I'd get updates, but never received any emails. For now it's still showing 'unsubscribe me' so I'm guessing there's a problem with thread subscription? Emails should be working ok - I'm getting them. Have you enabled notifications? Click on your username at the top right of the page, then under "User Tools" is an email notification item. There's a global enable/disable under there as well as some more fine tuning options.
(Feb 22 at 09:34)
Nigel ♦♦
|
|
OK, it broke again as soon as I loaded a project and worked for a bit, on the next load it was dead again. Very frustrating... |
|
Hi - We're just testing a fix for the COM exceptions (we find it happens very rarely for us so trying to ensure it's no longer there is tricky). I'm not sure if this is related to the SQLite issue (i can't imagine it is), but when we release the fix hopefully it will at least let us remove one of the issues. Do you have to keep copying SQLite DLL in - I'm just wondering what keeps deleting it. |
|
I don't need to keep copying SqlLite no. The issue does appear to be COM related, so hopefully your fix will resolve it. Unfortunately, I'm not getting notified of updates to this thread, so I'll keep checking back periodically. In the meantime I've had to uninstall the product which is very frustrating as I'm in the middle of developing an AOP framework, so having integrated IL disassembly was really important and this is slowing me down. I can't find a set of steps that will keep it working in VS after loading projects. It will work occassionally for a single session. |
|
OK Just noticed the update from yesterday and have installed. Visual Studio integration is no longer crashing and I have opened up a project, closed it and restarted. However, the reflector object browser remains on 'To enable it, open a solution' even after solutions are loaded. So far I have been unable to get it to show the object browser beyond this splash screen. Apart from that I can't tell if it's fully working yet as I also have ReSharper and it's not always obvious where disassemblies are coming from! I will let you know if I encounter further problems than just the object browser. Hmm - one of the places I fixed it was where we hook the solution opening. I thought like the others it was happening on shutdown of visual studio but maybe not. I'll look into that one again. Thanks
(Feb 27 at 08:54)
Nigel ♦♦
|
|
I can confirm that it errored as soon as I tried to add a new item to the solution. (i.e. dialog boxes were broken). So still a no go for me. It looks like there's a lot fewer error reports comming in from the latest 7.5.1.13. What error are you getting now? (And which dialog boxes are broken)
(Feb 27 at 08:53)
Nigel ♦♦
|