nuget Questions

5

Solved

I recently tested the WPF UI library (https://wpfui.lepo.co/). I created a sample project, and that project targeted .NET 6.0. The sample project contained some basic Models and ViewModels, and in ...
Matz asked 27/9, 2022 at 9:15

2

I am getting following error : create_nuget The file '/home/runner/work/MyNugetPackage/MyNugetPackage/MyNugetPackage/bin/Release/net6.0/MyNugetPackage.dll' to be packed was not found on disk. This...
Endomorph asked 13/11, 2023 at 6:51

4

Solved

My organization has several nuget v2 feeds (.net app consuming nuget.server) for our internally developed packages and to re-host third party packages (since our build machines do not have internet...
Supersensual asked 9/11, 2015 at 18:45

4

I'm attempting to set up an Azure DevOps build pipeline against a .NET Framework 4.7.2 solution which contains a Visual Studio Installer Project. I've set up a self-hosted agent on a Windows Server...

2

Solved

This is very similar to the issue in this question: Local NuGet package dependencies - resolve from official Nuget feed? I have a local package whose latest update now has a dependency of Enterpri...
Deuterium asked 22/1, 2016 at 18:45

3

I installed VS2019 with .NET5 SDK on Windows 10. Today it stops working. VS2019 cannot build any .NET project, without showing any error. I tried to run dotnet build and dotnet restore. It hangs fo...
Scribe asked 17/9, 2021 at 1:55

5

Solved

How do I disable SSL certificate check with nuget command? PS C:\Softwares> .\nuget.exe list Unable to load the service index for source https://asd.ca/api/feeds. An error occurred while sendin...
Kyles asked 1/4, 2020 at 13:2

2

Solved

I have ArchLinux distro, I'm testing .Net SDK on Linux for the first time. I installed a trial version of JetBrains Rider IDE. I created new ASP.Net Core project, but I get this error message in th...
Griseous asked 11/2, 2018 at 12:43

2

Solved

I am building a tool package which depends on another NuGet package. As it is not an usual library, it must include all dependencies into the tools\ directory. I have the following csproj (only the...
Symbology asked 23/10, 2022 at 12:16

8

In my project, I was using class library. Now I made that class lib as a NuGet package, remove the class lib and when try to install the package this error appears:"An item with the same key has al...
Pull asked 14/7, 2015 at 12:4

3

This is not really a Duplicate to this question as the answers provided are not working and I am using Windows-7 on a MacBook using Bootcamp. I am getting the following error while trying to search...
Retinitis asked 18/4, 2022 at 13:8

3

Solved

In Terminal of Visual Studio Code, when I try to run: dotnet add package MicrosoftOfficeCore --version 15.0.0 I get the following error on Visual Studio Code terminal: error: NU1100: Unable to res...
Dooryard asked 7/7, 2021 at 9:50

11

I copied the following project from win 8.1 to windows 7 and deleted the Migration folder. Now when I run PM> Add-Migration MyFirstMigration -context BloggingContext command in VS2015 I get the ...
Caesarea asked 20/7, 2016 at 16:50

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

2

I am trying to build a dotnet docker image for linux/amd64 architecture on my Apple Silicon. It works for other architectures but it get stuck at "RUN dotnet restore" when building for li...
Stomacher asked 18/7 at 21:42

4

I am developing a private test harness that is split between a core library with a couple of extension plugins. The extension projects depend on a core library via a private MyGet feed so i can ju...
Sessile asked 23/5, 2017 at 16:40

7

In a project/solution with lots of <PackageReference> dependencies, it can be difficult to find the source of a transitive dependency that's being pulled in. For example, no projects in my so...
Kahaleel asked 5/6, 2020 at 22:51

10

I got an error NuGet package restore failed. Please see Error List window for detailed warnings and errors. while building my solution. Package manager can't restore my 2 projects: Unable t...
Guerrilla asked 19/9, 2018 at 7:47

12

Solved

After opened the project in another computer and run it on VS Code, the following problem occurred: C:\Program Files\dotnet\sdk\2.2.300\NuGet.targets(121,5): error : The local source C:\Program F...
Braswell asked 12/6, 2019 at 9:26

10

Solved

When I try to build my solution, I get the following error message: Severity Code Description Project File Line Suppression State Error This project references NuGet package(s) that are missing...
Brigidbrigida asked 25/12, 2015 at 18:36

2

Solved

I've looked at a ton of articles on this including here and here. None provide a solution that I can get to work. I have everything turned on for automatically doing this in VisualStudio. But on ou...
Powwow asked 29/12, 2020 at 17:1

6

I'm working on a project, and we need to know the version of a NuGet package we are using, and use it in the code. One way I tried was to read from the packages.config file, parse it for the packag...
Mickiemickle asked 13/1, 2016 at 19:47

0

I have a .NET MAUI app that I want to run unit tests against. I already have some MsTest tests but never could get the MsTest project to build. Enter Gerald versluis' fine video on how to do that h...
Selestina asked 27/6 at 21:27

4

This may seem as one of many similar questions, but I could not find the solution in other questions. I will jump straight to the binary log: And here is the respective subtree under the ResolveAs...
The asked 19/10, 2020 at 1:44

1

I want to publish a new version of a NuGet package, but I want it automatically in an Unlisted status. When I manually upload the .nupkg file to nuget.org, in the preview there is an option to unli...
Rerun asked 28/1, 2020 at 10:22

© 2022 - 2024 — McMap. All rights reserved.