2012-01-20 72 views
1

我目前使用默認的xaml來構建我的解決方案。如何避免不必要的dll在TFS中構建2010

眼下,以後每隔TFS建設,我投遞文件夾看起來是這樣的:

{ 
_publishwebsites 
x.dll 
y.dll 
x.unittest.dll 
} 

是thereanyway以避免所有這些dll的到TFS中被丟棄建立,只是有_publishweb網站?

enter image description here

一個快速的方法來對付你所尋找的是改變:在部分(序列)「恢復工作區和複製文件到放置位置」與調用Microsoft.TeamFoundation.Build.Workflow.Activities.CopyDirectory建立TFS中

回答

0

這種複製發生Source分成String.Format("{0}\\_PublishedWebsites", BinariesDirectory)。這將導致對這樣的事情:

Drop name (might want to change it to _PublishedWebSites) 
{ 
    ... contents of _PublishedWebsites 
} 
0

你可以change the configuration properties。建議在發佈配置中在構建服務器上構建解決方案。您可以取消選中此版本配置中不需要的項目的「生成」選項。