-
-
Save stirno/c3eddfb7300020e3f2fb to your computer and use it in GitHub Desktop.
Debugging a PVC Plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Pull source for pvc | |
git clone https://github.com/pvcbuild/pvc.git | |
2. Build source. | |
3. Add reference to your compiled plugin. | |
4. Open Pvc.CLI/Commands/TaskCommand.cs, add your plugin to the scriptcs context after 'services.Executor.Initialize(assemblies, scriptPacks);' | |
services.Executor.AddReferenceAndImportNamespaces(new[] { typeof(PvcPlugin) }); | |
5. Run debugger, step into your plugin and make things happen. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment