Skip to content

The Build File

mystborn edited this page Mar 1, 2018 · 1 revision

Right now, the build file is pretty bare-bones. Here is what's supported right now:

Output

This should be the name of the output assembly. This is the only required field. If you'd like the assembly to be output into a seperate path, you can prefix the name with the path. The assembly name should not end with .dll. Example: bin\LibraryName which will output the assembly in the bin folder with the name LibraryName.exe or .dll depending on whether or not the entry point was found.

References

This should be a list of Reference elements.

Reference

This should be a path to an assembly to include with your project.

Excludes

This should be a list of Exclude elements.

Exclude

This should be the path to a .tfs file you'd like to exclude from the compile process.

Mode

This determines the compile mode. The supported values are Debug and Release. The output assembly won't be particularly different, but Release mode allows the JIT to perform optimizations, while the Debug mode allows you to hook a debugger up to the assembly and step through the code to some degree. This defaults to Debug.

EntryPoint

This should point to the name of the entry point script. If the script is in a namespace, make sure that is included. Example: MyNamespace.EntryPoint. This defaults to main.

Assembly Info

These values can have a string value, but will always default to "". They get stored in the assembly, but currently serve no real purpose.

  • Product
  • Version
  • Company
  • Copyright
  • Trademark
  • Description
Clone this wiki locally