Currently the msbuild logs for team build are appalling as they are just plain text and are very difficult to read. Also the ones created by my build are approx 30Mb and take quite a while to download (our TFS server is in our datacentre).
Does anyone know any way of being able to view these logs easier, prefereably integrated with eith...
We have a process that runs prior to our nightly builds. If the process fails it generates a text file. All I need to do is check to see if the file exists, and if it does, cause a failing MSBuild.
I currently have tried the following:
<CreateProperty Condition="Exists('C:\Process\Fail.txt')"
Value="false">
<Output TaskParame...
In Visual Studio, there's the compile flags /MD and /MT which let you choose which kind of C runtime library you want.
I understand the difference in implementation, but I'm still not sure which one to use. What are the pros/cons?
One advantage to /MD that I've heard, is that this allows someone to update the runtime, (like maybe patch...
I have a project that i need to build the C# file
and i hesitating to use between NAnt and MSBuild
which one should i use?
which one support more funtionality, including the svn function?
Thanks
...
Hi,
I want to use CCNetRequestSource wich is the name of the trigger wich launch the Msbuild task. For exemple when "toto" trigger is exected i want to launch the "toto" target on MsBuild. Is it possible ?
It's for a nightly build, i want to create MSI file and doc at this time, i created the specific target in MSBuild but i don't found...
I've been struggling with how to best organize my msbuild project files. At one time is was all in one file. Then I split it up into multiple files.
But I want to be able to run 1 master project file that imports everything and builds them with dependencies. Or be able to build a project independently and not have it worry about no...
I am trying to get Gallio to be called from MSBuild in a TeamCity build configuration. The Agent/Server for TeamCity does not have Gallio installed but I do have a distribution of Gallio in my source tree. I am using MSBuild to do the actual build of the project.
How can I tell the Gallio task to use the Gallio executables that are i...
I am trying to add a BuildStep to the AfterBuild target in MSBuild and I am using the following
<Target Name="AfterCompile">
<ItemGroup>
<TestAssemblies Include="$(OutDir)\DataStoreUnitTests.dll" />
</ItemGroup>
<BuildStep
Name="Run unit Tests"
TeamFoundationServerUrl="$(TeamFoundationServerUrl)"
...
I've got an <ItemGroup /> in MSBuild that contains a list of files. I know that you can apply a tranform to the item group when executing tasks, but I'd like to pre-transform the group into another group...an example will probabbly make it more clear.
<ItemGroup>
<File Include="One.cs" />
<File Include="Two.cs" />
</ItemGroup>
...
I am currently involved in a ASP.NET project with about 40 projects in the solution. We are doing all our development in cloned Virtual PC environments so all developers have identical setups. That's all good, managing dependencies is easy, however building the solution is horribly slow. Virtual PC can only utilize one CPU so I'm really ...
I'm looking to squeeze some more speed out of my build and was wondering if I could instruct msbuild to not generate PDB files. I'm passing the Configuration=Release and DebugSymbols=false property with no luck.
...
We recently moved to Team Foundation Server 2008 from Source Safe. We are setting up some automated builds and have run into some issues with the publish of click once apps that seem to require additional installs on the build server.
I've seen posts that indicate that the Visual Studio IDE needs to be installed. I've also seen posts t...
I have the following msbuild script that copies the entire DeploymentDirectory to the VersionSpecificDirectory. Here is the snippet:
<CreateItem Include="$(DeploymentDirectory)/**/*.*" >
<Output ItemName="AllDeploymentFilesToCopy" TaskParameter="Include" />
</CreateItem>
<Copy SourceFiles="@(AllDeploymentFilesToCopy)"
Destinati...
I know that some companies allow you to install their products on build machines as required without requiring a separate license (DevExpress is one that comes to mind). However I was wondering if Microsoft had the same allowances on licenses.
MSBuild does not support vdproj directly and require you to run Visual Studio from the command...
Hi all,
I'm currently using the tigris open source project MSBuild Community Task and I have some trouble with the SvnCommit Task.
I don't really know how to use the Targets attribute
I have this line in my project :
<SvnCommit Username="myName" Password="myPsswd" LocalPath="$(myPath)" ToolPath="$(SvnPath)" Targets="myFile.zip"/>
...
I have a VS 2005/MSBuild 2.0 project (let's call it "Project A") that I must keep in VS 2005 (it uses a third-party VS 2005 Designer.) Project A is referenced by one of the projects in my new VS 2008 solution (we'll call them "Project C" and "Solution B" respectively.) Ideally, I'd like to chain the building of Project A into the build...
I am using MSBuild to Publish a web site, then copy the published site to a web server on the same network. I set the copy command to "SkipUnchangedFiles."
It works swimmingly, but Skip Unchanged won't work because when I use AspNetCompiler to publish the website, each and every file is "new" -- its date is set to the moment of publishi...
What directory/solution/project structure do you find to be the most manageable and convenient for medium to large projects written in C#? By "medium to large" I mean projects which include a diverse set of Visual Studio C# project types in a hierarchical structure with nested namespaces.1
I'm primarily interested in those project types...
I just create a Solution that contains 3 projects.
Order by build order
Silverlight Application that is included in /ClientBin of ASP.NET Web Application project
Windows Form Application that is used to optimize all xap in /ClientBin when Visual Studio pass build (post-build event).
ASP.NET Web Application that display Silverlight app...