Some doubts when installing an automatic creation server for C # / Asp.Net 3.5 applications

I want my server to automatically create my application when committed to the SVN repository, then deploy it to the testing / homologation server.

What I plan to do:

  • install the build tool (Nant? use MSBuild?);
  • create a simple script and set the binding to SVN, which starts the build and deployment process.

To do this, do I need to install the .NET 3.5 environment on my server? Is Nant able to create our application based only on our solution file (.sln)?

I studied a little, and the latest release of Nant, v0.86 beta 1, does not include the goal of the solution.

Is there any other alternative?

Please note that currently I am only using the VS2008 build system and I am not calling MSBuild directly. Is it possible and easy to configure on a server environment?

+3
source share
5 answers

We use Hudson for this. As mentioned earlier. It supports MsBuild (and Nant). We use msbuild with the parameters of the solution file and the build configuration, for example debug / release (we created the deployment and view configuration using different web.config). No additional tasks or different scenarios, except for the solution file that we see in the visual studio. (I think this is the setting after which)

, - (cassini) execute execute nunit (watin). , nunit.

TeamCity CruiseControl.Net , hudson . ( , , )

, SourceCop FxCop, , , , -.

+1

Hudson Cruise Control.

, .

+1

, Cruise Control.Net. SCM , .

http://confluence.public.thoughtworks.org/display/CCNET/Welcome+to+CruiseControl.NET

NAnt MSBuild - . MSBuild, NAnt . - , .

- Visual Studio, MSBuild. SLN PROJ MSBuild Cruise Control.net.

+1

Teamcity, . . Teamcity , , buildserver.

20 .

Asp.Net - .

Do you really want you to build sln? For a typical ASP.NET project, this is not the best way. Usually you create a WebDeploymentProject. In any case, Teamcity (and other embedded servers, I think, too) understands sln files.

+1
source

Source: https://habr.com/ru/post/1711364/


All Articles