cruisecontrol.net

Integrating Visual Studio Test Project with Cruise Control

强颜欢笑 提交于 2019-12-04 22:33:53
I'm looking into using Visual Studio 2008's built in unit test projects instead of NUnit and I was wondering if anyone has any experience in trying to integrate this type of unit test project with Cruise Control.Net. From some of the initial research it doesn't appear to be a super simple solution. It appears that doing this involves having Visual Studio 2008 actually installed on the continuous integration server, which could be a deal breaker. Then configure the MSTest.exe to run in the tasks list, but first you'll have to make a batch file to delete the results files from previous passes as

Buildserver can not find Entity Framework Sql Provider

梦想与她 提交于 2019-12-04 18:43:42
问题 We are in the process of switching from Entity Framework 4 to Entity Framework 6. The package manager did its job, and the solution ran it’s tests without a hitch. However on the build server we get the following error message running the tests: Initialization method xxx.SetUp threw exception. System.InvalidOperationException: The Entity Framework provider type 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer' registered in the application config file for the ADO

UI Testing Framework + Continuous Integration?

可紊 提交于 2019-12-04 18:27:07
问题 So I have an application that I inherited and I want to build up an automated test suite around it. The application wasn't designed with testability in mind, and the code is a "big ball of mud". My plan was to use a UI Automation testing framework and create a suite of tests at the UI level until I had enough coverage to allow me to start refactoring with confidence and introducing some seams into the code to improve testability and design. It's a .Net WinForms application, and the two

CruiseControl.Net Dashboard + Apache

青春壹個敷衍的年華 提交于 2019-12-04 16:23:19
I'm trying to get cc.net dashboard running on a build machine that also has apache on it. I've tried installing mod_aspdotnet as described here . I can run the sample aspx page, but I am unable to get cc.net to run. Is there some magic I need to do? For what it's worth, http://localhost/ccnet manages to redirect me to http://localhost/ccnet/ViewFarmReport.aspx but that gives me a 404 error. Below is the relevant httpd.conf section: #asp.net LoadModule aspdotnet_module "modules/mod_aspdotnet.so" AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb

Targetting different Frameworks using MSBuild gives problems with dependencies

亡梦爱人 提交于 2019-12-04 14:30:35
问题 I have a little project, and I want to have 2 compiled versions of that project: one that is targetting the .NET 2.0 framework one that is targetting the .NET 3.5 framework All is going well; I've put my project under continuous integration (using CC.NET), and I've created 2 CC.NET 'projects'. One project for each target-framework. I won't go too much in (irrelevant) details, but my solution is set up to target the .NET 3.5 framework in VS.NET. I have 2 msbuild-tasks: one task that builds the

CruiseControl.NET service failing to build due to MSBuild ResolveKeySource error, despite certificate being imported

醉酒当歌 提交于 2019-12-04 12:43:22
We just had an XBAP/WBA project added to our build server. It uses a PFX file for signing. I imported the PFX file to the CruiseControl.NET service certificate store, and can see it in the certificate store for the service. Yet we are still seeing an exception thrown by ResoveKeySource : c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets (1805,7): errorMSB4018: The "ResolveKeySource" task failed unexpectedly. System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the

How to ignore output from executable with CruiseControl.Net build?

ぃ、小莉子 提交于 2019-12-04 12:19:16
I'm running a little find and replace utility called fart.exe (yes, fart, as in Find and Replace Text) as part of my CC build. Works great. The problem is that FART while it is working displays a little ASCII spinner composed of pipe, dash, slash... | / - . There isn't a way to suppress this spinner, and CC thinks these little symbols are error messages and the build fails. I've tried: adding those symbols as successexitcodes in CC -- same result, apparently only ints work Calling fart via a batch file with ECHO OFF -- it still outputs the spinner and causes the build to fail Any other ideas?

Unable to publish using msbuild or aspnet_compiler using cc.net

烂漫一生 提交于 2019-12-04 12:04:56
I am trying to automate publishing a project having many solutions in cc.net. I am using msbuild which in turn calls a aspnetcompiler xml file. Problem is my directory contains many solutions and when I run aspnetcompiler it gives me the following error. errorASPCONFIG: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS I have tried all possible solutions given at many forums. But I am confused how to explicitly tell aspnet_compiler to

CruiseControl.NET build fails when SVN is not available

与世无争的帅哥 提交于 2019-12-04 11:50:05
问题 We have an SVN repository hosted externally and our build server is currently internal. Occasionally (probably 1 or 2 times a day) the build server is unable to find the SVN repository due to a network outage, a timeout or some other random reason. With an externally hosted repository this is hard to avoid, however when it fails to find the SVN repository it fails the build! I would like to find a way for it to just try again at the next interval and ignore any errors relating to an unfound

TFS vs open source alternatives? [closed]

你说的曾经没有我的故事 提交于 2019-12-04 11:42:48
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . We're currently in the process of setting up a source control/build/and more-server for .NET development and we're thinking about either utilizing the Team Foundation Server (which costs a lot of dough) or combining several open source options, such as SourceForge Enterprise