MSBuild is an XML-based build platform from Microsoft.
0
votes
1answer
11 views
Listing contents of a directory using msbuild
I'm trying to debug an msbuild script that is being run on our TFS build agent. I have no permissions to the build agent server.
Is there a way I can add some debugging to my msbuild script ...
6
votes
1answer
134 views
Storing Windows SDKs in source control?
The question is at the end - let me start by posing the context:
One of the problem we are facing at work when using Visual Studio is to make sure that everybody on the team is using the same version ...
0
votes
3answers
241 views
Copy Item's Metadata for batching
This is an extension to this question.
Suppose I'm creating items from other item's metadata:
<ItemGroup>
<A>
<files>f1;f2;f3;...</files>
...
0
votes
1answer
505 views
Copy Item's Metadata in msbuild
I am creating Item B based on item A, and would like to copy all of A's metadata to B (and add some additional meta data).
<ItemGroup>
<B Include="@A">
<M1>%(A.M1)</M1>
...
0
votes
1answer
22 views
setting VCCLCompilerTool.TreatWChar_tAsBuiltInType property on MSBuild command line
I need to build Visual Studio 2010 projects with wchar_t not being native type. The IDE setting should be equal to the value of VCCLCompilerTool.TreatWChar_tAsBuiltInType property. However trying to ...
0
votes
1answer
15 views
How to delete a registry value in MSBuild
How does one delete a registry value in MSBuild 4.0, without deleting the key?
I have tried the MSBuild Extension Pack, but the Registry class appears to be missing a method for deleting values.
0
votes
1answer
14 views
Select group of items based on metadata
I have several sets of items, sets partially intersect. All sets contain source files. Every such set must be compiled separately. The way I was hoping to achieve this was by means of using metadata, ...
22
votes
7answers
12k views
Use 32bit “Program Files” directory in msbuild
In 64 bit versions of windows, 32 bit software is installed in "c:\program files (x86)". This means you cannot use $(programfiles) to get the path to (32 bit) software. So I need a $(ProgramFiles32) ...
2
votes
3answers
894 views
How can I create a common post build event used by multiple csproj projects
I have several Visual Studio 2010 C# projects. I'd like to have them all have the same post build event. Basically I want them to copy their output somewhere. I think I can do this using an ...
1
vote
0answers
14 views
Config transformation in WIX setup
I'm creating a MSI setup with WIX for my Web Application. This works correct. The only thing that I don't get to work is to enabling the config transformation of the standard web application publish ...
3
votes
1answer
233 views
Assembly only used in XAML is not copied to bin folder
In WPF project, references only used in xaml is not copied to bin folder even with CopyLocal set to true, as complained in this post. With MVVM pattern, it is common that 3rd party controls are used ...
1
vote
1answer
23 views
Getting the project status from Msbuild & Using it in vs2010
I have a really big project and what i am trying to do is this:
Occasionally, i have to make few (minor) changes in a single class.
Since this is a minor change, i really hate to open visual studio ...
3
votes
2answers
497 views
Which one is better octopus or msdeploy for auto deployment on multiple servers using teamcity
I have looked into both. Would like your suggestions as to which one is better for automated web deployment on multiple servers.
3
votes
1answer
403 views
Add MSBuild batched task output as item metadata
I have a list of projects in my MSBuild file:
<ItemGroup>
<SubProject Include="**\*.csproj" />
</ItemGroup>
And now, I would like to set, on each project, its TargetPath in a ...
1
vote
1answer
20 views
tfs build processes are slow and takes long time to finish
If I Build my solution from VS, it takes less than a minute to do all the checks to tell me all the projects have been built. If I do the same in team foundation build, it takes closer to 20 minutes.
...