How can I use $ (SourceDir) in BuildArguments parameter or set ti for project property?
In part of my project, I need the full path to the file.
previously I define a property in a custom .proj file shown below D: \ FullPathOfFile \ MyFile.cs .... ....
when i use msbuild.exe from command line i just pass parameter value. but when I use Build server with more than 2 build agents, I cannot now pass the parameter value to the .proj file.
when i set MsBuildArguments to "FullPathOfFile = $ (SourceDir) \ FullPathOfFile \ MyFile.cs" in build definition that doesn't work.
How can i do this?
+3
source to share
No one has answered this question yet
Check out similar questions: