Closed densogiaichned closed 9 months ago
What a neat solution! Thanks @densogiaichned! It never crossed my mind about the specific unique GUIDs.
It's like TwinCAT: GUIDs everywhere. learned this the hard way during VS extensions development ;)
tsproj-files in TwinCAT 4026 also have the same GUID! I'll try this fix out and merge it in!
Tested, works perfect. Thanks @densogiaichned.
By using a RegEx to find the *.tsproj file, this fix always returns the path. The RegEx is using the GUID
{B1E792BE-AA5F-4E3C-8C82-674BF9C0715B}
for a TwinCAT project file, thus not being confused by other items or names. Solution project items have a specific GUID depending on the type. Also, added simple unit-test.fixes #49 relates to #34, #35