dotnet-cli Questions
4
I am trying to install .NET 6 and 7 on my Mac (M1 chip) and after trying several approaches, I am going nowhere.
Option-1: Using brew
Installed .NET 7. Here, I see successful installation under /o...
Newmown asked 17/7, 2023 at 15:33
3
Solved
dotnet test uses trx output by default. I am using trx2junit to convert it to junit, but this complicates CI setup.
Is it possible to output test report in junit format directly from dotnet test?
Amandy asked 26/3, 2022 at 8:28
2
Solved
I would like to run my API using dotnet run, so I can run some tests against it. However, on Azure Pipelines and AppVeyor, they don't have a developer certificate installed and I get an error when ...
Else asked 26/7, 2019 at 14:8
4
Solved
Using the dotnet cli how can you list the available package versions for a specific package?
Candlestand asked 1/9, 2019 at 1:34
5
Solved
If you try to run from the command line in the top directory of a solution made with visual studio:
dotnet build
My solution is architectured like that:
MySolution.sln
> src
> MyProject...
Mastery asked 22/6, 2016 at 7:47
5
Solved
I have a project that has a
[TestFixture, Category("Oracle")]
and a
[TestFixture, Category("OracleOdbc")]
with a couple of tests which I would like to execute separately using dotnet test.
H...
Suave asked 10/1, 2018 at 20:51
4
Solved
I am newbie c# , my first try on Visual Studio Code is to show notification on windows 10 using ToastContentBuilder
from Namespace Microsoft.Toolkit.Uwp.Notifications here is my code :
using Micros...
Adz asked 28/4, 2021 at 15:16
12
I'm learning how to use dotnet-cli with VSCode. I've seen many commands on how to create solution, projects, add reference to projects... but I don't see anywhere in the documentation how to add a ...
Freddafreddi asked 3/3, 2018 at 18:3
4
Solved
I'm trying to generate the Distributed SQL Server Cache for ASP.NET Core 2.0, using the CLI, but I only get an error. The instructions say to execute
dotnet sql-cache create <connection string&...
Ethicize asked 18/11, 2017 at 5:36
25
Solved
I have a simple .NET Core project (console app) that I'm trying to compile and run. dotnet build succeeds, but I get the following error when I do dotnet run:
dotnet run
Project RazorPrecompiler (....
Kangaroo asked 28/6, 2016 at 20:12
14
Solved
I am using Visual Studio 2015 and dotnet core and trying to develop an EF Core Code First project using Sqlite and this documentation / tutorial, which also uses Sqlite => NET Core - New Database
...
Lard asked 24/3, 2017 at 5:0
2
I've just cleared all my nuget caches using:
dotnet nuget locals all --clear
But now when i try to restore/build I get the following error
C:\dev\noddy\src\noddy.Api>dotnet build
C:\Program ...
Keavy asked 6/9, 2017 at 11:39
2
Solved
When using Hot Reload in the .NET CLI...
$ dotnet watch
watch : Hot reload enabled. For a list of supported edits, see https://aka.ms/dotnet/hot-reload. Press "Ctrl + R" to restart.
watch...
Bootlace asked 12/2, 2022 at 1:16
2
Solved
When I do dotnet sln add {myProject.csproj} for a .NET Core/Standard project, it adds it as project type (I think) {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} instead of .NET Core's {9A19103F-16F7-4668-...
Potation asked 15/11, 2017 at 16:9
9
Solved
When I issue the following command in the command line:
dotnet publish -o "./../output" -c Release
The dotnetcli publishes the project correctly. However, it does not copy the appsettings.Product...
Rude asked 16/6, 2016 at 11:48
5
Solved
Following examples from here I'm trying to execute
dotnet sln AllProjects.sln add **/*.csproj
But I get this error:
Could not find project or directory **/*.csproj.
Looks like wildcards ar...
Civic asked 25/8, 2018 at 12:28
3
When I tried installing Microsoft.AspNetCore.AppRef in my webapplication in .net core 3.1.
However, I get this error instead:
Package 'Microsoft.AspNetCore.App.Ref 3.1.3' has a package type 'Dotnet...
Bebebebeerine asked 13/9, 2020 at 15:47
3
Solved
I run web projects like this, during development:
dotnet watch run
The project/browser reloads when I make a change. Awesome!
However, sometimes I will be shown this:
Unable to apply hot reload be...
Bailes asked 26/1, 2022 at 22:27
1
Solved
Error when trying to launch the exe from the debug folder of my xunit project.
A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in 'C:\P...
Chromate asked 5/4, 2023 at 23:50
3
Solved
I'm new to Visual Studio Code. I want to define the output directory in my csproj. I don't know where to change in Visual Studio Code the destination folder to locate the dll files generated.
Detergent asked 26/10, 2017 at 16:43
9
Solved
We have downloaded and run DotNetCore.1.0.1-SDK.1.0.0.Preview2-003133-x64.exe. After having closed and reopened our command prompt, running dotnet gives the following output.
The term 'dotnet' ...
Fusibility asked 12/11, 2016 at 23:13
2
When running test from command line (dotnet test) in a .net 5.0 project using xunit all tests seems to pass but the process crashes with the following message from the detailed verbosity of dotnet ...
Freewill asked 9/8, 2021 at 13:17
1
Solved
I created a C# project with the below command in VSCode and enabled Top-level statements automatically for this project.
How can I disable Top-level statements in Visual Studio Code for a C# ...
Fons asked 27/1, 2023 at 10:22
1
my projects has more than 400+ dependencies and I have to update all of them at once with command in .NET 7.0 .
I have try nukeeper,dotnet-outdated-tool and NuPu. nukeeper and dotnet- outdated is a...
Streak asked 24/1, 2023 at 11:54
2
Solved
I am trying to create a nuget package for my web application but it is not producing any .nupkg outputs. I am using Visual Studio 2017 15.3.0.
To create the project I do the following:
File - Ne...
Venerate asked 5/9, 2017 at 14:26
1 Next >
© 2022 - 2025 — McMap. All rights reserved.