Removed "References" from project. Modified build.targets to evaluate paths inside task.