title: ASP.NET Core Scaffolding does not work in VS 2017
body: <p>I have a beginner ASP.NET Core project in Visual Studio 2017, and I am at the scaffolding step of the HelloWorld. The Scaffolding does not work, I tested on a first computer, then at a second one...</p>
  
  <p>when I try to generate a controller with views
  <a href="https://i.stack.imgur.com/b3C0n.png" rel="noreferrer"><img src="https://i.stack.imgur.com/b3C0n.png" alt="enter image description here"></a>
  , it gives the following error on the first machine: </p>
  
  <blockquote>
    <p>Microsoft Visual Studio</p>
    
    <hr>
    
    <p>Error</p>
    
    <p>There was an error running the selected code generator:</p>
    
    <p>'Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Web.CodeGeneration.Utils, Version=1.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
       at Microsoft.VisualStudio.Web.CodeGeneration.Design.Program.Main(String[] args)'</p>
    
    <hr>
    
    <p>OK   </p>
  </blockquote>
  
  <p>On the second machine: </p>
  
  <blockquote>
    <p>Microsoft Visual Studio</p>
    
    <hr>
    
    <p>Error</p>
    
    <p>There was an error running the selected code generator:</p>
    
    <p>'Error: assembly specified in the dependencies manifest was not found -- package: 'microsoft.applicationinsights.aspnetcore', version: '2.1.0', path: 'lib/netstandard1.6/Microsoft.ApplicationInsights.AspNetCore.dll''</p>
    
    <hr>
    
    <p>OK   </p>
  </blockquote>