Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MVC 3.0 RC creating new project null reference error

I just installed ASP.NET MVC 3.0 RC and then when i am creating new MVC 3.0 project in VC 2010 I am getting a pop up dialog with the error "Object not set to an instance of an object", anyway project getting created.

Looks like visual studio couldn't find "System.Web.Mvc" assembly. After the project was created I could add the reference manually.

But if I choose to "Create unit test project", additional unit test project is not created because of this error. In that case the MVC project gets created, but unit tests project does not.

Also I did reinstall MVC 3.0 but it is does not help.

May be some one may have how to solve this issue?

UPDATED:

After installing MVC 3.0 RTM still the same thing...

like image 969
angularrocks.com Avatar asked Nov 13 '10 11:11

angularrocks.com


1 Answers

This error accrues only if i adding new MVC 3.0 project to the current solution inside any solution folder.

If I am creating new MVC 3.0 project not inside solution folder(in the solution root) in that case everything just fine, then i may drug and drop project whatever solution folder i want.

Anyway the problem still actual. Hopefully it will be fixed with the next MVC 3.0 release.

UPDATED

Looks like Not fixed in MVC 3.0 RTM.

like image 87
angularrocks.com Avatar answered Sep 27 '22 20:09

angularrocks.com