MSBuild Include Remote File 2008?

Posted by ScSub on Stack Overflow See other posts from Stack Overflow or by ScSub
Published on 2010-04-07T19:25:49Z Indexed on 2010/04/10 13:53 UTC
Read the original article Hit count: 527

Filed under:
|
|

TFS 2008, VS 2008. I have a tfsbuild.proj and tfsbuild.msp file in $/MyStuff/TeamBuildTypes/Dev folder. I have a targets file at $/MyStuff/TeamBuildTypes/IncludeFiles/Common/test.xml. test.xml contains an XML fragment that overrides the BeforeGet task.

I tried to get the file into my tfsbuild.proj file like this:

<Import Project="$/MyStuff/TeamBuildTypes/IncludeFiles/Common/test.xml" />

The build fails because it tries to get the file from a relative path that is way off.

How can I specify external/include files from an explicit TFS "remote" path?

Thanks.

© Stack Overflow or respective owner

Related posts about msbuild

Related posts about tfs2008