Click here to Skip to main content
15,906,329 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Internet Speeds Pin
buffetboy29-Jun-17 4:02
buffetboy29-Jun-17 4:02 
GeneralRe: Internet Speeds Pin
hooodaticus29-Jun-17 5:16
hooodaticus29-Jun-17 5:16 
GeneralRe: Internet Speeds Pin
wheelman570z29-Jun-17 5:42
professionalwheelman570z29-Jun-17 5:42 
GeneralRe: Internet Speeds Pin
TNCaver29-Jun-17 6:36
TNCaver29-Jun-17 6:36 
GeneralRe: Internet Speeds Pin
OldTomas29-Jun-17 13:57
professionalOldTomas29-Jun-17 13:57 
GeneralRe: Internet Speeds Pin
PIEBALDconsult29-Jun-17 18:52
mvePIEBALDconsult29-Jun-17 18:52 
GeneralRe: Internet Speeds Pin
Stuart Dootson2-Jul-17 23:22
professionalStuart Dootson2-Jul-17 23:22 
GeneralMicrosoft <rant> docs <rant> Nuget <rant> PM Console <rant> Pin
raddevus28-Jun-17 3:56
mvaraddevus28-Jun-17 3:56 
Attempting to do a "simple" Nuget restore here in Visual Studio 2017.
No.
They've removed the option where you just click at the top of "Manage Nuget Packages..." window.
Why? To make your life more difficult, of course.

Try restoring from Package Manager (PM) Console?
You need help docs. Ok. You install them from the PM Console. Whatevs.
PM>get-help restore

Lists the following:
Name                              Category  Module                    Synopsis                    
----                              --------  ------                    --------                    
Enable-ComputerRestore            Cmdlet    Microsoft.PowerShell.M... Enables the System Restor...
Disable-ComputerRestore           Cmdlet    Microsoft.PowerShell.M... Disables the System Resto...
Get-ComputerRestorePoint          Cmdlet    Microsoft.PowerShell.M... Gets the restore points o...
Restore-Computer                  Cmdlet    Microsoft.PowerShell.M... Starts a system restore o...
Restore-IscsiVirtualDisk          Cmdlet    IscsiTarget               Restore-IscsiVirtualDisk... 
Restore-WebConfiguration          Cmdlet    WebAdministration         Restore-WebConfiguration... 
Restore-SqlDatabase               Cmdlet    SQLPS                     Restore-SqlDatabase...


Yes, I'm inside VS2017 and I'm supposedly looking at some helpful thing MS added so I can run some nuget commands via powershell so everything is easy. Here it allows me to do a Restore-Computer.
Whatevs!

Try
PM> Install-Package packages.config

Nope.
That doesn't do the restore. Just reports that the items are installed.

Ok. Google.
Find this:
NuGet Package Restore | Microsoft Docs[^]
Page down to the part where it tells you how to do a command-line nuget restore.
Hahaha!! hilarious. It tells you how to do this but not where Nuget.exe is installed.

Fire up a Visual Studio Command prompt (running as admin)?? Unsure | :~
Nope. Nuget isn't available from there.

You can't get there from here. Dead | X|

EDIT -- SOLVED! But still terrible
Okay, so I was in a solution with two different projects and now amount of cajoling to Visual Studio would show the "Restore Packages" thing.

An CPer made an offhand remark about "multiple projects" and restore so I opened the target project in it's own copy of Visual Studio 2017 and went to "Manage Nuget Packages" and lo and behold!!! The restore option appeared at the top.
Still terrible, Microsoft!!!

modified 28-Jun-17 10:26am.

GeneralRe: Microsoft <rant> docs <rant> Nuget <rant> PM Console <rant> Pin
Kornfeld Eliyahu Peter28-Jun-17 4:00
professionalKornfeld Eliyahu Peter28-Jun-17 4:00 
GeneralRe: Microsoft <rant> docs <rant> Nuget <rant> PM Console <rant> Pin
raddevus28-Jun-17 4:05
mvaraddevus28-Jun-17 4:05 
GeneralRe: Microsoft <rant> docs <rant> Nuget <rant> PM Console <rant> Pin
Kornfeld Eliyahu Peter28-Jun-17 4:08
professionalKornfeld Eliyahu Peter28-Jun-17 4:08 
GeneralRe: Microsoft <rant> docs <rant> Nuget <rant> PM Console <rant> Pin
raddevus28-Jun-17 4:27
mvaraddevus28-Jun-17 4:27 
GeneralRe: Microsoft </rant> docs </rant> Nuget </rant> PM Console </rant> Pin
OriginalGriff28-Jun-17 4:06
mveOriginalGriff28-Jun-17 4:06 
GeneralRe: Microsoft </rant> docs </rant> Nuget </rant> PM Console </rant> Pin
raddevus28-Jun-17 4:09
mvaraddevus28-Jun-17 4:09 
GeneralPayPal Are Sunshines Pin
Michael Martin28-Jun-17 3:39
professionalMichael Martin28-Jun-17 3:39 
GeneralRe: PayPal Are Sunshines Pin
Kornfeld Eliyahu Peter28-Jun-17 3:45
professionalKornfeld Eliyahu Peter28-Jun-17 3:45 
GeneralRe: PayPal Are Sunshines Pin
lopatir28-Jun-17 4:31
lopatir28-Jun-17 4:31 
GeneralRe: PayPal Are Sunshines Pin
xiecsuk28-Jun-17 22:07
xiecsuk28-Jun-17 22:07 
GeneralRe: PayPal Are Sunshines Pin
RJOberg28-Jun-17 4:50
professionalRJOberg28-Jun-17 4:50 
GeneralRe: PayPal Are Sunshines Pin
OriginalGriff28-Jun-17 5:06
mveOriginalGriff28-Jun-17 5:06 
GeneralRe: PayPal Are Sunshines Pin
Michael Martin28-Jun-17 5:40
professionalMichael Martin28-Jun-17 5:40 
GeneralRe: PayPal Are Sunshines Pin
OriginalGriff28-Jun-17 5:57
mveOriginalGriff28-Jun-17 5:57 
GeneralAnother one has gone! Pin
glennPattonWork328-Jun-17 2:51
professionalglennPattonWork328-Jun-17 2:51 
GeneralRe: Another one has gone! Pin
Chris Quinn28-Jun-17 4:08
Chris Quinn28-Jun-17 4:08 
GeneralRe: Another one has gone! Pin
RJOberg28-Jun-17 4:53
professionalRJOberg28-Jun-17 4:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.