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

Latest commit

 

History

History
59 lines (35 loc) · 1.6 KB

README.md

File metadata and controls

59 lines (35 loc) · 1.6 KB

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