65 questions
7
votes
3
answers
15k
views
Run dotnet tool restore to make the dotnet-ef command available
I'm having a quite strange situation with Visual Studio and EF migrations in Publish Profile. Given:
Visual Studio 2019 v16.4
.NET Core project. Targets .NET Core 3.1
EF 3.1
Azure publish profile
I've ...
9
votes
4
answers
4k
views
How to update all of my dotnet global tool by one command
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
0
votes
1
answer
1k
views
Where are dotnet tool versions defined?
How is are dotnet tools versioned and where is that version number set in code?
The latest version of this dotnet tool is 1.7.0 https://github.com/tonerdo/coverlet
Where is 1.7.0 defined? I don't see ...
4
votes
5
answers
6k
views
Cannot list Entity Framework Migrations in Visual Studio 2019 due to dotnet ef dbcontext --json failure
I have an ASP.NET Core 3.0 project that uses .NET Core 3.0. I have recently upgraded VS 2019 to version 16.4.1.
I use Web Publish from Visual Studio to deploy the application on various environments, ...
3
votes
2
answers
15k
views
Update .NET Core Tools
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 ...
6
votes
0
answers
2k
views
Docker - Uninstall Dotnet Global Tool installed through Dockerfile
I am installing a dotnet tool globally through Dockerfile using the following:
RUN dotnet tool install --global Amazon.Lambda.Tools --version 3.3.0
ENV PATH="$PATH:/root/.dotnet/tools"
I have ...
1
vote
1
answer
316
views
How to use dotnet tool during Travis-CI build?
I'm trying to use dotnet-warp as a global tool in my .NET Core Travis-CI build, because I like the idea of a single executable so much better than a folder full of 75ish files.
I can successfully add ...
3
votes
3
answers
2k
views
No executable found matching command "dotnet-script"
Why doesn't dotnet script run in PowerShell after installation? I closed and reopened all PowerShell instances after installing.
PowerShell throws this error when I run dotnet script init:
No ...