SucCompiler

Download

(tools are being rewritten so this is now out of date)
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


1 comment:

  1. Hi there! I know this is kinda off topic however , I'd figured I'd ask. Would you be interested in trading links or maybe guest authoring a blog article or vice-versa? My blog addresses a lot of the same subjects as yours and I believe we could greatly benefit from each other. If you happen to be interested feel free to send me an e-mail. I look forward to hearing from you! Superb blog by the way!
    brochure printing services 

    ReplyDelete