Geeks With Blogs

Blue Probe It’s the parting gift when you host an alien abduction April 2013 Entries
PluralSight MVC course error - No parameterless constructor defined
The ASP.NET apps I develop/support at work have all been WebForms. So while taking a lovely course by Scott Allen on PluralSight, I decided to skip the IOC crap in my lab. Wrong! In order for the EF DBContext (interface) to be passed into the constructor for my controller, I need magic to occur. StructureMap provides this be giving my app a DBContext object each time the IDepartmentDataSource interface is asked for. See the following controller constructor: public DepartmentController(IDepar... ......

Posted On Saturday, April 27, 2013 12:02 PM

VS2012 Error 1 The build stopped unexpectedly because of an internal failure.

Microsoft.Build.Exceptions.BuildAbortedException: Build was canceled. Failed to successfully launch or connect to a child MSBuild.exe process. Verify that the MSBuild.exe "C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" launches successfully, and that it is loading the same that the launching process loaded.

Sometimes my leg falls asleep, and sometimes you just need to restart VS2012.

Posted On Saturday, April 27, 2013 11:18 AM

Copyright © Ken Hortsch | Powered by: