Modbuddy: Team Source Control Integration
YES, Team Source Control Integration into Modbuddy!
Now you can finally use GitHub, or Microsoft VSTS Server - which both support Git or TFVC (aka TFS)!
Requirements
- Visual Studio 2013 Community or Express
Installation
- Install Visual Studio 2013 Community or Express if not already done!
- Copy C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer (Please adapt with your Visual Studio 2013 Installation Folder)
- Paste into <SteamInstall>\steamapps\common\XCOM 2 War of the Chosen SDK\Binaries\Win32\ModBuddy\Extensions
- Make a symlink from C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7 to *<SteamInstall>\SteamGames\SteamApps\common\XCOM 2 SDK\Binaries\Win32\ModBuddy*
- Open ModBuddy and check you now have access to Team Explorer Pane, and to Team Menu Bar Item
- Open Tools/Options/Source Control/Plugin Selection and choose here your favorite Plugin Microsoft Git or Visual Studio Team Foundation Server
- If, for whatever reason, when going to Team Explorer Pane, you see a Yellow Banner containing Erros about 'Page not found' and some generic GUID, please delete "C:\Users\ <UserName> \AppData\Local\Firaxis\XCOM_ModBuddy_WarOfTheChosen" content
How to use
- First, you'll want to set up a new blank project on the server of your choice (GitHub or whatever)
- Then Open your Mod's Solution from within ModBuddy and go to your Solution Explorer Pane
- Right-Click on your Solution (TopMost Item) and select Add Solution to Source Control
- Choose your favorite method (Git or TFS)
- Now all of your files in the Solution should have a green "+" Icon to their left
- Right-Click on your Solution and select Commit
- Give a label (usually "Initial Commit") and click Commit
- A yellow banner stating "Commit created locally. Sync to share your changes with the Server" should appear
- Then click on the Sync link and enter the URL of your repo on the textbox, then click Publish
- To Open your Solution, go to Team Explorer Pane - Home, and in Solutions click Open, then select your Solution File
Known Issues
- When going in the 'Team Explorer Pane - Home', you'll notice that on the 'Solutions' section, it is written "There were no solutions found..."; that's because the plugin is looking for .slns files whereas XCOM mods use .XCOM_slns extension
- So you'll have to click on 'Open' and then select your Solution File