title: Cannot add scaffolded item in asp net core web application VS 2017
body: <p>I just started on asp net core on VS 2017 and i'm following the microsoft tutorial and no matter what it won't let me add scaffolded item, it doesn't even let me add controllers or views neither and shows the same error.</p>
  
  <p>I'm using VS 2017 15.9.8, I tried rebuilding the project, I tried clearing nuget cache and nothing.</p>
  
  <p>I tried to download the package code generator version 2.2.2 from command line and can't even find it. This error happens after it says it's installing code generator.desin from nuget.</p>
  
  <p><a href="https://i.stack.imgur.com/MvDSd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MvDSd.png" alt="enter image description here"></a></p>
  
  <p><strong>EDIT</strong>
  here is the project properties</p>
  
  <p><a href="https://i.stack.imgur.com/drL9O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/drL9O.png" alt="enter image description here"></a></p>
  
  <p><strong>EDIT 2</strong></p>
  
  <p>the error is all about this, it won't install this no matter what nor can find it from command line</p>
  
  <p><a href="https://i.stack.imgur.com/jLgJ3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jLgJ3.png" alt="enter image description here"></a></p>