Ok, I am not the best at MSBUILD. Actually, I don't know anything. I need some help configuring my solution file to tell MSbuild to copy the compiled output into a staging area. The solution has about 35 projects. All I need is around 5 of them the to be copied to the staging folder in release mode. Please assume I know nothing...
Thank...
How do you run MStests through TeamCity and the MSBUILD option? Do you put these settings in the main solution?
Thanks
...
We make a release branch from trunk at the end of each sprint.
This is a manual job; we branch the src and manually edit the build config.
This has proved to be an error prone process. Is it possible to automate it in TFS?
...
I am looking for an MSBuild task/script that will allow me to control the version of an old VB6 project?
The .vbp stores the version information as .ini style, but I cannot find a simple way to read and write the three entries.
...
I have a solution with a number of libraries + web site on folder.
When I use msbuil vs. this solution it precompiles web site to a new folder name PrecompiledWeb. I want to skip it, just build all libraries.
How can I do that?
...
I am trying to build release mode .
like that
msbuild LP.sln /p:buildmode=release
Blockquote
but i get always debug . any idea why ?
I saw and checked following posts .
link text
link text
thanks a lot .
...
I want to create a build number which looks like Major.minor.Date.LastChangeSetInTFS, the problem is how to get last changeset number from the TFS. Is there any property, or something??
...
We have a long-running msbuild script that I'm trying to speed up. Is there a way to get msbuild to log the time spent in each target?
I've had a look at the xml logger, but it just outputs the total time.
Would I have to make my own logger, or is there something built in?
...
I'm trying to write an MSBuild task to build a database using FluentNhibernate mappings.
The code for the task currently looks like this...
public class CreateDatabase : Task
{
[Required]
public string ConfigFile
{ get; set; }
[Required]
public string MappingAssemblyName
{ get; set; }
public override bool ...
I wanted to know if it is possible to know why a Visual Studio 2005 (MSBuild) build is taking a long time to build a project.
Suddenly we are getting 7-minute build times on some computers, while others take less, such as 4 minutes.
So I think I need to identify changes that were made to the project and are causing a longer build time....
I have something like this in my TFSBuild.proj
<ItemGroup>
<SolutionToBuild Include="$(BuildProjectFolderPath)/../../ProjectA/ProjectA.sln" />
<SolutionToBuild Include="$(BuildProjectFolderPath)/../../x64 Installer/x64 Installer.sln" Condition="'$(Platform)' == 'x64' " />
<SolutionToBuild Include="$(BuildProjectFolderPath)/../../x8...
I have written an MSBuild task that makes use of third-party assemblies.
When I use the task in my project, MSBuild complains that it can't load the third-party assemblies (not surprisingly).
Where should I place the third-party assemblies so that they are available to MSBuild. I tried adding project references to them without success...
I am trying to deploy a Click Once application (build and publish) using CruiseControl.NET. I cannot find out where I can use the CCNetLabel to set my AssemblyVersion and/or PublishVersion. I would accept other solutions that would allow a unique version number per CruiseControl.NET deployment (Live and Development deployments).
...
Hi, I was wondering if the following can be done in VSTS 2008.
I have a main branch and several branches where many code change will be going on. Is there a way to build a required branch on demand?
Also I have many labeled versions of code and a main branch, is there a way to build a labeled version of the code on demand?
Please help...
What is the correct way to create a web site using the MSBuild Extension Pack?
I'm trying to use the MSBuild Extension Pack to create a web site using the following target. Unfortunately I don't have the syntax correct. This target will throw an exception saying "InvalidOperationException: The specified path already exists.\r". This is...
Hi all,
I am trying to create a custom task for MSBuild so that it will send an email to the users that sais that a new version is up on the test server.
I go the email part done, what i would like to do is add the work items that are included in this build.
I tried the MSBuild extention (used to send the email) but the feature to get...
I want to write a simple task which will update and commit source code that was Nightly build to SVN. I was on the msbuildtasks.tigris.org page, and downloaded the dll's but I have no idea how to write it. Could you please provide some basic samples?
...
Since this question seems to have baffled / underwhelmed SO I will rephrase it with a partially formed idea of my own.
Could I somehow set up a batch file or something that runs after the whole solution is built, and this batch file would call msbuild to build specific targets inside a certain project? In order for it to work, I would ...
I want to unbind my sln file from TFS server and publish it on SVN is there any "easy" option to do this. It's easy to open sln and chose unbind option in Visual Studio, but does any one ever tried to automate this process? There is a solution to edit sln file using xmlpoke and deleting binding information, but is it safe?
...
Is it possible in MSBuild to batch tasks without having the metadata value you are using to bucketize the items appearing in the output?
Let's say I've got the following .proj:
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<ExampColl Include="Item1">
<Bucket>1</Bucket>
</ExampColl>...