title: MVC5 There was an error getting the type
body: <p>I am working on a MVC 5 project. But when I click <code>add view</code>, I get an error as mentioned below:</p>
  
  <blockquote>
    <p>There was an error running the selected code generator: There was an
    error getting the type 'MVCdeneme.UYELER'. Try rebuilding the project.</p>
  </blockquote>
  
  <p><code>UYELER</code> is database table.</p>
  
  <p>How to fix it? </p>
  
  <p><a href="https://i.stack.imgur.com/xg23n.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xg23n.jpg" alt="enter image description here"></a></p>