开发者

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

开发者 https://www.devze.com 2023-01-28 13:59 出处:网络
What are the work-arounds for builds failing when moved to TFS because now each file is set to read-only?

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

精彩评论

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

关注公众号