[MonoDevelop] Building MVC project created in Visual Studio

Michael Hutchinson m.j.hutchinson at gmail.com
Wed Apr 29 14:59:23 EDT 2009


On Wed, Apr 29, 2009 at 6:57 AM, Derek Ekins <derek at spathi.com> wrote:
> I am using mono 2.4 and monodevelop 2.0 on ubuntu 9.04 using a parallel
> environment.
>
> I have created a couple of MVC apps in visual studio and am now trying to
> get them compiling from MonoDevelop.
> When the compiler gets to the MVC project it fails with the message:
>
> Build failed. Object reference not set to an instance of an object.
>
> Obviously not a very helpful.
> So I ran monodevelop with the --debug option.
> Asked for a rebuild and now I get an error:
>
> System.NullReferenceException: Object reference not set to an instance of an
> object
>   at MonoDevelop.AspNet.Mvc.AspMvcProject.PopulateSupportFileList
> (MonoDevelop.Projects.FileCopySet list, System.String solutionConfiguration)
> [0x00000]
>
> I have attached the full stack trace..
>
> Any ideas how to fix or work around this?

Unfortunately the stack trace doesn't have line numbers for the MVC
addin, but I fixed a potential NRE and pushed a new build to my MD
addin repo at http://mjhutchinson.com/mdrepo/. Give it a try, and if
it works, we'll push to the main repo.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list