I am working on a .NET project with a Flex/Flash front end. The build scripts are written in MSBuild and I'm looking to build the Flex project (authored in Flex Builder 3) from my primary build script.
What options do I have for building a Flex 3 application from MSBuild?
I've already seen flexbuild, and it looked ideal until I tried i...
Hey All,
So I'm integrating WPF into a Windows Forms application I've built. One of the big hurdles I'm running into is that when the Markup compiler generates the .g.cs files in the background, the InitializeComponent method is being generated incorrectly.
Here's what's generated:
System.Uri resourceLocater = new System.Uri("/MapWorks...
This must be trivial, but I have tried and searched for two days now and can’t figure it out: If file c:\abc\def\foo.cs has an error, I’d like the error message to output the full path, not just foo.cs. How can I do this?
Thanks in advance!
...
How can I stop and then restart an IIS 7 application pool from an MSBuild script running inside TeamCity. I want to deploy our nightly builds to an IIS server for out testers to view.
I have tried using appcmd like so:
appcmd stop apppool /apppool.name:MYAPP-POOL
... but I have run into elevation issues in Windows 2008 that so far h...
Okay so here is my situation:
Project A is in solution A, lets call it's output a.dll.
Project B is in solution B, lets call it's output b.exe.
Project B references a.dll
Both solutions are under source code control in different repositories.
My question is: how can i assure that Project A's output gets redirected to project B's "Ex...
I have been trying to make a task in my TFS builds more generic, and one of the things I am trying to do is copy some files to different directories depending on the build using the task. I toyed with the idea of using properties, but I couldn't think of a way to do that cleanly, so I tried to go with using item metadata, as I've been ab...
I have a custom target (a group of copy tasks, among others) in my build that I need to call a couple of times to effect change in different places. However, this only runs the first time it is called, after which TFS build skips the said target.
The process goes as follows:
<!-- Copy some files to another location -->
<CallTarget Targ...
I know msbuild will be installed, if I install Visual Studio 2005 or 2008.
I know msbuild is also installed if I install the .NET Framework SDK.
As of .NET 3.0, I think there is no longer a separate ".NET Framework SDK". Instead if I want the free SDK stuff - all the .NET command line tools, all the base class libraries - then I ...
Here's what I'm trying to achieve. I have a number of projects in C# and VB which I wish to export as template projects as part of my automated build process. Exporting templates is easy to do interactively, but I need to do it as part of my automated build process. Further, the template projects must actually be built prior to exporting...
Hi I have a Wix (Voteva) Visual Studio project which creates an MSI from my WiX file.
I want to integrate this into our continuous integration by putting into an msbuild script.
Reading the project source file did not help and could not find any clear info from google.
How do I create an MSI using a WiX (wsx) script from an MSBuild sc...
MSDN:
BaseOutputPath: Specifies the base path for the output file. If it is
set, MSBuild will use OutputPath =
$(BaseOutputPath)\$(Configuration)\
I tried to use the MSBuild Project Property BaseOutputPath instead of specifying OutputPath for every configuration & platform combination but Visual Studio complains when I compile:...
Subj.
"Automatically" is essential here. References from GAC must not be copied.
I've seen e.g. VS2008.NET: Getting a referenced project’s dependencies to copy to main project’s bin folder, and this isn't interesting for me. I'd like all the dependencies get copied automatically.
...
I have 2 projects in my VS2005 solution: Exe.csproj and Dll.csproj
Dll.csproj has an app.config
Exe.csproj has a project reference to Dll.csproj
If I compile Exe.csproj, than Dll.dll and Dll.pdb will be automatically copied to Exe/bin/debug, but Dll.dll.config not.
Is there any way to get Dll.dll.config in Exe/bin/debug without post ...
Is there a Test Stripper (as defined in xUnit Test Patterns) available that supports removing classes containing methods tagged as [Fact]s etc. plus the dependency on xunit.dll from binaries [as part of a build process] ?
Further details of the full requirements and context are at this xUnit CodePlex post.
Failing that (something that ...
I wanted to ask a quick question regarding the behaviour of the MSBuild task XmlMassUpdate.
Has anyone found that the task will only copy unique nodes over to the content XML? For example, if I have a client node which has multiple children called endpoint, then it will only mass copy the first endpoint node while eliminating all the ot...
I have all my views in a project inheriting from a ViewBase class that inherits from UserControl. In my XAML I reference it thus:
<f:ViewBase x:Class="Forte.UI.Modules.Configure.Views.AddNewEmployeeView"
xmlns:f="clr-namespace:Forte.UI.Modules.Configure.Views"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
...
Does anyone know where are list of builtin MSBuild variables are located?
I need know how to determine the current project's csproj name, and thought it might be useful to know what else I can find out in MSBuild.
...
Does anyboy know how to pass the LastChangeNumber parameter into MSBuild?
I'm trying to use this:
<Exec Condition=" '$(LastChangeNumber)' != '' " Command=">\\server\destination\subversion_revision.txt echo subversion $(LastChangeNumber)" />
Which successfully ignores the condition if I leave out the LastChangeNumber parameter from th...
I'm trying to get Team City to build my .NET solution and run my nUnit tests.
I know I can modify the individual projects and tell them always run the unit tests. I don't want the unit tests to run when I click "build" in visual studio, but I do want the unit tests to run when Team City kicks off a msbuild task.
I tried "msbuild soluti...
I have a team foundation server with build server, when I run a build it deploys to a website on that box. However I also want to do the same on Production which is a server on an external network and not part of the same domain.
I thought about looking at TFS Deployer but that just seemed to work within a network, I'm going to test it ...