ASP.NET MVC RC finally working for me

It’s been about 4 misfires, but I’ve finally upgraded my local machine to the RC2 of ASP.NET MVC.  What was holding me back?  Every time I opened a WebForms page (.aspx, .ascx, .master), Visual Studio would hard-crash on me.  Open a WebForms file, VS would just disappear, gone.  No error message except for an ever-so-informative entry in the Windows application log.

It turned out to be a CLR…bug? feature?  Phil Haack posted about a fix for it:

http://haacked.com/archive/2009/03/06/hotfix-for-installing-aspnetmvc.aspx

Now, a couple of things you probably want to do:

Pay attention to that last one, the download site doesn’t say what hotfix file goes for what operating systems.  I’m on Server 2008 x64, which evidently means use the file with “Windows6.0” in the name, and the correct platform (x64, x86 etc.)

Me, I installed the wrong version, and the crashing continued.  Make sure you restart your machine as well, whether it prompts you to do so or not.  I confirmed this hotfix works for the following VS add-ins:

  • Gallio
  • ReSharper
  • TestDriven.NET

Related Articles:

Post Footer automatically generated by Add Post Footer Plugin for wordpress.

About Jimmy Bogard

I'm a technical architect with Headspring in Austin, TX. I focus on DDD, distributed systems, and any other acronym-centric design/architecture/methodology. I created AutoMapper and am a co-author of the ASP.NET MVC in Action books.
This entry was posted in ASP.NET MVC. Bookmark the permalink. Follow any comments here with the RSS feed for this post.