Hi,
When building a solution on a machine without VS installed, and getting workflow compilation errors I would like to track down the source of the errors, but the msbuild output is not very helpful:
C:\Program Files\MSBuild\Microsoft\Windows Workflow Foundation\v3.0\Workflow.Targets(80,3): error : The type or namespace name 'Foo' cou...
Unless I've grossly misunderstood MSBuild, tasks are executed in the document order in which they appear within a 'Target' node.
I'd like to be able to specify that two tasks (such as xcopy tasks) could run in parallel. I was expecting there to be a 'Parallel' task or something...?
...
When i build a A.sln which includes 2 projects B.csproj and C.csproj which has internal project references it throws reference errors in MSBuild. But when i build B.csproj and C.csproj seperately in MSBuild it don't throw errors. And also building A.sln in VS IDE also don't throw errors.I'm using .NET 2.0 framework. Please find below the...
One of the things I like about the Java IDEs out there is that they typically have the ability to allow a user to right-click on an Ant file and run one of the targets.
I've got an msbuild file in my solution that is used for migrating the application database, and would kill to be able to right-click on it, select "update" or "rollback...
I have an MSBuild script that I want to call from a PowerShell script as part of a deployment process. If I call the build script via a bat file all works well. If I do the exact same thing in PowerShell I get CS1668 error looking for wierd and wonderful paths that dont exist on my machine.
I know I am getting into the MSBuild script as...
1.I am getting below errror while executing batch file in cruise control:
code which i used is
<exec>
<executable>D:\DITBUILT.bat</executable>
</exec>
2.I want to publish in different folder using cruise control.. I am using the code... I am not able to publish in different folder
C:\WINDOWS\Microsoft.NET\Framework\v2.0....
I'm new to MSBuild, but I managed to setup the following simple script:
<Project ToolsVersion="3.5" DefaultTargets="Compile" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
</PropertyGroup>
<ItemGroup>
<S...
I have a VS2008 I want to copy certain files from a directory into my /bin/ folder. I have set the files (located in /common/browserhawk/) to "Copy to Output Directory". However, it copies the folder structure as well: the files are copied to /bin/common/browserhawk/
How do I get these files to copy to just /bin/? I do not want to s...
I'm sure everyone has to deal with these situations, we check in our solution to source control and each dev machine will have its own resources for debugging, building and testing..
The most common being:
Web server (IIS)
Database (SQL)
The web server is easy to handle, each dev machine will have its own proj.user file to specify d...
We seem to be having an issue when running our deployment project in that, when it compiles, it seems to miss our master pages from the output.
Is there any way to 'force' the project to include .master files, either through editing the .wdproj file, or via another method?
Also, I've been reading up on the MSBuildTasks community projec...
I am attempting to use CI on a Branch of one of my TFS projects. MSBuild only fails when I try to use a Branch. I point the same Build at the "trunk" project it works fine.
The error I receive from the build log:
Task "Label"
Label TeamFoundationServerUrl="http://TFSServer:8080/"
BuildUri="vstfs:///Build/Build/6763"
Name="T...
Is there any way to disable specific MSBuild warning (e.g. MSB3253) when running MSBuild from command line? My build script calls msbuild.exe much the following way:
msbuild.exe MySolution.sln /t:Rebuild /p:Configuration=Release
I've found out that I can suppress C# warnings (e.g. CS0618) using another parameter for msbuild.exe:
msbu...
Hi Guys,
I'm working on a fairly new project and we started from scratch. So not only the web application itself needs to get developed, but also the whole process of publishing the site and configuring the web server etc. need to be done from scratch.
This question might be more apropriate for serverfault, but that really depends on t...
We're still a little early in setting up our build automation and just using a bat file for now for Win32 C++ solutions. We have about 4 solutions and each has a couple vcproj files.
Each time a new solution or configuration is added I have to update the bat file to reflect the new solution or configuration to call with MSBuild.
I...
I'm setting up a MSBuild project to run some NUnit test, using the MSBuild Community Tasks Project.
With these settings I'll be able to run the NUnit tests:
<Target Name="Test" DependsOnTargets="Build">
<CreateItem Include="$(ProjectTestDir)\$(ClassLibraryOutputDirectory)\*.Tests.dll">
<Output TaskParameter="Include" ItemName="Test...
I've noticed that our cruise control server does not fail the build when content files are missing.
I'd like to fail the build when javascript / graphics files etc are missing. How can I go about validating the project file with the files pulled from svn?
...
I'm trying to get MSBuild working on a project that has just been moved to TFS2008. The solution was huge, so it was split into 5 team projects, A-E. Each one has only one solution but several projects. A is relient on B-E being built first. We need to build both debug and release versions of everything, which is fine, but when we compil...
Hi,
I'm trying to create copy/zip a pre-compiled site which is contains empty folders(after pre-compilation). Looks like empty folders is not included to the list of items after CreateItem task.
How I can care of empty folders?
thanks
...
I'm finishing setting up a TFS Build definition and having problems with getting MSBuild to run any code that I've put in the Custom.After.Microsoft.Common.Targets file. The file is definately in the right place, and is definately being parsed (breaking the syntax in the file causes build errors), but none of the code in it gets run. I'v...
I have a generated (via MSBuild) Web.config that runs prior to the Build target whose content includes, among other things, <compilation debug="true">. The generated Web.config is copied to the root and put in the Content item group. But when I run the Debug build in Visual Studio 2008 (via F5) I get the following dialog:
If I select ...