Open PiezPiedPy opened 6 years ago
Idea - wouldn't it be better for the future to only include actual code in the repo. I mean, I've kinda been developing by myself with not ever considering others so I just dumped all the VCS project files up here.
Leaving only the source means new contributors have to set up their own solution which means importing the source files into their solution, then adding references and also setting output directories etc. Also there is high risk of the Assembly version not being set up correctly, unless of course that file remains with the source.
Personally I think it's better for new contributors who use VS to be able to just click on the .sln file and all is ready to go. The only thing they have to do is set their Env variable to the KSP directory they wish to use.
We use this system with Kerbalism and Trajectories and also have build scripts to build the Release.zip for Release builds and for Debug builds generate the mono-debug .mdb file for debugging with Unity if contributors wish to integrate Unity into their debugging scheme. See https://github.com/steamp0rt/Kerbalism/tree/master/buildscripts
Hard-coded file paths in Visual Studio .csproj file have been removed and replaced with an Environment variable $KSPDEVDIR.
Also brought the .csproj file up to date with these changes:
Removed local build files from repo and added .gitignore and .gitattributes files.