build-automation

Anything better than CruiseControl for .Net CI? [closed]

为君一笑 提交于 2019-12-03 05:28:29
Closed . This question is opinion-based. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it can be answered with facts and citations by editing this post . I've been asked to set up yet another CruiceControl environment for yet another client. I realized that I've been using CC for years without really looking around for competitors. Is there anything else that's sprung up that does the job equally well or better for .Net apps? TeamCity is a very good CI server. (and the "Professional" edition is free) I've been using it for over a year

Script Minification and Continuous Integration with MSBuild

旧城冷巷雨未停 提交于 2019-12-03 05:02:36
问题 On a recent project I have been working on in C#/ASP.NET I have some fairly complicated JavaScript files and some nifty Style Sheets. As these script resources grow in size it is advisable to minify the resources and keep your web pages as light as possible, of course. I know many developers who hand-feed their JavaScript resources into compressors after debugging and then deploy their applications. When it comes to source control and automated builds in the satisfying world of continuous

How does ivy:publish work?

自闭症网瘾萝莉.ら 提交于 2019-12-03 04:52:14
问题 I'm completely at loss how the ant task ivy:publish is supposed to work. I would expect that I do my normal build, which creates a bunch of jar files, then I would push those jars to the (local) repository. How can I specify from where to retrieve the built jars, and how would those end up in the repository? Update: <target name="publish-local" description="--> Publish Local"> <ivy:retrieve /> <ivy:publish resolver="local" pubrevision="${release.version}" status="release" update="true"

Ant is not able to delete some files on windows

人走茶凉 提交于 2019-12-03 04:51:57
I have an ant build that makes directories, calls javac and all the regular stuff. The issue I am having is that when I try to do a clean (delete all the stuff that was generated) the delete task reports that is was unable to delete some files. When I try to delete them manually it works just fine. The files are apparently not open by any other process but ant still does not manage to delete them. What can I do? I encountered this problem once. It was because the file i tried to delete was a part of a classpath for another task. It depends ... The Ant process doesn't have enough permissions to

Build server: Best practices managing third party components?

余生颓废 提交于 2019-12-03 04:35:07
问题 I'm maintaining a quite large legacy application. The source tree is a real mess. I'm trying to set up a build server. On the source tree, I've third party component with sources (also in the project's include path). These components are also installed within the IDE. My question is : How to manage those components ? I thought to manage this way: Install the IDE on the build server Install all the third party component Remove the component sources from the project sources tree (and keep them

Why should my development team have a build server?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-03 04:28:45
We know this is good to have, but I find myself justifying it to my employer. Please pitch in on why a development team needs a build server. There are multiple reasons to use build servers. In no particular order and off the top of my head: You simplify the developers' workflow and reduce the chance of mistakes. Your build server can take care of multiple steps such as checking out latest code, having required software installed, etc. There's no chance of a developer having some stray DLLs on their machine that can cause the build to pass or fail seemingly at random. Your build server can

Automatic Deployment Resources

帅比萌擦擦* 提交于 2019-12-03 04:11:21
I know enough to know that we need to get our application to deploy with a single user action. However, I don't know: What are some good tools to use in a .NET shop? How do you manage config changes for each of your environments? Can someone point me to some good resources for continous integration. I'd like to see some theory as well as a step by step practical guide. Edit: I'm in need to automated a web deployment right now; however, I'd also like to learn how to do this for desktop apps. I wrote a blog post that may be helpful: Visual Studio Web Deployment Projects It is a year and a half

How to build Visual Studio 2012 Publishing Profiles on a Build Server with MsBuild without installing Visual Studio 2012

佐手、 提交于 2019-12-03 03:47:06
问题 I read through many of the posts on here and never found a clear answer that worked. So after spending the time getting this to work, I figured I should post it. Problem: The publishing profile would build on the server, but would not publish. Solution: Make sure you installed Microsoft Windows SDK and .Net Framework 4 From your client machine with Visual Studio 2012 update 2 installed, copy: \Program Files(x86)\MSBuild\Microsoft\Visual Studio\v11.0\Web\ \Program Files(x86)\MSBuild\Microsoft

VB6 Integration with MSBuild

荒凉一梦 提交于 2019-12-03 03:35:54
So this is a question for anyone who has had to integrate the building/compilation of legacy projects/code in a Team Build/MSBuild environment - specifically, Visual Basic 6 applications/projects. Outside of writing a custom build Task (which I am not against) does anyone have any suggestions on how best to integrate compilation and versioning of legacy VB6 projects into MSBuild builds? I'm aware of the FreeToDev msbuild tasks at CodePlex but they've been withdrawn at the moment. Ideally I'm looking to version and compile the code as well as capture the compilation output (especially errors)

How to automate android builds for lite and premium version?

时光总嘲笑我的痴心妄想 提交于 2019-12-03 03:24:44
I'm looking for a solutions which will allow me to build lite and premium versions of my android app without manual manipulations. The functionality I'm looking for is: Automatically renaming package Changing home package name in AndroidManifest.xml file. Changing constant values in java or/and resource files or substituting appropriate files for current application version. Thanks. I would suggest looking into Android Library Projects to help with this. I use this approach for a Lite vs. Free edtions of one of my apps. I have a Library project that contains all of the source and most of the