Skip to content

Instantly share code, notes, and snippets.

@mrvux
mrvux / NugetRepository.cs
Created Oct 18, 2017
Simple local nuget repository cheat sheet, create/add/list/search/install and uninstall packages
View NugetRepository.cs
/* Simple example to use a few nuget core functions to manage a local repository
*
* Example needs System.Windows.Forms reference, as well as Nuget.Core nuget reference.
*
*/
using NuGet;
using System;
using System.Collections.Generic;
using System.Linq;
View Domain Snippet
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Author>Julien Vulliet (julien@mrvux.com)</Author>
<Description>Snippet to create a simple domain primitive</Description>
<Title>Domain Primitive</Title>
<Shortcut>domainPrimitiveClass</Shortcut>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>