Resharper Hides Configuration File Error

by jmorris 22. January 2010 01:14

I just spent a frustrating two hours trying to get a unit test to run via Resharper for nada. The test would start and then exit as if the it was working but instead of showing a green or red icon as expected when the test was finished, it would remain 'grayed' out. I tried the usual: delete bin folders, run solution 'clean' via VS2008, delete the code directory and do a fresh SVN checkout. I even rebooted for nothing: no red, no green all gray:


I finally noticed that I had closed the output window of VS, so I couldn't see the build results. When I opened the output window I saw this exception at the very bottom of the list:

A first chance exception of type 'System.Configuration.ConfigurationErrorsException' occurred in System.Configuration.dll
A first chance exception of type 'System.Configuration.ConfigurationErrorsException' occurred in JetBrains.ReSharper.TaskRunnerFramework.dll
The program '[1012] JetBrains.ReSharper.TaskRunner.exe: Managed' has exited with code 0 (0x0).

What the f#*k? A configuration error was causing the Resharper taskRunner to die quietly? You have to be kdding me! Shouldn't the user be alerted if the software could not recover and had terminate? I mean, yeah it _did_ notify me, but not very explcitly - a pop up would have been nice!

Anyways, issue was found: I commented out the starting element of the ConnectionStrings section of the App.Config and when Resharper process tried to load the config it bombed. Crises averted, now back to work.

Tags: , , ,

Comments

5/6/2010 8:12:08 AM #

pingback

Pingback from endyear2012.com

a 3rd test «  End Year 2012

endyear2012.com | Reply

5/21/2010 10:42:41 AM #

pingback

Pingback from 346.myipgirl.com

Nissan Micra Fuse Board, Nissan Micra Spirita Performance Dci

346.myipgirl.com | Reply

6/22/2010 5:04:59 AM #

Matthew C. Kriner

I have read a lot of the comments and I just wonder why people say the things they do, I mean they can find the bad in anything.  I guess that is where we are in this world. Just hurt hurt hurt, no matter what the subject is. Lawrence Williams  www.trybw.com  Fort Myers, Naples, Bonita,Cape Coral  Computer Repair Service

Matthew C. Kriner United States | Reply

6/27/2010 12:05:49 PM #

Computer Components

I really enjoyed reading the blog - it was very informative without being boring, something that is very important.

Computer Components United States | Reply

7/5/2010 7:44:38 AM #

manchester united shirt

I’m currently blogging for a (poor) living for someone else… but I like it. You’ve inspired me to keep doing it, and look to doing it for myself soon.

manchester united shirt United Kingdom | Reply

8/12/2010 12:08:34 AM #

rome guided tours

This blog makes a lot of sense to me

rome guided tours Lithuania | Reply

8/12/2010 1:49:48 PM #

Los Angeles Computer Repair

Well, better luck for the next time. Maybe it just needs to be configured again for a closer look at the errors.
Anyway, this is excellent and full of information.
Keep it up!

Los Angeles Computer Repair United States | Reply

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



Who Am I?

My name is Jeff Morris a software engineer/developer in Southern California, USA. My platform du jour is dotnet, but I dabble on the darkside occasionally.

Page List