Updating from MVC to Causes an error

So you need to update from MVC to MVC or should I say your windows update tool caused you to update. Refer to this article https://blogs.msdn.microsoft.com/webdev/2014/10/16/microsoft-asp-net-mvc-security-update-ms14-059-broke-my-build/   Then open package manager for nuget and make sure it is pointed to the correct project.. Usually your root mvc application Then type in the console […]


If you get a sql lite error like this: Could not load file or assembly ‘System.Data.SQLite’ or one of its dependencies. An attempt was made to load a program with an incorrect format. Open IIS Manager Make sure the application Pool is set to allow 32 bit applications under advanced settings.  

AutoMapper InjectFrom value mapper

FYI Value injector doesn’t support automatic collection mapping like AutoMapper but you could use a simple LINQ expression and operate on each element: IEnumerable<Category> categoryList = categoryService.GetAll(); List<CategoryViewModel> viewModelList = categoryList .Select(x => new CategoryViewModel().InjectFrom(x)).Cast<CategoryViewModel>() .ToList();