-
Notifications
You must be signed in to change notification settings - Fork 182
Using the development branch
In order to use the latest development version of Script#, you need to clone the Script# CC branch or download the entire CC branch as a zip.
Note: In the following sections, [cc] refers to the path where the development branch is cloned or extracted
In this step, we're going to create the Visual Studio extension to install Script# into Visual Studio along with the nuget packages comprising of Script# functionality.
- Start by opening the [cc]\src\ScriptSharp.sln solution file in VS 2012
- Build the release version to produce the Visual Studio extension under [cc]\bin\ScriptSharp.vsix
![S# Packages] (https://raw.github.com/theoutlander/scriptsharp/132d21006b78370901cff12f3e3668fb11dd8c31/images/tutorials/VSIXPath.JPG)
- It will also build the nuget packages comprising of Script# functionality under [cc]\bin\Zip\Packages project.
![S# Packages] (https://raw.github.com/theoutlander/scriptsharp/132d21006b78370901cff12f3e3668fb11dd8c31/images/tutorials/ScriptSharpPackages.JPG)
The Visual Studio extension for Script# will install the new set of project templates and Script# will show up as a project type under Visual C# projects.
- Double click [cc]\bin\ScriptSharp.vsix to install the extension.
![VSIX Path] (https://raw.github.com/theoutlander/scriptsharp/8afb4360b5ee7e2cccba7e275bd946ddc9b7d38e/images/tutorials/VSIX.JPG)
- In Visual Studio, Go to Tools -> Library Package Manager -> Package Manager Settings. This will bring up the options for package manager. Click on Package Sources, add a new source called Local S# Dev and point it to [cc]\bin\Zip\Packages.
![Package Source] (https://raw.github.com/theoutlander/scriptsharp/8afb4360b5ee7e2cccba7e275bd946ddc9b7d38e/images/tutorials/PackageSource.JPG)
- In Visual Studio, create a new project
- Under Templates->Visual C#, you'll now see the Script# project type
![S# templates] (https://raw.github.com/theoutlander/scriptsharp/8afb4360b5ee7e2cccba7e275bd946ddc9b7d38e/images/tutorials/NewProject.JPG)