Questions tagged [nuget-console]

6 questions
3
votes
1 answer

How to update multiple packages to a desired version in single nuget cli command?

From Nuget CLI is it possible from a single command to upgrade multiple packages to the desired version? I know we can do nuget.exe update "FooBar.sln" MyPackage -Version 1.0 but what if I want to update 2 packages to 1.0? This still updates to…
Nikhil Agrawal
  • 47,018
  • 22
  • 121
  • 208
2
votes
1 answer

How I can set nuget package allowedversion only at solution level?

I use VS 2015 and .net 4.5 web project with 15 project. I use by example a package in a couple of projects of my solution and each time I need to change the version for a specific version I need to open the package.config for each projects add…
jboo
  • 364
  • 6
  • 14
2
votes
0 answers

Errors when opening Nuget Package Manage Console

Whenever I open the package manager console in new VS 2017 session, it shows the below two error messages, and the for all intents and purposes operates normally. At least for vanilla commands like Install-Package. Join-Path : Cannot convert…
ProfK
  • 49,207
  • 121
  • 399
  • 775
0
votes
1 answer

How to set Package Manager Console to appear automatically

When I used to use vs2015, the package manager console would always appear at the bottom when opening a solution. I'm currently on vs2017, and wheneever I open a solution I need to open the console manually. How can I set this to appear by default…
Bassie
  • 9,529
  • 8
  • 68
  • 159
0
votes
1 answer

Find Package with source parameter is not working to get the current versions of all the nuget packages

Find Package with source parameter is not working to get the current versions of all the nuget packages Find-Package -Source "C:\Users\P10410559\source\repos\WebApplication4\WebApplication4\packages.config" Error getting as : Find-Package : The…
0
votes
1 answer

Why do I get a back-ground thread 'Invoke' warning when I install a NuGet package?

This happens at least once a day, without visibly interfering with any other aspect of the packages facet of this project. When I enter an install-package command, this is the package manager's response in the console: PM> Install-Package…
ProfK
  • 49,207
  • 121
  • 399
  • 775