PepperPlugin
===

Pre-requisites
---

To compile the PepperPlugin solution the nacl sdk is a pre-requisite and can be obtained here https://developer.chrome.com/native-client/sdk/download

You can find the install instructions for windows here: https://developer.chrome.com/native-client/sdk/download#installing-the-sdk.  
The install should be in the same directory level as the WebSharp checkout but not in it.

  - nacl_sdk/
  - WebSharp/
   
To get the actual source files you will need to install the ```canary``` bundle.  Open a command prompt and change into the nacl_sdk directory that was just created and execute the following code.

```> cd nacl_sdk```

```> naclsdk update canary```

The previous command will install the source files that the PepperPlugin solution will use to build the necessary assemblies.

PepperPlugin Solution
---

You should now be able to compile the solution provided.  Open the PepperPlugin.sln file found here https://github.com/xamarin/WebSharp/tree/master/PepperPlugin/src and select Build.

You can also use the command line from a Visual Studio 2015 Native Command Prompt.

```> cd WebSharp\PepperPlugin\src```

```WebSharp\PepperPlugin\src> msbuild PepperPlugin.sln```

The solution is setup to build the PepperPlugin.dll, PepperSharp.dll and the examples that can be found in the Examples directory. 

Examples
---

Examples can be found here:  https://github.com/xamarin/WebSharp/tree/master/Examples/api

To run the examples you will first need to install electron 1.2.x.  See the GettingStarted document for installing electron.  https://github.com/xamarin/WebSharp/tree/master/GettingStarted

Once electron is installed you can change into any of the directories and execute:

```WebSharp\Examples\api\WebSocket>electron .```

Create Readme for compiling project.
Create Readme for compiling project.