Questions tagged [dotnet-cli]

For use of questions about the .NET Core command line tool-chain. This does not relate to dnx, dvnm, dnu or any of the previous tools build with .NET Core.

The .NET Core command-line interface (CLI) is a cross-platform toolchain for developing .NET applications.

Resources

Related tags

474 questions
0
votes
0 answers

How to migrate dnx command to net core cli

I have a custom command-project for asp.net 5, such as the entity framework commands. When port all projects to aspnetcore rc2, try to replace "commands" section of project.json to "tools", but when run cucstom tool in "dotnet-" get "Unhandled…
user1298781
  • 23
  • 1
  • 6
0
votes
1 answer

ASP.NET Core RC2 crashes on full .NET Framework when using Distributed Caching (SQL Server)

I have a web project using ASP.NET Core RC2 and dotnet CLI, targeting the .NET Framework, just updated from ASP.NET 5 RC1 and DNX. As soon as I use the distributed SQL Server cache, it crashes with the following exception: FileNotFoundException:…
Jesper
  • 7,477
  • 4
  • 40
  • 57
0
votes
1 answer

Does ASP.NET Core RC2 still rely on DNX at all

I have started upgrading to ASP.NET Core RC2, following the instructions provided. However, I'm confused - it seems as though there was no mention of uninstalling DNX or any of the other CLIs (DNVM and DNU). Does that need to be uninstalled, or does…
David Pine
  • 23,787
  • 10
  • 79
  • 107
0
votes
1 answer

MissingMethodException on connect with Npgsql + Dotnet CLI on CentOs 7.1

I'm running Dotnet CLI version 1.0.0-rc2-002439 on CentOS 7.1 I've built a prototype Console application that just performs a select against a PostgreSQL 9.4 database. I'm only targeting DNXCORE50 and on windows, everything works just fine. When I'm…
Drewman
  • 947
  • 11
  • 23
0
votes
1 answer

Is it appropriate to use KPM and dotnet cli tooling side by side?

I'm in the process of experimenting with migrating to an ASP.net 4.6 site to DNX. At the time of writing it's early days for the tooling in general. I've read that dotnet cli aims to replace KRE, KVM, KPM. However is it appropriate to use kpm along…
Alex KeySmith
  • 16,657
  • 11
  • 74
  • 152
-1
votes
1 answer

Why the dotnet restore command run behind the scenes when I run dotnet run?

I'm just start learning about dotnet, I start to interact with it using CLI , And I found myself a little overwhelmed about the following : I Created a dotnet console app and I started writing some code and I used some NuGet packages so when I…
byteram
  • 125
  • 8
-1
votes
1 answer

Is it possible to add/remove a gRPC Service Reference via dotNet CLI

To create a gRPC service contract client I currently go into Visual Studio and click Add-ServiceReference then follow the steps to point to may protofile and finally generate the client service contract class that I can new up in a client…
John Kears
  • 677
  • 6
  • 20
-2
votes
1 answer

Can I use dotnet publish command to build .NET Framework applications?

I'm in the process of moving to .NET Core. In the mean time, I have two sets of apps - some using .NET Core 3.1 and the rest the full .NET Framework 4.6.2. Also, I'm trying to make a build script to build all apps with one command. But dotnet…
Milad Tabrizi
  • 480
  • 3
  • 15
-3
votes
1 answer

Moving project to another directory causes missing view

I created a project with the dotnet cli and everything worked up until the time I wanted to write tests for the app. I created a src directory and moved the entire web project to the src folder after which I created the test project in a folder…
codejockie
  • 9,020
  • 4
  • 40
  • 46
1 2 3
31
32