Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Can I build ASP.NET Core web application using Microsoft Dotnet CLI?

$
0
0
<div class="post-text" itemprop="text">

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>

Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>