build-automation

how to save user registration in the exe… (C#)

自作多情 提交于 2020-01-05 04:49:07
问题 Is this even possible? I realize that asking them to enter data when the program runs and saving it in the executable file itself is out. (Or is it?) Right now I'm considering trying to build the program server-side with php and have it incorporate a separate text file which would contain the information. This seems marginally feasible, though I would have quite a bit of learning to accomplish it. I was hoping for some other ideas of how I might accomplish this. I am not interested in

VS.Net - automating “Execute Custom Tool”

不打扰是莪最后的温柔 提交于 2020-01-05 04:32:09
问题 My organization has a visual studio (2008) project that contains a slew of Crystal Reports. One thing we'd like to do is have the ability to automate the build of this assembly, especially when either 1) a new report is added to the project, or 2) whenever one of the existing reports is modified. Everything as far as updating the project with new or modified reports is all fine-and-good, but we have yet to figure out a way to run the "Execute Custom Tool" against them (to regenerate the

Setting debug=false in web.config as part of build

让人想犯罪 __ 提交于 2020-01-03 09:26:04
问题 Is it possible to instruct the aspnet_compiler to set debug=false in the web.config? My intention is to automate this as part of the nant build process. I am open to suggestions other than xml parsing 回答1: Have you thought about using <xmlpoke> ? <xmlpoke file="${Build.WebConfig}" xpath="/configuration/system.web/compilation/@debug" value="false"> </xmlpoke> NAnt Home Page XML Poke Documentation 回答2: I would suggest using entirely different config files for each environment(prod, test,

How can I have teamcity run a .bat file on each successful build?

风格不统一 提交于 2020-01-02 18:40:08
问题 I have a teamcity (4.something) install that creates .wsp file for deployment to sharepoint. Currently I have to copy the wsp out of the build artifacts directory and into a little deploy folder I have created. In the folder I run a .bat that deploys the new .wsp to our test server. What steps can I take to automate this? Either copy the .bat into the artifacts folder and update the paths etc or copy from the artifacts folder into the 'deploy' folder and run the .bat from there. I am a

How to version resources that are shared across projects

陌路散爱 提交于 2020-01-01 05:52:06
问题 We use Team Foundation Server and have numerous ASP.NET Web Application Projects. Each of the Web Apps uses a custom content management system that we've developed in house. The CMS is itself, an ASP.NET web app. When deployed, the CMS resides in a subdirectory, such as "/Admin". The CMS is comprised of .aspx and ascx files, and the corresponding assemblies are, of course, placed in the bin. Presently, the CMS files exist separately for each Web App in source control. In other words, an

Get NuGet package folder in MSBuild

孤人 提交于 2020-01-01 04:24:04
问题 I want to call executable tools like NUnit which I manage via NuGet in MSBuild: <Target Name="Test"> <CreateItem Include="$(BuildCompileDirectory)\*.Tests.*dll"> <Output TaskParameter="Include" ItemName="TestAssemblies" /> </CreateItem> <NUnit Assemblies="@(TestAssemblies)" ToolPath="$(PackagesDirectory)\NUnit.2.5.10.11092\tools" WorkingDirectory="$(BuildCompileDirectory)" OutputXmlFile="$(BuildDirectory)\$(SolutionName).Tests.xml" /> </Target> The problem is that the folder of a NuGet

How to run a script after Xcode runs codesign on my iPhone app?

爷,独闯天下 提交于 2020-01-01 02:32:15
问题 I've got a script written which does some steps to package my build for an Ad Hoc distribution. My first guess was to use a run script phase in my Ad Hoc target. But it looks like codesigning is fixed at the last position in the chain of building iPhone apps. Somebody has a clue how can I run my script at the very last possible moment in the build process? Update: Look at this answer below on how to run scripts in Xcode 4. 回答1: Can you create an aggregate target that contains both your "Ad

.NET projects build automation with NAnt/MSBuild + SVN

若如初见. 提交于 2019-12-31 17:22:34
问题 for quite a while now, I've been trying to figure out how to setup an automated build process at our shop. I've read many posts and guides on this matter and none of them really fits my specifics needs. My SVN repository is laid out as follows \projects \projectA (a product) \tags \1.0.0.1 \1.0.0.2 ... \trunk \src \proj1 (a VS C# project) \proj2 \documentation Then I have a network share, with a folder for each project (product), which in turn contains the binaries, written documentation and

How to build a git polling build bot?

五迷三道 提交于 2019-12-31 16:51:47
问题 How can a little cron, bash + make based script (e.g. much smaller and less robust than, for example, Hudson) build-bot poll a git repo and detect if it should build now - e.g. if in its periodic pull from the remote git repo, it has retrieved new code? Currently, it looks like this: git fetch > build_log.txt 2>&1 if [ $? -eq 0 ] then echo "Fetch from git done"; git merge FETCH_HEAD >> build_log.txt 2>&1 ; if [ $? -eq 0 ] then echo "Merge via git done"; ... # builds unconditionally at the

Is there a Perl equivalent of Buildout or RVM?

谁说胖子不能爱 提交于 2019-12-31 03:34:27
问题 I've been using Python's Buildout for a while and I really like it. My company has a lot of systems developed in Perl and I'm wondering if there is something similar to either Python's Buildout or Ruby's RVM available for Perl. My goal is to be able to automate deployments, development environment setup, and manage dependencies. 回答1: I must admit I have heard today the first time about the software you named, but reading the introduction material there is a difference in purpose between