You know I often wonder why I bother wasting many hours out of my life trying to get things working and fighting against incomplete documentation and unstated assumptions. It seems that when people write documentation they simply have an existing setup that works and assume everyone else either knows what they know or have their system setup as they do. This is rarely, if ever the case!!! Rant over.
I have VS Code, I have loaded the extensions and with a dot net generated hello world can run and debug the project.
So now I go to say CS|Examples|Decode C:\Users\[user]\Documents\Applications\FitSDKRelease_21.47.00\cs\Examples\Decode and open the folder.
According to VS Code, C# documentation the extension shuld automatically create the .vscode tasks.json and the launch.json file. It doesn't. (It did for the sample project!).
So can you please provide the sample tasks.json and launch.json files and/or explain what needs to be done for these to be autocreated.
Using my sample code I grabbed the DecodeDemo.cs source code and pasted it into the sample.cs source code ammending the namespace.
Of course this wants to reference the assembly Dynastream.Fit (lots or error messages). I assume I use the Dynastream.Fit.Portable.dll. But where do I put it and how do I create a reference to it. I'm assuming I need to edit the .csproj file? But nothing I tried works.
I've tried doing all this the other way round as well by opening the folder for the decode and trying to manually create .jsons etc, but I keep running into the assembly not referenced issue.
You make it all sound so easy, but it's not!!! (And I've been programming and hacking since 1977).
My plan is to make a JavaScript version of decoding a FIT file so I can then use D3 to visualise it - something that is sadly missing from the Karoo bike computer Dashboard!!!
Thanks to anyone who can help. I'm really frustrated today