So I solved this by having MSBuild resolve the path and push it in to an environment variable which I called FrontendDir. <Contents> <Content destination="frontend"> <SourceDirectory path="%FrontendDir%" /> </Content> </Contents> and in the ccproj I added: <UsingTask TaskName="SetEnvironmentVariableTask" TaskFactory="CodeTaskFactory" AssemblyFile="$(MSBuildToolsPath)\Microsoft.Build.Tasks.v$(MSBuildToolsVersion).dll"> <ParameterGroup> <Name ParameterType="System.String" Required="true" />...