View calls.txt
[no Search()] nuget.exe list
[no Search()] nuget.exe list -allversions
[no Search(), no IsAbsoluteLatestVersion] nuget.exe list
[no Search(), no IsAbsoluteLatestVersion] nuget.exe list -allversions
GET /api/v2/Packages HTTP/1.1
GET /api/v2/Packages?$skip=100 HTTP/1.1
[no Search()] nuget.exe list -allversions -prerelease
[no Search(), no IsAbsoluteLatestVersion] nuget.exe list -allversions -prerelease
GET /api/v2/Packages()?$orderby=Id&$skip=0&$top=30 HTTP/1.1
View VersionConventions.md

NuGet Package Version Conventions

CI packages and release packages

A common pattern for NuGet package versions is producing two sets of .nupkgs for every CI build. That is two sets of functionally equivalent packages produced from the same source. Two sets are:

  1. CI packages: a NuGet package version that is suffixed with a build number. This allows bleeding edge consumption of the latest APIs or fixes. These packages are typically pushed to a development package feed like VSTS or MyGet. Example version numbers: 4.0.0-rc-2046, 3.5.0-rtm-1996, 3.5.0-beta2-1543
View index.html
<script src="https://gist.github.com/joelverhagen/1850654.js"></script>
View NuGetXplatLogVerbosity.txt
dotnet run -- restore C:\Users\jver\Desktop\Test\dotnetnew5 --verbosity minimal
log : Restoring packages for C:\Users\jver\Desktop\Test\dotnetnew5\project.json...
log : Installing System.Text.Encoding 4.0.0.
log : Installing Microsoft.NETCore.Targets.DNXCore 5.0.0-rc2-23704.
log : Installing Microsoft.NETCore.Windows.ApiSets 1.0.1-rc2-23704.
log : Installing System.IO 4.0.0.
log : Installing System.Reflection.Primitives 4.0.0.
log : Installing Microsoft.NETCore.Targets 1.0.1-rc2-23704.
log : Installing Microsoft.NETCore.Runtime.CoreCLR 1.0.1-rc2-23704.
View NuGetXplatSummary.txt
info : Restoring packages for C:\Users\jver\Desktop\Test\errors\ConsoleApp1\src\ConsoleApp1\project.json...
info : Installing System.Security.Cryptography.Encryption 4.0.0-beta-23109.
info : Installing System.Reflection.Primitives 4.0.0-beta-23109.
info : Installing System.Reflection 4.0.0-beta-23109.
info : Installing System.Globalization 4.0.0-beta-23109.
info : Installing System.Private.Uri 4.0.0-beta-23109.
info : Installing System.Diagnostics.Debug 4.0.0.
info : Installing System.Private.Uri 4.0.1-beta-23516.
info : Installing System.Security.SecureString 4.0.0-beta-23109.
info : Installing System.Threading.ThreadPool 4.0.10-beta-23109.
View NuGetXplatErrorSummary.txt
info : Restoring packages for C:\Users\jver\Desktop\Test\errors\ConsoleApp1\src\ConsoleApp1\project.json...
error: System.Console 4.0.0-beta-23516 provides a compile-time reference assembly for System.Console on DNXCore,Version=v5.0, but there is no run-time assembly compatible with win7-x64.
error: System.Threading 4.0.11-beta-23516 provides a compile-time reference assembly for System.Threading on DNXCore,Version=v5.0, but there is no run-time assembly compatible with win7-x64.
error: System.Dynamic.Runtime 4.0.0 provides a compile-time reference assembly for System.Dynamic.Runtime on DNXCore,Version=v5.0, but there is no run-time assembly compatible with win7-x64.
error: System.Linq.Expressions 4.0.0 provides a compile-time reference assembly for System.Linq.Expressions on DNXCore,Version=v5.0, but there is no run-time assembly compatible with win7-x64.
error: System.Security.Cryptography.Algorithms 4.0.0-beta-23516 provides a compile-time reference assembly for System.Security.Cryptography.Algorithms on D
View Demo.cs
// Try it out: http://ideone.com/Aubx5H
using System;
namespace Knapcode.KitchenSink.Extensions
{
public static class UniversalExtensions
{
public delegate bool TryGetValue<in TInput, TOutput>(TInput input, out TOutput value);
View RedirectingHandler.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Knapcode.Http.Handlers
{
View LibGit2SharpPerformance.cs
using System;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Text;
using LibGit2Sharp;
namespace LibGitTest
{
internal class Program