问题
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