title: Can I build ASP.NET Core web application using Microsoft Dotnet CLI?
body: <p>I have gone through some websites and found that .NET Core is using <strong>.NET CLI</strong> (.NET Command Line Interface). I have create a console application using .NET CLI and it is working fine </p>
  
  <p>But when I am creating an ASP.NET Core web application using Yeoman and running the command “dotnet restore” then I am getting the following error: </p>
  
  <p><em>Microsoft.CodeAnalysis.CSharp 1.1.0-rc1-20151109-01 is not compatible with DNXCore,Version=v5.0.</em></p>
  
  <p>I also tried</p>
  
  <p><em>dotnet restore -s <a href="https://api.nuget.org/v3/index.json" rel="nofollow">https://api.nuget.org/v3/index.json</a></em></p>
  
  <p>But getting the same error. </p>
  
  <p><strong>If I run “dnu restore” then it is working fine so my question is can I use .NET CLI for web application too or it is only limited to console application?</strong></p>
  
  <p>I have gone through the links </p>
  
  <p><a href="https://github.com/dotnet/cli" rel="nofollow">https://github.com/dotnet/cli</a> &amp; <a href="http://dotnet.github.io/getting-started/" rel="nofollow">http://dotnet.github.io/getting-started/</a> </p>
  
  <p>but did not find any details that it supports ASP.NET Core web app or not?</p>