cruisecontrol.net

Can we build a website using MSBuild

最后都变了- 提交于 2019-11-28 19:54:22
问题 I am very much new to the Continous Integration. Could anyone please let me know whether we could build a website using MSbuild? 回答1: You can build a Web Site project using the AspNetCompiler MSBuild task. http://msdn.microsoft.com/en-us/library/ms164291.aspx Your MSBuild file might look something like this: <Project xmlns = "http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets = "PrecompileWeb"> <Target Name = "PrecompileWeb"> <AspNetCompiler VirtualPath = "DeployTemp"

System.Net.Http could not be resolved in the currently targeted framework .NET 4.0

拜拜、爱过 提交于 2019-11-28 18:53:20
Got a nasty error after moving a solution from Visual Studio 2010 to 2012. Build is fine and everything works perfect localhost. I have one new MVC4 project that requires .NET 4.5 so I installed the 4.5 framework on the build server. The build is good but MSBuild is failing to copy DotNetOpenAuth.Core.dll from its package location to the Bin dir. The issue is because, though the particular project targets the 4.0 framework, I believe MSBuild is checking the dependency against .NET 4.5 framework System.Net.Http assembly as part of its CoreBuild. warning code="MSB3268" The primary reference

Assembly Versioning using CruiseControl.net

时光怂恿深爱的人放手 提交于 2019-11-28 18:27:38
I have setup CruiseControl.net for a bunch of my projects which are related. As a result a single project tag in CruiseControl has multiple SVN checkouts and then a bunch of msbuild tasks compile all the individual sln files. I need to update the assembly version of all the solutions when this build is being done. However, since i'm not using nant and not using MSBuild proj files, I am unsure on how to get this. I wonder if I'm missing something obvious. I just need a solution which can be implemented by making appropriate changes in the ccnet.config file without requiring me to make changes

Finding ALL installed applications with PowerShell?

断了今生、忘了曾经 提交于 2019-11-28 09:26:29
问题 I am trying to use Windows PowerShell 2.0 to find an installed application. I have tried two methods, one using WMI and one using the Registry. Both methods are able to bring up a large list of installed applications and components, however neither one seems to bring up the application I am interested in. I am specifically looking for CruiseControl.NET. It appears in the list of applications in the Programs and Features control panel applet. I know for a fact that it is currently installed,

Can we tell CruiseControl.NET to ignore source control timeout errors?

牧云@^-^@ 提交于 2019-11-28 09:16:51
We have CruiseControl.NET set up to do continuous integration of a number of our projects. We are using a <cb:define> block to make sure all of our source control operations are done in the same way, and to keep the config DRY. We are experiencing an issue every once in a while that cause the build to show "Exception". The message is as follows: ThoughtWorks.CruiseControl.Core.CruiseControlException: Source control operation has timed out. at ThoughtWorks.CruiseControl.Core.Sourcecontrol.ProcessSourceControl.Execute(ProcessInfo processInfo) at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Svn

WatiN, NUnit and CruiseControl.NET— Error message 800704a6

那年仲夏 提交于 2019-11-28 08:40:51
问题 When running a suite of tests in NUnit with WatiN through CruiseControl.NET (as a service), this error appears: SetUp : System.Runtime.InteropServices.COMException : Creating an instance of the COM component with CLSID {0002DF01-0000-0000-000-000000000046} from the IClassFactory failed due to the following error: 800704a6. TearDown : System.NullReferenceException : Object reference not set to an instance of an object. This error has been a nightmare to debug because it is not consistent

CI: Hudson with .Net vs CruiseControl.Net [closed]

我是研究僧i 提交于 2019-11-27 17:52:38
I work for a .net shop looking to integrate a CI server. From what I've seen, Hudson seems to be the most popular choice. Considering we are a .net only shop, will Hudson present any hurdles that CC.NET will not? Allen Rice I cant think of a single thing that Hudson hasnt been able to do for our C# development, even with MSTest based tests, you can now run and trendgraph on them with the new plugin (only works if you are testing ONE assembly) or my method which works on multiple assemblies. I suppose the only thing that would be nice, would be to generate code coverage data and report on that,

Use SVN Revision to label build in CCNET

强颜欢笑 提交于 2019-11-27 17:08:11
I am using CCNET on a sample project with SVN as my source control. CCNET is configured to create a build on every check in. CCNET uses MSBuild to build the source code. I would like to use the latest revision number to generate AssemblyInfo.cs while compiling. How can I retrieve the latest revision from subversion and use the value in CCNET? Edit: I'm not using NAnt - only MSBuild. CruiseControl.Net 1.4.4 has now an Assembly Version Labeller , which generates version numbers compatible with .Net assembly properties. In my project I have it configured as: <labeller type=

System.Net.Http could not be resolved in the currently targeted framework .NET 4.0

喜夏-厌秋 提交于 2019-11-27 11:58:46
问题 Got a nasty error after moving a solution from Visual Studio 2010 to 2012. Build is fine and everything works perfect localhost. I have one new MVC4 project that requires .NET 4.5 so I installed the 4.5 framework on the build server. The build is good but MSBuild is failing to copy DotNetOpenAuth.Core.dll from its package location to the Bin dir. The issue is because, though the particular project targets the 4.0 framework, I believe MSBuild is checking the dependency against .NET 4.5

Assembly Versioning using CruiseControl.net

烂漫一生 提交于 2019-11-27 11:21:31
问题 I have setup CruiseControl.net for a bunch of my projects which are related. As a result a single project tag in CruiseControl has multiple SVN checkouts and then a bunch of msbuild tasks compile all the individual sln files. I need to update the assembly version of all the solutions when this build is being done. However, since i'm not using nant and not using MSBuild proj files, I am unsure on how to get this. I wonder if I'm missing something obvious. I just need a solution which can be