This topic has been up before, but I like to bump it up again, and possibly add a few more aspects to consider.
Currently we use old G120 chips running TinyCLR 1.0, but we are on the verge of migrating to SCM20260 and TinyCLR 2.x, so this issue is current, even if it would be nice to have something work on the old platforms as well.
As of now we need to first deploy to a unit and then extract the TCA-file from the unit.
As we are modernizing our development we now need to make an automatic build process, and this seems to be a hassle if we need to go through the forementioned process.
Using TinyCLR 1.0 it was possible to reuse libraries from TinyCLR Config to use when deploying copies of the tca-files to new units. With this we could create our own command-line interface and make an automated process with a G120-unit connected to a build server somewhere. Since I know TinyCLR 2.x has been rebuild and is no longer based on NetMF I am not sure you’d let use reuse the libraries for using in our own tools the same way anymore. I havn’t began looking at this yet. Regardless, doing this solution seems like a hassle if there just was a way to compile the libraries and .exe-file from the visual studio bin-folder directly to a TCA-file.
I am no wizard, so this might be over my head to do myself, but is it possible that someone has already made a tool for this? Or if not, is there any documentation describing this process so that I might delegate the task?
Some guy at GHI obviously made this process automatic inside the chip. I am sure it would only be a 10 minute job to lift out that same logic and make it a stand alone app. A few more minutes to make it a built in selectable option directly into the visual studio extension.
My uneducated guess is that the files are more or less just merged together back to back, like with a compression tool, but uncompressed since the bin-folder is practically the same size as the TCA-file.
If this can be accomplished it would help us a lot, and it seems we are not the only ones.
Cheers, Tintin - OilQuick AB, Sweden