- #SPORTTRACKS 3 REPLACEMENT INSTALL#
- #SPORTTRACKS 3 REPLACEMENT UPDATE#
- #SPORTTRACKS 3 REPLACEMENT CODE#
#SPORTTRACKS 3 REPLACEMENT UPDATE#
The spreadsheet contains several plugins, each with a separate sheet. The generally used "master copy" of the spreadsheet is a Google Spreadsheet document. The master Resources.resx and StringResources.resx files must be updated correctly for each plugin, the i18.pl script described below updates the translations with the info from the spread sheet. resx files are generated from the source. The master copy for translations is done in a Spreadsheet, the.
#SPORTTRACKS 3 REPLACEMENT INSTALL#
If you have Cygwin with perl installed, the version number is set on the install package too. This should be automatic if you have 7-zip installed in the standard location, otherwise edit the paths. The build event copies the built files to "%ALLUSERSPROFILE%\ZoneFiveSoftware\SportTracks\2.0\Plugins\Update" (similar for ST3) automatically, so you can have ST running while building, just restart when you want to use the new binaries.
To continue the ST2 builds, use the last ST2 commit or reenable the ST2 build:
#SPORTTRACKS 3 REPLACEMENT CODE#
Many new functions only works with ST3, but the code base is the same. Where there was a difference, the code was compiled with "#ifdef ST_2_1". Until December 2010, the plugin supported both ST2 and ST3. This solution was contributed by old_man_biking on the SportTracks forum. You must adjust the Solution properties when using a configuration the first time, otherwise your project will not be build.There are build warnings that all references cannot be found at builds (if both ST2 and ST3 are supported).At startup, VSE warns that files are imported (can be avoided by adjusting the registry).Note the following issues with the setup: sln must be updated manually (you probably want to use your own. csproj contains a few specific settings and the specific files for the plugin only. See one of the project files as an example.Įach. The same setup can be used in other plugins too, done in MiscPlugin, !ST2Funbeat, Trails, ActivityPicture, NordicMaps (), ApplyRoutes and Matrix (on CodePlex), as well as patches for ExportCrs, HTML Export Plugin and CSV Import. References to SportTacks libraries etc are dependent on the ST version.Some common build actions (a few common files).Program paths etc uses environment variables.To achieve this in a simple way, the common paths etc are separated to a common file: This project is adapted to be used without user changes. The solution file can be considered as a template only (use your own copy). For most plugins any version after 2008 (including Express) should happily work with the projects. MS Visual Studio 2017 (Community edition sufficient) is required for a few C#7 syntacxes in a few plugins. Please sign up to the Developer Network before working with ST plugins (legal requirement). The ST plugin API is described on the SportTracks site. The plugins shares code in addition to the project setup. Some specific notes for gps-running plugins, as well as many other plugins gerhard is involved in.
See for instance here for more information about developing ST plugins. This is not a general SportTracks plugin description.