Restore Private NuGet Feed Packages During Visual Studio Team Services Build

Update! As of February 2016, you should be able to use the standard “NuGet Installer” vNext build task. The New Way Add the Nuget Installer build task, which can be found under “Add build step” -> “Package”. You will need to supply a NuGet.config file with the address of your custom feed: <?xml version=”1.0″ encoding=”utf-8″?>Continue reading “Restore Private NuGet Feed Packages During Visual Studio Team Services Build”

Stop Visual Studio Prompting For NuGet Feed Credentials

With the imminent arrival of Visual Studio Online Package Manager, which lets us host NuGet (and other) packages on our Visual Studio Online account, it is almost certain that you are going to lose the plot when managing NuGet packages in Visual Studio and keep getting prompted for your account details (especially as the “RememberContinue reading “Stop Visual Studio Prompting For NuGet Feed Credentials”

Using Visual Studio Online PowerShell Build Step To Publish NuGet Package

Update! As of February 2016, you can now use the ready-made vNext NuGet Publisher step to do this and it is even easier. The New Way Add a new vNext build step using “Add build step…” -> Package -> NuGet Publisher. Select “Internal NuGet Feed” and paste in your feed url – job done. WithContinue reading “Using Visual Studio Online PowerShell Build Step To Publish NuGet Package”

Exclude NuGet Package Dependency From NuGet Package

I have been using the Create New NuGet Package utility for auto-generating NuGet packages for some time. You add this as a NuGet package to your project and It Just Works™. It uses your assembly information to generate the metadata so you don’t even need a nuspec file. The one thing you will want toContinue reading “Exclude NuGet Package Dependency From NuGet Package”

NuGet Packager Visual Studio Extension

This is a quick article that describes how to use the ace NuGet Packager Visual Studio Extension. Step One Download NuGet Packager using Tools > Extensions and Updates > Online (search for “NuGet Packager”). Step Two Add a new project to your solution, ideally name it exactly as you want your package to appear onContinue reading “NuGet Packager Visual Studio Extension”

Use NuGet to Satisfy Open Source License Conditions

If you haven’t started grabbing useful stuff via NuGet, you’re missing out. It is rare these days to find a .NET project that doesn’t have a bunch of NuGet packages to provide useful features such as JSON parsing or JavaScript frameworks or some other productivity enhancing library. And it is all mostly free and open-source!Continue reading “Use NuGet to Satisfy Open Source License Conditions”