cruisecontrol.net - How to handle Class Library/Solution/WebProject in MSBuild 2.0 and CrusiseControl.Net -
I have a CI tool cruise control. I am working on Net and MSBild. I have many .csproj, .sln files and web projects (more than 30). We have 30 developers and they work on several projects at any time.
As of now, the developers do not release. For SLN and .csproj file builds Now my question is how to handle the build file: 1. Since the developer does not release. How do I obtain the newly added files that CCPRG and I need to compile? And how do I get new attach reference both Net Framework and third party DLL?
In some cases the developer opens WebProject independently and makes changes and releases in this case, how do I compile it? 3. How do I manage the order of project dependencies?
I have .Net 2.0 /.
. Someone can suggest me and guide me here.
Thank you, sandalwood
There are several ways to automate one way that I Also worked for you, that is to use NAnt instead of MSBuild. There is a CSC task in Nant that you can use. (CSC.exe is automatically csharp compiler)
& lt; Csc target = "library" output = "yourbuildpath \ yourproject.dll" debug = "$ {debug}" & gt; & Lt; Sources & gt; & Lt; Name = "** \ * .cs" /> & Lt; Leave name = "** \ assemblyInfo.cs" /> & Lt; / Sources & gt; & Lt; Reference & gt; & Lt; Include name = "lib \ * .dll" /> & Lt; / References & gt; & Lt; / CSC & gt;
In this way you create anything with a .cs extension instead of using csproj or sln file. All developers are told that the referenced third party DLL is placed in a known Lib folder. I have used it with class library and web application projects, I am not sure it is as simple as with the website projects.
Comments
Post a Comment