I have a solution with several projects in it. Let's say
project A depends on projects B and C
project B depends on project C
When I run my solution on the local machine VS builds each project once and it takes 1 minute. However, on our build machine it takes about 4 minutes to build and, as I can understand from the MSBuild logs it g...
I'm trying to build an MSBuild custom task in IronPython using SharpDevelop 3.1 (IronPython 2.0.0).
In order to build a custom task, the class needs to implement the Microsoft.Build.Framework.ITask interface. According to this post you can implement a .NET interface by inheriting from it.
The ITask interface defines two properties, Bu...
I currently use http://msbuildtasks.tigris.org/ to help do additional stuff with MSBuild like get files from sourcesafe or compress javascript files.
Recently I have discovered a bug in one of the tasks I use that is a deal breaker.
Are there any other open source 3rd party tasks to extend msbuild?
Is http://msbuildtasks.tigris.org/ t...
I have 3 TFS Builds (2 Dev and 1 Cert).
I would like to modularize the builds so I don't have to edit 3 files each time I make a change to the common items.
The problem I have is that Only the items in the build folder (under TeamBuildTypes) are automatically retrieved by the Team Build. I can put in code in my build process to get ot...
Does anyone have any links to documents about the initial "get" done Team Build (when the files from the ConfigurationFolderPath (ie TFSBuild.proj) are downloaded).
All I could find was this one blog post:
http://blogs.msdn.com/jpricket/archive/2007/12/10/changing-the-recursion-type-for-the-initial-get-that-team-build-does.aspx
I would...
Hi all,
I want to have our WiX installer that is currently building on a build server via hudson calling msbuild scripts to incorporate the full .NET 3.5 sp1 installer executable. It turns out that our users can always get access to a CD, but not always to the internet, so we can't use the over-the-net installer. We can also require ...
We have a base product that has bespoke development for each client that extends and overwrites the functionality of the base.
We also have a custom framework that the base product and sits on top of.
We use inherited forms to override the base functionality and to date all the forms and classes have been lumped in the same projects ...
We're developing a ASP.Net Web Application project that has a Silverlight 2.0 component. We've referenced the silverlight project in the web application properties, and the xap file is being copied to the ClientBin folder of the Web application when we build locally.
The problem is that when we build this on our build server (which is ...
I need a way to use MSBuild to publish a ClickOnce App to multiple PublishDir(s). I have four environment (dev, qa, model, prod) and need to generate seperate ClickOnce PublishDir(s) for each because the config files are different. One of the main issues is that MSBuild doesn't create a publish.htm file. Any help would be appreciated....
Will Visual Studio choke on customized .csproj files?
For example, I wanted to add a Target to update the version number in all AssemblyInfo.cs files. I plan to invoke this from the command line with MSbuild.
As another example, I would like to include the build timestamp into the compile, like so. This would be a pre-compile step ...
I have a C# project in Visual Studion 2008, for which I'd like to specify a custom program to run on a debugging session. When you set it in Project Properties -> Debug -> Start Action, VS creates a *.csproj.user file with a content like the following:
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyG...
I have a complex set of MSBuild .targets files tha I am trying to debug. I want to figure out who is who, in what order, when.
I tried using 'msbuild /v:diag' but I don't see this much detail in there.
Is there a way to get this information?
...
I have a vcproj file that includes a simple pre-build event along the lines of:
Helpertask.exe $(ProjectDir)
This works fine on developer PCs, but when the solution is built on our TFS 2008 build server under MSBuild, $(ProjectDir) is either blank or points to an unrelated folder on the server!
So far the best workaround I have manag...
We get the above error message on our build server, when we build the solution or the specific project that the error refers to.
We can build the solution without any problem using visual studio (also on the build server), however it fails with the above error when running msbuild.
Any Ideas?
...
How can I define project OutputPath in a solution file?
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugUse|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<OutputPath>bin\Debug\</OutputPath> <!-- this -->
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</Platfor...
I have a very complex set of MSBuild projects. Often, one .proj will invoke the <MSBuild> task to build another project file.
When reading the console log, it's hard to see which invocation of MSBuild I'm looking at.
Is there a way to make the log either:
Indent the output from sub-invocations of MSBuild, or
Put each MSBuild log in ...
if I launch the RAD Studio command prompt and run
msbuild /t:Rebuild
in the project directory, msbuild will show the full command line to invoke dcc32, including all path settings. (see http://stackoverflow.com/questions/970994)
If I only want to capture this msbuild console output in a file, and do not need the compiler execution, is...
Hi all,
I can't understand why If I compile the same source with Visual Studio 2008 (MSBuild) and then with csc (or NANT) at command line I can't obtain exacly the same binary file (the same assembly).
The command line is the same that is invoked by visual studio because I copy the command from the output window and then paste the comm...
What are the 1> and 2> in the Visual Studio build window? The number some time goes higher. Processes? Threads? Nesting? I never seen them before and they started showing up on my new machine which now is dual core.
...
I have a process where I need to automate the process of generating the satellite assemblies. Specifically this is for WPF and combining Resx and BAML resources.
I've got a build script that works, but it requires manual adding of the .resources files I want to combine with the BAML resources. IOW, I have to add to the build script each...