Loading...
 
Multi-Language Add-In for Visual Studio

Multi-Language Add-In for Visual Studio


Visual Studio 2010 Crashes When Editing

I am running the tool as an add-in for Visual Studio 2010. Everything seems to work properly (open tool, scan and re-scan project) until I try to add a new string to the existing .resx file. The tool finds new strings upon scanning and when I check the box next to the string, Visual Studio immediately crashes. When I restart VS and open the project again, I'll see the string I selected has been added.

But it has crashed four times in a row now, and I was wondering if you knew of anything that might be conflicting with the MultiLanguage add-on?

Here is the error info from Microsoft:

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: devenv.exe
Problem Signature 02: 10.0.30319.1
Problem Signature 03: 4ba1fab3
Problem Signature 04: Microsoft.VisualStudio.Platform.VSEditor
Problem Signature 05: 10.0.0.0
Problem Signature 06: 4ba1d76c
Problem Signature 07: 1867
Problem Signature 08: 2e
Problem Signature 09: System.NullReferenceException
OS Version: 6.1.7600.2.0.0.256.48
Locale ID: 1033

Additional information about the problem:
LCID: 1033

Thanks in advance for your help!

Germany

Hi,

that sounds serious. I don't like it when my Add-In crashes Visual Studio.

In general, I have a try/catch statement in every function where the Add-In is entered, such as menu commands. The catch block should show my error dialog.

If Visual Studio crashes, it might mean that there it enters my Add-In via some function which does not have a try/catch statement. My first step will be to go through it and look for any such cases.

If that is not the case, then something so catastrophic happens, that it bypasses the normal exception handling. That would me much more difficult for me to locate.

Can you give me any more information about your project? What kind of project is it (Windows Forms, ASP, etc.)?

Phil

Hi Phil,
Thanks so much for your quick reply. It's an ASP.NET MVC 2 project.

After some more testing yesterday I found the source of my problem: the Resharper and DotCover Add-ons were somehow conflicting with the Multi-Language Add-on. When I disabled the other add-ons and re-ran the Multi-Lang tool, it worked perfectly fine.