After removing the environment variable in #1008, I'm still getting an error, although a different one.
Steps to reproduce
Launch VS (I'm using a clean install of 15.0.26228.0)
Create an ASP.NET Core application (.NET Core App 1.1)
In project view, right click Controllers ->Add->New Scaffolded Item and then select MVC Controller - Empty
First time, select "Full dependencies", then repeat and fill in name
Expected behavior
New controller should be generated
Actual behavior
Get an error:
Error
There was an error running the selected code generator: 'Could not load file or assembly 'System.RUntime, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f...'. The system cannot find the file specified at...
After removing the environment variable in #1008, I'm still getting an error, although a different one.
Steps to reproduce
Expected behavior
New controller should be generated
Actual behavior
Get an error: