MSBuildThisFileDirectory already contains a trailing slash, and on case-sensitive file systems, writing the path as \\..\tools\ has caused issues for me; it wouldn't manage to load the MSBuildTasks assembly properly.
(Moving the project to a case-insensitive file system fixed it for me. I tried opening the path in Windows Explorer which had similar issues, so I think this would be the right and obvious fix to it.)
MSBuildThisFileDirectory
already contains a trailing slash, and on case-sensitive file systems, writing the path as\\..\tools\
has caused issues for me; it wouldn't manage to load the MSBuildTasks assembly properly.(Moving the project to a case-insensitive file system fixed it for me. I tried opening the path in Windows Explorer which had similar issues, so I think this would be the right and obvious fix to it.)