Take the 2-minute tour ×  Please go easy I am new to msbuild and
msbuildtasks!  How can I set a property which represents a
relative file path to a targets file which I want to import? I
need relative references so it will work on all dev machines.
But the target for import is trying to use the relative file
path internally, which won't work as it is re-evaluated relative
to the imported target!  Effectively I am trying to work around
the documented behaviour of imported projects:  All relative
paths in imported projects are interpreted relative to the
directory of the imported project. Therefore, if a project file
is imported into several project files in different locations,
the relative paths in the imported project file will be
interpreted differently for each imported project.
share|improve this question Is there a specific reason why you
don't put the MSBuildCommunityTask lib side by side with MSBuild
to %PROGDIR%\MSBuild\MSBuildCommunityTasks\ ? The path could
then be relative to MSBuild (like suggest