Developing with Visual Studio - TiberiumFusion/TTPlugins GitHub Wiki
This section explains how to use Visual Studio (2017) to develop plugins with advanced features and debugging tools.
Why use Visual Studio? (or any IDE)
By using an IDE like Visual Studio to precompile your plugin, you have control over the output plugin assembly and can enjoy the increased productivity of your IDE's workflow. If you want your plugin to do advanced things, like add new weapons, items, or NPCs to Terraria, you will need to precompile your plugin.
For more details on the benefits and drawbacks of precompiling your plugin, please refer to the article Precompiling your plugin.
Subsections
- Creating a project for your plugin - This article is intended for beginners to Visual Studio and demonstrates how to correctly set up a project to compile your plugin.
- Embedding resources in your plugin - This article shows how to embed resources into your plugin assembly and retrieve them in your plugin code.
- Source code debugging - This article explains how to configure your plugin to launch a debugger for line-by-line debugging.