Using Nuget Package Manager Dialog in Visual Studio 2013 - visual-studio-2013

I have set up a new package source in the Nuget Package Manager in Visual Studio 2013. The package source is our Teamcity Nuget Server. When I try to retrieve our Nuget packages from Teamcity from the Package Manager Dialog nothing is retrieved, but when I use the Package Manager Console all our packages is listed. When I use the Console I can see in Fiddler that the package source url is called, but when I use the Package Manager Dialog the package source url is not called.
I have tried to uninstall and install the Nuget package Manager extension, but that didn't work.
We use the Teamcity Nuget Server public feed url for retrieveing package information.
I'm running VS 2013 as Administrator.
Have any of you experienced the same and found a solution?

The problemm solved itself by restarting Teamcity!

Related

Visual Studio Code - Not able to upload nuget packge that is created locally on my computer

So I have written two programs(Main program and Calculatorlib) on Visual Studio Code where I have created package locally for one of the programs(Caluclatorlib)by using the command dotnet pack.
The package Calculatorlib_package.3.0.0.nupkg is created locally.
However I want to upload this package on visual studio code from my local computer so that I can give Package Reference to Main program.
I don't see any options to upload this on visual studio code.
But in Visual studio I see there is an option called "Manage Nuget packages" where we can go and upload locally created packages.
Can someone guide me how to do this?
Try adding your local package location as a Nuget package source. You should be able to add a Nuget package source using the package configuration , and add the location of the directory when you have the Nuget package locally.

Even with Nuget.exe 4.1.0 - Serilog already has a dependency defined for 'Microsoft.CSharp'

I know there's an answer for this question from 2016 but it's not working today. I have VS2013 with the latest CU installed.
My Nuget package source settings:
I want to install the nu-get package "Serilog.Sinks.MSSqlServer". First, I ensure nuget is up to date by navigating to the ".nuget" folder of the solution's folder and running "nuget update -self":
Unfortunately, I still get the error when trying to add the package:
If I try to update nuget from the "Extensions and Updates" page of VS then I get a 403 error as shown below:
The 403 does suggest a proxy issue but other packages can be installed to the same dev box ok. I just installed "Apache log4net" from the Manage NuGet Packages window - no problem
Any ideas of a work-around for this please?
This might be related to the fact that you now (with the new NuGet CLI tool version) need to use the new NuGet API.
from nuget.org
NuGet feed v3 (VS 2015 and later / NuGet v3.x and above): https://api.nuget.org/v3/index.json
NuGet feed v2 (VS 2013 and earlier / NuGet 2.x): https://www.nuget.org/api/v2
You can check (and edit) your NuGet Package Sources under Tools, Options, NuGet Package Manager, Package Sources.
#Rob Bowman, in response to your comment and looking at the screenshot of your Available package sources, try edit your default nuget.org to https://api.nuget.org/v3/index.json or add a new source and make sure they're both enabled. Maybe that'll do the trick.
Update: maybe manually updating the NuGet Package Manager (since updating it through Extensions and Updates is not working) solves the problem. NuGet Package Manager for Visual Studio 2013.
Going to Visual Studio menu Help, About should display the currently installed version of this extension (and others).
To fix this I had to:
logon to a PC not connected to the corporate proxy
download the latest version of the nuget package manager (VSIX) for VS2013 from https://marketplace.visualstudio.com/items?itemName=NuGetTeam.NuGetPackageManagerforVisualStudio2013
copy the VSIX to my corporate dev VM and install

How to restore the packages from my own server instead of nuget.org in asp5?

Is it possible to restore the packages from own server instead of nuget.org site in asp 5 application ?
suppose i have package called mynewpackage which i have added in dependencies in project.json file. i have to restore this packages from own server instead of nuget.org site when do dnu restore
please suggest me an idea to do this
-Guru
First of all, you have to install a nuget repository to your server. You can follow the step described here
Then open Visual Studio and go to Tools -> NuGet Package Manager -> Package Manager Settings
Then add your nuget repository as you see in the image below, and you are ready

Nuget Cannot find most packages

I've installed Nuget Package Manager for Visual Studio 2015, yet when i try to install most packages I am met with the following error. Any ideas what this issue is would be greatly appreciated...
Your package source, in the drop down at the top left of the Package Manager Console, is currently set to Microsoft and .NET. If you change it to be nuget.org then it should work.
The Microsoft and .NET package source contains the NuGet packages that Microsoft supports which is subset of the packages available from nuget.org.
In Visual Studio go to the Tools -> Options menu, expand NuGet Package Manager, and then click on Package Sources. Ensure "Microsoft and .NET" is checked in the Machine-wide Package list.
When you next start the Package Manager make sure the Package Source dropdown at the top-right has a value selected.

Visual Studio can't find Nuget packages from private Nuget Server

I am running NuGet.Server v2.8.60717.93, hosted on Azure. The server is running correctly, and I am able to see all the packages if I go to the following url:
https://***.azurewebsites.net/nuget/Packages
I am also able to publish new packages to the server using Nuget Package Explorer.
I added https://***.azurewebsites.net/nuget as a Package Source in Visual Studio. However it can't find any packages, it just says No items found.
To my understanding, Nuget will set /Packages as default package folder unless otherwise is specified. I even tried to set packagesPath to ~/Packages, still no luck.
What am I missing?
Also have this problem the RSS feed of package is showing in the browser if I navigate to https://***.azurewebsites.net/nuget/Packages but no items found in visual studio.

Resources