Basically I've been following Jim Lamb's article here: http://blogs.msdn.com/b/jimlamb/archive/2009/11/18/how-to-create-a-custom-workflow-activity-for-tfs-build-2010.aspx?wa=wsignin1.0
Near the bottom he discuses how to add arguments on the Parameters tab on the Queue Build. I have an option that could benefit from a list of choices rat...
I would like to add a build target to the BuildDependsOn, but I want it to only affect release builds. How do I do this in MSBuild?
...
Is there a way to use MSBuild syntax to skip a specific target? I have a file consisting of a lot of properties (lines containing /property:X=Y) that I want to pass on to a recursively called instance of MSBuild, but this file also contains a /target:X line, that I do not want to have any effect. I don't have the option to modify the fil...
What are common practices for designing a build system/project structure that allows targeting multiple .NET versions with different feature sets?
Specifically:
Should you branch in source control?
Should you use conditional compilation?
Should you derive interfaces, thereby versioning them?
Should you create seperate "versionX" proje...
I am trying to setup up a continuous integration type environment for BizTalk. When source code is checked in, I need it to build then deploy to a build server. I have found BTSTask.exe but this seems to only be able to install an application from an existing msi.
I need a way of basically doing what visual studio does when you right c...
I am using Microsoft Ajax Minifier to convert file1.js to file1.min.js. Now I would like to take file1.min.js and file2.min.js and merge them into files-merged.min.js.
I have found several open source msbuild projects but with no documentation on how to use them!
I am using Visual Studio 2010, is this something Ajax Minifier can do, if...
Hi,
in my MSBuild file (TFSBuild.proj since I am running Team Builds) the exec command=gacutil alwys fails with the following error:
Failure initializing gacutil
my build machine is a W2K3 with Team Build 2010.
any ideas.
Many thanks
...
Can someone offer me some advice on TeamCity+CI+Deployment
So far my "it feels rubbish" solution is;
TeamCity + three build configs;
1) solution runner (outputs all installer pre-reqs)
2) command line runner +"Version Controlled Build" updates version numbers (only on 1 success)
3) command line runner \devenv.exe to builder insta...
I have >443 projects to build and assemble for an application. roughly 1 in 4 is a WCF service. My new simplified build script (legacy is a dos batch file, .net app, msbuild spaghetti coded hybrid) is failing because the web.config file is not present when the _CopyWebApplication target runs. This file is part of the project for local d...
MSBuild is now the build engine for all supported languages in Visual Studio. I'd like to start taking advantage of that system in order to simplify a ton of logic I have crammed into pre- and post- build scripts.
To that end, I'd have to write the MSBuild script manually, because I'd like to have more than one target in a single file. ...
I have an XNA 3.1 content project (.contentproj) with the following:
<ItemGroup>
<Compile Include="tiles\B000N800.BMP">
<Name>B000N800</Name>
<Importer>TextureImporter</Importer>
<Processor>TextureProcessor</Processor>
</Compile>
<Compile Include="tiles\B000N801.BMP">
<Name>B000N801</Name>
<Importer>TextureImporter</Importer>
...
I am responsible for maintaining the msbuild scripts for a large project.
The solution contains about 90 projects each having their own test project.
As part of the build process all test projects are agregated and mstest is called once:
mstest /textcontainer:project1 /testcontainer:project2 ...
This is no longer a viable solution as...
Hi,
I'm trying to automate deployment of a site. I started with this article
and everything works great from VS 2010. However, I'm having problems with the command line
I use this
c:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe "d:\Projects\test.csproj" /T:Package /P:PackageLocation="d:\Package\packageTest.zip"
to create t...
I was wondering if it's possible to have something like a try, catch, finally in an msbuild script. I'm trying to set it up so that I can stop an IIS site and app pool, do some building, copy over files and then make sure that even if something goes wrong during the build and files don't get copied it can at least bring the site back up...
I've got a continuous integration setup using Hudson and lately I've configured the jobs to use svn update to get the latest version of the code. I really like this approach since it allows msbuild to version appropriately and only build the effected assemblies.
However, I've noticed that since I'm not doing a build of all the assembli...
I have this very strange issue with my MVC 2 project. Often times, I'll edit some code and there will be a compile error. If I hit F5 to debug, the error goes way even though it isn't resolved. I usually don't notice this and I then keep working, hitting F5 to debug and get extremely frustrated when my changes don't show up and when my b...
Hi,
I got an another query.
I am doing a UI to create precompiled assemblies for different framework using MSBUILD.My questions are as follows.
1.How to change the "AssemblyVersion" attribute in Assemblyinfo file through.Is there any properties available or i have to step down into the file and change that attribut.
2.If i have refer...
OK, I've searched for a few days now and still haven't found what i would deem to be an elegant solution to this problem.
Here's what I want to happen.
I want TeamCity to Build my code
Then test it
Then deploy it to a remote server.
The first 2 are easy, but nobody seems to have a nice option for deploying. I have set up the server ...
I need to get access to the msbuild command line parameters (the specified targets and properties in particular) from within the project file being processed. How can I do this?
...
Hi All,
I have been investigating the best way to store our solutions in SVN and came up with a structure of:
Libraries
EntLib
DLLs
Global
DLLs
SubSonic
DLLs
Source
sln
Project 1
Project 2
Libraries uses svn:externals to pull down the correct version of the assemblies.
My issue is...