nuget-package-restore Questions

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...

7

We have an in-house Azure DevOps 2019 server and I'm currently setting up a build for a new .Net6 solution whose projects reference various packages from both nuget.org and an in-house feed in our ...
Amnion asked 30/6, 2022 at 13:16

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

5

Solved

How to resolve Visual Studio (MSBuild) error message: Error occurred while restoring NuGet packages: "Invalid restore input. No target frameworks specified."
Greasewood asked 23/3, 2020 at 15:30

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...

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

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...

12

Solved

I am unable to install/restore nuget packages from a Visual Studio Team Services feed in an asp.net core web application (RC2). I receive the following: error: Response status code does not indi...

2

Solved

We have over 20 solutions in our main product portfolio (over 880 projects), and we have a complex set of build scripts that work well, but we are trying to automate the restore of nuget packages f...
Iridescent asked 15/11, 2017 at 17:15

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

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...

5

I'm trying to run a Unit Test project in Visual Studio (.NET Framework 4.72). The project is now building/running successfully, however there is still an error that the NuGet packages can't be rest...

3

I am using Visual Studio Version 8.10.8 (latest) in macOS Big Sur. I have cloned a repository of Asp .Net project. When I try to run the project I get NuGet packages need to be restored before bui...

42

Solved

I'm trying to use nopCommerce(Which is written in .NET Core) but when I want to run the project I face 52 Errors telling me Run a nuget package restore Assets file ~\obj\project.assets.json' no...
Rockafellow asked 25/1, 2018 at 10:4

3

I want to change NuGet package folder, but it does not change it. What I do is creating file nuget.config: <configuration> <config> <add key="repositoryPath" value="C:\projects\" ...
Conative asked 17/12, 2017 at 22:48

2

We have downloaded a project from TFS and after restoring Nuget packages we are getting below error: Error 5 The "ValidatePackageReferences" task could not be loaded from the assembly projectPath\...
Fiendish asked 30/10, 2017 at 23:25

1

I have a dotnet core project which builds fine locally but throws the following error many times: Retrying 'FindPackagesByIdAsync' for source 'https://mycontrol.pkgs.visualstudio.com/_packaging/f8...

1

Solved

I have inherited an old project (.NET web site with a .publishproj file!) that has project dependencies on other .NET class libraries. Everything is .NET 4.8. I am trying to run Add-BindingRedirect...
Anabelle asked 18/4, 2023 at 21:32

2

I have created cross-platform Xamarin Forms project and right after that I try to update or restore packages, but I am getting this error: Error occurred while restoring NuGet packages: Access t...
Faretheewell asked 14/12, 2017 at 17:22

3

Solved

How does one build a Docker image of a .NET 5/C# app so that the restored NuGet packages are cached properly? By proper caching I mean that when sources (but not project files) are changed, the lay...
Honaker asked 30/7, 2021 at 23:30

3

Currently I have a requirement where we have separate assemblies for contract and implementation. After creating a nuget package and attempting to consume nuget package, it fails because Package ma...
Ciri asked 7/12, 2017 at 16:49

2

We are using Wixtoolset V3.9 to build our setup. We use the following command to start a build: "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\msbuild.exe" /re...
Legalism asked 17/1, 2020 at 9:59

15

Solved

I am trying to restore the missing nuget packages and it keeps giving me this Error: An error occurred while trying to restore packages. Please try again. Any experience solving this? How can I ...
Furfuran asked 3/3, 2014 at 17:38

© 2022 - 2025 — McMap. All rights reserved.