CruiseControl.NET: Build subproject obtained by SVN

☆樱花仙子☆ 提交于 2020-01-06 08:10:05

问题


I have this project structure:

    main -- main.csproj

    main/subproject1 --- main.subproject1.csproj
    main/subproject1/view/ --- main.subproject1.view.csproj
    main/subproject1/business/ --- main.subproject1.business.csproj
    main/subproject1/metadata/ --- main.subproject1.metadata.csproj
    main/subproject1/facade/ --- main.subproject1.facade.csproj
    main/subproject1/data/ --- main.subproject1.data.csproj

    main/subproject2
    main/subproject2/view/

...

so, I want to build/compile only the specific .csproj project when there is some modification over its files on my SVN repository "trunk". I'm trying to use MsBuild + ModificationReader but I'm not sure how to modification reader works (the documentantion is very poor)

Do you guys have any idea how to do this?


回答1:


Have a look at the filteredSourceControlProvider and inclusionFilters

http://www.cruisecontrolnet.org/projects/ccnet/wiki/Filtered

If each csproj has a ccnet project then each can be triggered for their own changes



来源:https://stackoverflow.com/questions/11833947/cruisecontrol-net-build-subproject-obtained-by-svn

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!