Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

OneGet/ProviderSdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Quoc Truong
Dec 11, 2015
be20cd7 · Dec 11, 2015

History

29 Commits
Mar 20, 2015
Mar 20, 2015
Dec 11, 2015
Mar 20, 2015
Nov 20, 2014
Mar 20, 2015
Mar 20, 2015
Jan 5, 2015
Jul 29, 2015
Dec 11, 2015

Repository files navigation

OneGet package provider Sample

Provider SDK for OneGet (C#)

Quick and dirty instructions:

Requires:

- vs 2013 
- YOU MUST BE RUNNING THE Experimental build of OneGet : http://oneget.org/install-oneget.exe 

procedure

Clone the project locally and you can then add an upstream remote:

    git clone https://github.com/YOURNAME/YOURPROJECT.git
   
    git remote add remote upstream https://github.com/OneGet/provider-sdk-cs.git
    

Once you build the provider script, run the install-provider.ps1 script and it will copy the assembly to the right spot.

Then:

# need to run the community build.
> ipmo oneget-edge 

# see if it loaded your provider assembly:
> get-packageprovider 

PS C:\root\oneget\output\v45\Debug\bin> get-packageprovider


Name                     Version          DynamicOptions
----                     -------          --------------
YourProvider           1.0.0.0          {}

When you need to, you can always pull updates to the OneGet provider SDK by simply:

    git pull upstream master