Skip to main content
Filter by
Sorted by
Tagged with
12 votes
4 answers
3k views

I’m trying to install the Entity Framework Core CLI tools globally using the .NET CLI command: dotnet tool install --global dotnet-ef However, the installation fails with the following error message: ...
tutte2k's user avatar
  • 301
0 votes
1 answer
1k views

I'm having trouble figuring out the correct parameters to use when publishing an ASP.NET Core project that hosts a Blazor WebAssembly application via the dotnet publish command. When I use the "...
yiwan's user avatar
  • 1
8 votes
2 answers
3k views

It's my information about .NET installed on pc. dotnet --info .NET SDK: Version: 8.0.100 Commit: 57efcf1350 Workload version: 8.0.100-manifests.6c33ef20 Runtime Environment: ...
Behnam Asaei's user avatar
0 votes
1 answer
69 views

I have a nuget package with a props file, and in the props file I have these commands: <Target Name="_myRunCommands" BeforeTargets="Rebuild;Build"> <Message ...
SpaceGhost440's user avatar
0 votes
0 answers
18 views

Let's say you have a project MyTool that you want to publish as NET tool while digitally signing both binaries and NuGet package. The procedure is as follows: Build the project. Digitally sign output....
Alex I's user avatar
  • 2,460
1 vote
1 answer
550 views

I'm following along to an Intro to LINQ vid on YouTube which asks us to install dotnet-try. So install it and run dotnet try demo from an empty directory as instructed. It opens up a browser window ...
joseville's user avatar
  • 1,013
9 votes
4 answers
4k views

I install too many dotnet tool but how to keey they in lastest version. I do not want to update them manual. I find the github issus: Add dotnet tool update --all option · Issue #10130 · dotnet/sdk
lindexi's user avatar
  • 4,365
0 votes
1 answer
473 views

I am trying to install a version of a dotnet tool and it works for older versions but for the latest version, for some reason, it just won't install dotnet new tool-manifest dotnet tool install foo --...
user avatar
9 votes
2 answers
13k views

I'm trying to install playwright on my deployment target machine in order to run UI tests. # Install the CLI once. dotnet tool install --global Microsoft.Playwright.CLI playwright install however ...
Liero's user avatar
  • 27.8k
0 votes
0 answers
86 views

I am trying to see if there is a way, perhaps using some of the tools available in the Eventpipe runtime, to get a breakdown of the memory usage similar to what is available when doing a memory ...
russelrillema's user avatar
0 votes
1 answer
2k views

When running dotnet test on the Azure Pipeline, the pipeline fails with error: System.Exception: Unable to read beyond the end of the stream. at System.IO.BinaryReader.Read7BitEncodedInt() at ...
iarunpaul's user avatar
  • 127
0 votes
1 answer
1k views

I cannot see how to configure my dotnet tool (c# .net 6) to auto update If I execute dotnet tool update <tool> --global --no-cache in process then it complains about the file already existing. ...
Sam Mackrill's user avatar
  • 4,091
1 vote
1 answer
563 views

I am building a Nuget package with Azure Pipelines. The pipeline is run by a self hosted agent. It works perfectly for pure .NET and .NET framework projects, but I get an error with a (VS2022) ...
Rye bread's user avatar
  • 1,901
5 votes
3 answers
1k views

We use the normal dotnet-tools.json for setting up our dotnet local tools for our project but was wondering if there is a way to use wild card versions for the version numbers like you can do within ...
Kevin Smith's user avatar
  • 14.5k
2 votes
2 answers
2k views

Trying to install dotnet-try global tool from the command prompt on Windows by running dotnet tool install -g dotnet-try but failed with the following error. Failed to create shell shim for tool '...
Venkata N Bhupathi's user avatar
12 votes
1 answer
8k views

The DotNet3.1 AWS Lambda I have created an AWS Lambda solution with C# DotNet3.1 using the Amazon template dotnet new serverless.AspNetCoreWebAPI -n MyDotNet.Lambda.Service this creates a lambda ...
diegosasw's user avatar
  • 16k
1 vote
0 answers
196 views

I have an issue, every time i try to use the upgrade-assistant tool it tries to remove entityFramework from a library containing it, and then update the library to NetStandard2.0. This is not helping ...
MuLy's user avatar
  • 11
0 votes
0 answers
421 views

Using Azure Pipelines, I have the following step in a job running on the windows-2022 vmImage: - pwsh: | $config = "${{ parameters.buildConfiguration }}" $runtime = "${{ ...
void.pointer's user avatar
  • 26.7k
0 votes
0 answers
210 views

We're developing several .NET web applications, both on the old (.NET Framework 4.8) and new stack (.NET 6). On production, we want to determine on which .NET runtime each application is running. I ...
mu88's user avatar
  • 5,699
1 vote
1 answer
3k views

When you want to update or install a dotnet tool you need to explicitly provide the version for preview versions. It doesn't work in our DevOps environment because we need to be the package always the ...
berkansasmaz's user avatar
1 vote
1 answer
2k views

I'm trying to run the dotnet tool Swashbuckle.AspNetCore.Cli (5.6.3) in a Azure Devops build agent with only .NET 5 That doesn't work and I get the following error: It was not possible to find any ...
Julian's user avatar
  • 37.3k
4 votes
1 answer
1k views

I'm playing with dotnet-tool and nuget; I noticed that if I push a refresh nameOfPackage.nupkg to the nuget repo and then run dotnet tool update -g nameOfPackage it does not take the new package ...
JosephS's user avatar
  • 764
3 votes
2 answers
15k views

I'm trying to use [email protected]. In order to do this at this point I already have: - Installed Visual Studio 2019 Preview - Installed the .NET Core 3.1 Runtime - Installed the .NET Core 3.1 ...
Pieterjan's user avatar
  • 3,709
6 votes
0 answers
246 views

I have a library packaged as tool. I use that same library as a regular project in the solution. I would like to use the nuget package also as library, but it seems that went it has been packaged as ...
vtscop's user avatar
  • 321
0 votes
1 answer
900 views

I was looking for the answer at least 3 hours, but without success. Everywhere are just pieces of code and I have no idea how to connect them together. What I want to achieve: I am creating dotnet-...
SamJ26's user avatar
  • 195