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
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
0 answers
30 views

I am creating a .NET tool project: <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net8.0</...
stavn's user avatar
  • 91
1 vote
0 answers
742 views

When I run dotnet-svcutil (latest, v2.1.0) for my .NET 8 project, I get several security warnings for out-of-date dependencies it's using. For example: warning NU1903: Package 'System.Security....
Jacob Stamm's user avatar
  • 1,908
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
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
1 vote
1 answer
445 views

I'm setting up a system that is installing a tool via: dotnet tool install MyTool --tool-path . --add-source <my-source-url> The source I'm trying to get from is an Azure artifacts feed, and so ...
MLavrentyev's user avatar
  • 1,970
1 vote
1 answer
892 views

Is it possible to headlessly install the .NET 7 SDK on a fresh instance of Windows Server 2022 via powershell or batch script? My goal is to spin up a new Instance and then be able to install and ...
Philip Pittle's user avatar
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
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
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
13 votes
4 answers
20k views

I'm trying to install the dotnet-ef tool via the dotnet-cli. The command that I enter: dotnet tool install --global dotnet-ef It gives me the following error: C:\Users\%USERNAME%\AppData\Local\Temp\...
Abby's user avatar
  • 131
2 votes
2 answers
4k views

In a Azure Devop Build, I'm using a tool(https://github.com/tomchavakis/nuget-license). I want this tool to be installed in my Azure Devop Agent. I've created this task in my YML: - task: CmdLine@2 ...
J4N's user avatar
  • 21.1k
1 vote
0 answers
1k views

One of our projects runs dotnet tool restore as part of its postbuild step. On CI this build step is run multiple times in concurrent pipeline stages (not ideal but it's what we're working with...). E....
elwyn's user avatar
  • 10.6k
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
1 vote
1 answer
35 views

enter image description here After installing Vuejs in the servicestack then run the project it shows error like this.kindly give a solutions
Sathiya S's user avatar
0 votes
1 answer
569 views

Machine: Windows 10. SDK: 5.0.401 Project Type: webapi Issue: Running dotnet build produces the following... Things I've already tried: resmon.exe => to look for either the apphost.exe handle ...
Realm Of Code's user avatar
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
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
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
285 views

I have an MSBuild project with a target that depends on a .NET tool (let's call it do-stuff-tool). .NET tools can be installed globally and/or locally, and developers using the MSBuild project may ...
NotRelevant's user avatar
11 votes
4 answers
4k views

Looking to get the following setup going: I'm working on a Blazor app, and with the official css isolation bundler. I'm using Less though, and installed a Less transformer which creates the required ...
Sossenbinder's user avatar
  • 5,370
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
1 vote
1 answer
252 views

I have to netstandard2.0 projects: projectA/src/client/client.csproj projectB/src/lib/lib.csproj project A client reference project b lib like: ... <ItemGroup> <ProjectReference ...
VoidName's user avatar
  • 422
24 votes
4 answers
22k views

Unable to build .Net .sqlproj using "dotnet" command line tool. Here's the error: dotnet\sdk\3.1.300\Microsoft\VisualStudio\v11.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" was not found I ...
Raza's user avatar
  • 310