aspnet / Tooling

Issue tracker and info on Visual Studio tooling for ASP.NET
Other
256 stars 124 forks source link

Scaffolding fails with could not load System.Runtime version 4.2.0.0 #1009

Closed twsouthwick closed 7 years ago

twsouthwick commented 7 years ago

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:

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...

image

mlorbetske commented 7 years ago

Moved to https://github.com/aspnet/Scaffolding/issues/416