Wednesday, September 14, 2016

Configuring Enterprise Library for Visual Studio 2015

If you are using Visual Studio 2015 for your development, you may encounter a problem with downloading NuGet packages while running the install-packages.ps1 PowerShell script that comes with the Microsoft Enterprise Library 6 download (

Well, the reason this occurs is because Microsoft Enterprise Library 6.0 still ships with v. 2.0 of NuGet.exe!

Therefore, when it attempts to connect to the NuGet server, it inevitably fails!

So how do you resolve this issue?

First of all, go ahead and download the latest version of NuGet.exe from the NuGet distribution site:

Then, you need to place the latest version of the NuGet.exe executable in the .nuget folder that was originally created when you ran the install-packages.ps1 PowerShell script.

Now, when you re-run the PowerShell script, it should successfully download the NuGet packages!

No comments:

Post a Comment