SucCompiler

Download

Download from: http://www.sucklead.com/dcotetools/SucCompiler.zip

You also need to get hold of the Roslyn components using nuget as follows:

First download the nuget.exe from codeplex:
http://nuget.codeplex.com/downloads/get/412077

Place both files in your Scripts directory

Get Roslyn components

Open a command line in you scripts directory and enter the following:
set EnableNuGetPackageRestore=true

Then run the following to download the components:
nuget.exe install Roslyn.Compilers.CSharp

This will download the required components and give you two directories:
Roslyn.Compilers.Common.1.2.20906.2
Roslyn.Compilers.CSharp.1.2.20906.2
From these folders move  the following files into the Scripts\ directory:
Roslyn.Compilers.Common.1.2.20906.2\lib\net45\Roslyn.Compilers.dll
Roslyn.Compilers.CSharp.1.2.20906.2\lib\net45\Roslyn.Compilers.CSharp.dll

You can now delete nuget.exe and the 2 new directories.

Description

This is used to compile the .hfs files into .bin files.

Usage

Easiest way is to compile everything in the src directory into the bin directory like this:
SucCompiler.exe src bin

To compile just one file use the following format:
SucCompiler.exe src bin src\scripts\general\generalprelevelsetup.hfs


No comments:

Post a Comment