I have gone through some websites and found that .NET Core is using .NET CLI (.NET Command Line Interface). I have create a console application using .NET CLI and it is working fine
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:
Microsoft.CodeAnalysis.CSharp 1.1.0-rc1-20151109-01 is not compatible with DNXCore,Version=v5.0.
I also tried
dotnet restore -s https://api.nuget.org/v3/index.json
But getting the same error.
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?
I have gone through the links
https://github.com/dotnet/cli&http://dotnet.github.io/getting-started/
but did not find any details that it supports ASP.NET Core web app or not?
</div>