I've read in the MSDN MSBuild Task Reference about XmlPeek task at http://msdn.microsoft.com/en-us/library/ff598684(v=VS.100).aspx
but I cannot use it in my MSBuild script. If you have used this before, please show me how!
...
I need to run an external MSBuild thread from inside another MSBuild project. What I need to do is to pass the /noconsolelogger to the task . How can I do this, please help!
...
I've got a WiX installer project which uses MSBuild to generate the MSI file. The WXS file includes the WiX firewall extension:
xmlns:fire="http://schemas.microsoft.com/wix/FirewallExtension"
I've defined two cultures in the MSBuild file with the following definition:
<PropertyGroup>
...
<Cultures>en-us;no-no</Cultures>
</Prop...
I read the description from MSDN about MSBuild at http://msdn.microsoft.com/en-us/library/ms164311(v=VS.80).aspx) (the /logger parameter) but it is absolutely not clear enough. I need a list of available arguments for file logger. Please help!
...
Has anyone gotten a MSBuild task in Cruise Control to load a logger?
I've tried variations but it always fails to load the logger.
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
C:\Windows\Microsoft.NET\Framework\v4.0.30319
C:\builds\MVC2Test\trunk\MVC2Test\MVC2Test.sln
/noconsolelogger /p:Configuration=CruiseControl /v:dia...
I have a ASP.NET MVC2 project in VS2010 that can be deployed in two modes: standalone or plugin. In standalone mode, the views should live outside the compiled assembly as .aspx files (the default setup). In plugin mode, the views are switched (currently by hand) to embedded resources and the entire assembly is dropped into a host proj...
We have a VS2008 CS DLL project targeting .NET 3.5. It builds successfully on our CI server when using MSBuild 3.5.
When CI is upgraded to use MSBuild 4.0, the same project fails to build, due to 1 warning message:
c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(1418,9):
warning MSB3283: Cannot find wrapper
ass...
In our developer environment, no users have administration rights. As such, it's not possible to install MSBuild.CommunityTasks without getting admin to do so.
What I'm wondering is similar to NAnt, i.e. is it possible to include the files in your solution directory, and just reference it from there? This way, will not matter if the pe...
In our MSBuild file for our project we sgen an assembly containing classes used during xml serialization. The classes are generated via xsd.exe.
We use the following SGen task configuration.
<SGen ToolPath="$(SdkPath)"
ShouldGenerateSerializer="true"
UseProxyTypes="false"
BuildAssemblyName="AssemblyName.dll"
...
Hello,
I'm writting custom tool for VS2010. This tool executes GCC-XML compiler to produce xml output for c++ header file.
When i change header file with my custom rule, everything is ok. But when i change some file, included in this header:
Skipping target "_GCCXML" because all output files are up-to-date with respect to the input fi...
When I type...
Msbuild<Enter>
... At the command prompt, I get...
Microsoft (R) Build Engine Version 2.0.50727.4927
[Microsoft .NET Framework, Version 2.0.50727.4927]
Copyright (C) Microsoft Corporation 2005. All rights reserved.
This is all very well and good except that when I run this against a vs2010 .sln file, the error messag...
We have a setup project that produces an uncompressed MSI file and no Setup.exe at all, to be later compressed by NSIS.
In a special build setting, I want to copy that MSI before it's being wrapped by NSIS, change the copy, and keep it. I would also like to compress it, after it has been created by the msbuild.
Is there a simple way (com...
I've seen the question related to the error message you get from TFS when a workspace is already mapped. The accepted answer for removing the workspace is alright as a workaround, but it's already getting tedious to run a delete command each time this error occurs.
What do I need to change in order to get out of having to use this work...
I have migrated a VS2008 ASP.NET MVC solution to VS2010/MVC2/.NET 4.0 The solution builds locally and all unit tests pass.
Our TFS server is still TFS2008 and I am having problems getting the CI build to pass.
The projects all build successfully, the unit tests all run and pass but the Running Tests item fails.
I followed this blog p...
I want my NUnit output transformed into msbuild error format so I can report on these in the Visual Studio error list. I know TestDriven.Net does the same.
MSBuild error format samples:
Main.cs(17,20): warning CS0168: The variable 'foo' is declared but never used
C:\dir1\foo.resx(2) : error BC30188: Declaration expected.
cl : Command ...
Hi guys
Just wondering if anyone knows if there are any MSBuild starter kits out there.
What I mean by starter kits is that from the looks of it most builds to kinda the same sort of steps with minor changes here and there (i.e. most builds would run test, coverage, zip up the results, produce a report, deploy etc). Also what most pe...
I'm checking into upgrading to VS2010.
Our production servers only have 3.5 Framework and it will be 6-9 months before they are updated.
We also have a Continuous Integration Server, running CruiseControl.NET (CC.NET).
It has the 3.5 Framework on it as well.
Our implementation of CC.NET mainly calls msbuild.exe MySolution.msbuild. (We...
I'm working on a .NET Compact Framework 3.5 app. I have an automated build machine that does not have Visual Studio installed, and all has been fine.
I'm trying to a a new solution containing control projects that have DesignTimeAttributes.xmta files. MsBuild on the build machine is failing with cannot find file, C:\Program Files\Micr...
I have some content files that I would like to share between a number of projects in Visual Studio.
I have put these files in their own project, set the build action to "Content", and the copy to output directory to "Copy if newer". I would like all these files to be copied to the bin/debug directory of the projects that reference them...
I upgraded our build server to VS2010 RTM.
I got a series of errors, most of which I could fix with a bit of searching. But I can't fix this one.
The solution builds fine on the server in VS2010, but not as part of a scheduled daily build in TFS.
Any ideas?
[Any CPU/Release] C:\Program Files\MSBuild\Microsoft\Cloud Service\1.0\Visua...