开发者

How do I build when Tfs Read-only files block assembly and config file updates (via ccnet)

What are the work-arounds for builds failing when moved to TFS because now each file is set to read-only?

Using CC.net, TFS2008 (TFS 2010 within 2 months), target framework开发者_如何学C 3.5, msbuild 3.5.


You can use an exec command to do this in the AfterGet target:

<PropertyGroup>
<MyProperty>D:\BuildSource</MyProperty>
</PropertyGroup>
....
<Exec Command="Attrib -r -s *.* /S /D" WorkingDirectory="$(MyProperty)" />
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜