CruiseControl.NET with a web deployment project

Hi guys, we are currently using a web deployment project to compile projects in our solution and deploy our website. We would like to switch to using CruiseControl.NET to give us the opportunity to automate the assembly, add testing and start / revise them from the website interface. Currently, the web deployment project has project links for all projects (70+) and then has the remote DeployPath. This leads to the launch of aspnet_compile and aspnet_merge and deletion of files (build + markup) on our remote server.

I would like to model this behavior using CC, but I cannot figure out how to do this. I tried using wdproj as the target for msbuild (in the hope that it will just build and work), but this seems to fail. I have a suspicion that I will need a NAnt task or something similar to complete the compile / merge steps.

Can someone point me in the right direction?

Thank!

+3
source share
2 answers

I ended up using msbuild to run AspNetCompile and AspNetMerge. Just pointing to the correct folder on the Internet, he found the appropriate dependencies. Thanks for helping the guys!

0
source

, wdproj msbuild. , Visual Studio.

, :

1) Visual Studio : Visual Studio , Visual Studio (devenv.exe).

2) WIX. -, Visual Studio , Windows Installer: http://wix.sourceforge.net.

3) - msbuild. - msbuild - , NAnt zip:

<exec program="msbuild" commandline="MySolution.sln" />
<exec program="msbuild"
  commandline="MyWebsite\MyWebsite.csproj /t:ResolveReferences;_CopyWebApplication /p:WebProjectOutputDir=\\MyServer\MyWebsite;OutDir=\\MyServer\MyWebsite\" />

, - Visual Studio. - Visual Studio, , .

+1

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


All Articles