Fixing "Dnx Runtime package needs to be installed" error

I went to build an older project on which I hadn’t worked for a while and I found that running msbuild on the solution file like so

& "C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" .\GenFu.sln

resulted in an error which looked like

Cannot find DNX runtime dnx-clr-win-x86.1.0.0-rc1-final in the folder: C:\Users\stimms\.dnx\runtimes
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DNX\Microsoft.DNX.targets(126,5): error : The Dnx Runtime package needs to be installed. See output window for more details. [C:\code\GenFu\src\GenFu\GenFu.xproj]

The Monsters Weekly - Episode 10 'Loading Settings From a Database in ASP.NET Core'

While configuration has been greatly simplified in ASP.NET Core, it won’t provide an answer for all the situations all of the time. One such case is when you need to save and load configuration settings from a database so, here, we’ll show you how.

The Monsters Weekly - Episode 9 - What Makes a Controller

With ASP.NET Core we have new options for the way we build out our controllers. Sure, the conventions we know are there, but today we have the option to use as much or as little of the base class as we like in MVC Core.

The Monsters Weekly - Episode 8 'Tour of the Default ASP.NET MVC Project'

There is a lot of newness in the default project in MVC Core, so we wanted to break it down and help make it feel a little more familiar. This is episode #8, and we’re walking you through the “File -> New Project” experience.

The Monsters Weekly - Episode 7 'Custom Tag Helpers'

Back in Episode 4 we looked at tag helpers in the Razor View Engine that make some of the lifting we need to do a little lighter when crafting our views. In this edition of the Monsters Weekly we’ll go a little further and create a custom tag helper.

Tips for Speeding Up Visual Studio

People, this is 2016. If you’re waiting on your project to build or feel like your IDE is sluggish, it’s time to inventory and make sure you have the optimal configuraiton for development rig. Let’s talk quickly about the things that make your machine go fast (or slow) and some simple tweaks that can get your builds moving along more quickly.

Launching VS in Safe Mode

The Monsters Weekly - Episode 6 'JSON Data and The Options Pattern'

Now that we’ve wrapped our heads around the basics of configuration in ASP.NET Core, let’s start to take control of our appliaction settings. In this episode, we’re looking at a pattern and leveraging the framework to get strongly-typed settings as objects at runtime.

The Monsters Weekly - Episode 1 - Startup.cs

Well, here we go! This is the inaugural installment of The Monsters Weekly, where we take you up, down through and over all the aspects of ASP.NET Core and Core MVC. In our first episode, we're covering the startup.cs class and what happens as our application loads.

Not sure where to start in ASP.NET Core? Well, in startup.cs, of course. We run the file top-to-bottom covering some basic configuration, dependency injection, browser link, database error pages, service configuration and the Julie Lerman of Canada. This is an intro - we cover a lot of ground at 30,000 feet, but don't worry, we'll be breaking it down in the weeks ahead.

Be sure to follow the Monsters on Twitter and check out the blog for related posts.

The production code for this video is VG.

The Monsters Weekly - Episode 5 'Configuration Settings'

Your first impression of configuration in ASP.NET Core may be that a tyrant of a coyote with ACME corporate sponsorship laid into the system with a box of explosives. You wouldn’t be wrong, but here’s why it was the right thing to do.

The Monsters Weekly - Episode 4 'Tag Helpers in Razor'

Ready for a great new feature in ASP.NET Core MVC? The Razor view engine now supports a concept called “Tag Helpers” that dramatically reduces the “c-sharp-iness” of your view and gives you something that looks a lot more like HTML. Dave, that Monster, constrasts this to the earlier incarnation known as HTML Helpers.