nuget Questions

7

Solved

I am writing a YAML pipeline that should publish a NuGet package. When coming to the deployment job I get a warning: "No packages matched the search pattern." The package is there and it is confir...
Costume asked 13/3, 2020 at 23:22

27

Solved

All of a sudden, I am getting the following errors for 3 projects in a solution: Error NU1105 Unable to find project information for 'C:\code\example\src\libs\example.I18n\example.I18n.csproj'. Th...

6

I try to add (override) a private nuget source to my build script in order to add the user/pw - and keep it out of my source control. What I tried so far: nuget is not recognized as command insid...
Gag asked 12/8, 2019 at 13:32

8

Solved

I have just created a workspace on a new machine, got latest of our project from TFS, enabled NuGet Restore, and I get the following (skimmed-down) output: 1>------ Rebuild All started: Project...

12

I'm trying to update all NuGet packages for a solution in VS Code (using Mac). Is there a way to achieve that in VS code or for a specific project.json file? At the moment I'm going one by one but ...
Rockett asked 10/12, 2016 at 21:57

4

Solved

I'm part of a project where we use packages.config files for NuGet packages in Visual Studioe and then include each package dependency through the Import statement in our project files. This works...
Abele asked 30/5, 2018 at 7:47

4

I uninstalled Visual Studio 2019 and installed it as 2022. I reinstalled Flutter. When building Flutter desktop, the following problem is repeated. If I run it in another project, it works without ...
Fritzfritze asked 4/4, 2022 at 8:23

3

Solved

I have created a NuGet package libtidy which is pushed to a Team Services feed. When I try installing via the NuGet console I get the error Failed to add reference to 'libtidy' I have read ...
Athalia asked 17/5, 2016 at 10:42

4

The package CacheManager.Core with version 1.0.1 could not be found in C:\Users\username\.nuget\packages\. Run a NuGet package restore to download the package. but my project is in D: drive. all of...
Cockleboat asked 21/10, 2018 at 22:59

5

Solved

When I run dotnet restore --interactive it keeps sending this error: error NU1301: Unable to load the service index for source https://www.nuget.org/api/v3/index.json But when I checked out my sou...
A1 asked 1/8, 2022 at 2:18

2

Solved

I'm trying to automatically add (nuget) references to my (C++) visual studio 2017 project using CMake. In this question, VS_PACKAGE_REFERENCES is suggested, available from CMAKE 3.15. So, I've add...
Piezochemistry asked 20/5, 2020 at 9:35

4

Solved

I try to learn Github action and packages. So, I create a sample nuget package and successfully created. However I could not use it. I follow this step; Options > Nuget Package Manager > Package...

13

Solved

Running the command nuget.exe restore .\MySolution.sln gives this error: Unable to find version '1.0.0' of package 'Microsoft.Net.Compilers'. where the package has previously been installed and ...
Syllepsis asked 3/8, 2016 at 3:47

3

I am trying to install the latest Microsoft.EntityFrameworkCore 6.0.3 into a class library project targetting netstandard2.1 using Nuget Package Manager and I get this error: Package Microsoft.Ent...
Rabblerouser asked 11/3, 2022 at 20:29

1

After booting up my PC I tried to continue using a previous project I had been working on: ASP.NET MVC Core 6.0. All of a sudden Microsoft.EntityFrameworkCore was not installed in the solution. Aft...
Louisalouisburg asked 3/6, 2022 at 2:2

5

after upgrade to .Net Core 2.1.1 I got this error: C:\Program Files\dotnet\sdk\2.1.301\NuGet.targets(114,5): error : An error occurred while retrieving package metadata for 'System.IO.4.3.0' fro...

6

I'm following the tutorial at https://learn.microsoft.com/en-us/dotnet/core/docker/docker-basics-dotnet-core#dockerize-the-net-core-application in learning to containerise .net core applications in...
Cookout asked 31/8, 2018 at 10:49

14

Solved

I get an error: User XXX lacks permission to complete this action. You need to have 'AddPackage' when trying to push a nuget package to Azure DevOps artifacts. I am the administrator This is the...
Gurolinick asked 9/11, 2019 at 15:34

6

Solved

Is there some way to make a NuGet package using code compiled in release mode? Or is there some reason I should only publish (make available locally, in this case) packages compiled in debug mode? ...
Arak asked 30/6, 2011 at 14:48

13

Solved

I'm using VS2019 Pro v16.3.5 I have a solution containing an Azure functions project which references several class library projects. The top-level project fails to compile with the following er...
Forfeit asked 22/10, 2019 at 18:25

6

Solved

I have a bunch of small C# projects which use a couple of NuGet packages. I'd like to be able to update version of a given package automatically. More then that: I'd like to be warned if a project ...
Matlick asked 7/11, 2014 at 1:36

2

Is there a way to install Nuget Packages globally? I have a Nuget Package that I would like to use across multiple projects without having to download for each project? Each project will have its...
Pelorus asked 15/11, 2015 at 1:1

2

Solved

I'm on macOS using dotnet cli version 6.0.403, running dotnet restore on a .csproj and getting the following nuget restore errors which I don't understand. From what I can see all the requests for ...
Inaction asked 15/2, 2023 at 17:5

7

When building, from a dockerfile, I get this: /usr/share/dotnet/sdk/3.1.102/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(234,5): error MSB4018: The "ResolvePackageA...
Crotch asked 24/3, 2020 at 16:17

10

When I try to compile my program I get the following error: This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more inf...

© 2022 - 2025 — McMap. All rights reserved.