title: I can't add new component with angular cli in asp.net core spas
body: <p>I want to add a new component in <strong>asp.net core 2.0</strong> SPAs with <strong>angular 4</strong> with <strong>angular cli</strong> with this version:</p>
  
  <blockquote>
    <p>@angular/cli: 1.4.2</p>
    
    <p>node: 8.4.0</p>
    
    <p>os: Linux x64</p>
  </blockquote>
  
  <p>when I running this command <code>ng g c vehicle-form</code> on a directory of components got this error:</p>
  
  <blockquote>
    <p>Error: Could not find an NgModule for the new component. Use the skip-import option to skip importing components in NgModule.
    Could not find an NgModule for the new component. Use the skip-import option to skip importing components in NgModule.</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/BZYdM.jpg" rel="noreferrer">app.module.shared.ts</a></p>
  
  <p>Also, I have 3 files for <code>app.module.ts</code> not one :\  :</p>
  
  <p><code>app.module.browser.ts</code></p>
  
  <p><code>app.module.shared.ts</code></p>
  
  <p><code>app.module.server.ts</code></p>