I'm using the property MSBuildProjectDirectory with MSBuild.
The project is located in:
C:\Program Files (x86)\Jenkins\workspace\MyProject
During build MSBuildProjectDirectory is instead evaluated as:
C:\Program Files %28x86%29\Jenkins\workspace\MyProject
and I get a "The system cannot find the file specified" error.
Do I need to move to a different folder or can I get the right path?