- May
- 13,418
- 190
When DevStudio kept info in the registry I used a BTM (assigned to a PowerPro button) to open my most recent programming project. VS2019 uses an XLM file (21KB with no newlines!) to store such info. I know nothing about XML or TCC's functions to deal with it. Here's a snippet from that file (with some newlines thrown in). It's a bit more complicated than the example in TCC's help.
What I'm after is the value of the very first "FullPath" (which, above, is "P:\\Hello\\Hello.sln"). I can give that string to START. Can I use TCC's XML functions to dig that out of the file? I could use some help. I hope there's enough information above.
For anyone with DevStudio 2019, the file in question is (here)
Thanks.
Code:
<collection name="CodeContainers.Offline">
<value name="value">
[
{"Key":"P:\\Hello\\Hello.sln","Value":{"LocalProperties":{"FullPath":"P:\\Hello\\Hello.sln","Type":0,"SourceControl":null},"Remote":null,"IsFavorite":false,"LastAccessed":"2020-04-02T22:12:51.7492686+00:00","IsLocal":true,"HasRemote":false,"IsSourceControlled":false}},
{"Key":"P:\\4SysUtils\\SysUtilsDll.sln","Value":{"LocalProperties":{"FullPath":"P:\\4SysUtils\\SysUtilsDll.sln","Type":0,"SourceControl":null},"Remote":null,"IsFavorite":false,"LastAccessed":"2020-03-30T20:07:43.1135728+00:00","IsLocal":true,"HasRemote":false,"IsSourceControlled":false}}
]
</value>
What I'm after is the value of the very first "FullPath" (which, above, is "P:\\Hello\\Hello.sln"). I can give that string to START. Can I use TCC's XML functions to dig that out of the file? I could use some help. I hope there's enough information above.
For anyone with DevStudio 2019, the file in question is (here)
Code:
%USERPROFILE\AppData\Local\Microsoft\VisualStudio\16.0_6b6f020f\ApplicationPrivateSettings.xml
Thanks.