title: missing context menu in vs 2017 asp.net core 2.2 to add controller
body: <p>The solutions discussed in <a href="https://stackoverflow.com/questions/10540198/context-menu-to-add-controller-view-missing">Context menu to Add Controller/View missing</a> were not very helpful in my case.
  I just started a new project with asp.net core mvc 2.2 using visual studio community 15.7.6 on windows 10 and applying the database first command. Now I want to add a controller but the "Controller" entry in the context menu of the solution explorer is missing. This issue does not occure in a project using asp.net core 2.1 in the same environment.</p>
  
  <p>I tried unloading/reloading the project and the missing entry appears but when I click on it nothing happens. Next time I open the context menu the entry is gone again.
  Also, I had a look into the csproj files but there are no ProjectTypeGuids:</p>
  
  <pre><code>&lt;Project Sdk="Microsoft.NET.Sdk.Web"&gt;
  
    &lt;PropertyGroup&gt;
      &lt;TargetFramework&gt;netcoreapp2.2&lt;/TargetFramework&gt;
      &lt;AspNetCoreHostingModel&gt;InProcess&lt;/AspNetCoreHostingModel&gt;
    &lt;/PropertyGroup&gt;
  
  
    &lt;ItemGroup&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.App" /&gt;
      &lt;PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.2.0" PrivateAssets="All" /&gt;
    &lt;/ItemGroup&gt;
  
  &lt;/Project&gt;
  </code></pre>
  
  <p>What I am actually missing is this dialog:</p>
  
  <p>Add scaffold dialog</p>
  
  <p><img src="https://i.stack.imgur.com/O2YMN.png" alt="add scaffold dialog"></p>
  
  <p>Any ideas what else I can try to fix this?</p>