Questions tagged [itemgroup]
56 questions
0
votes
2 answers
MSBuild Package task - Web Deploy
I'm trying to add custom files to our web deployment package, per this blog posting: http://sedodream.com/2010/05/01/WebDeploymentToolMSDeployBuildPackageIncludingExtraFilesOrExcludingSpecificFiles.aspx
…

Andy
- 8,432
- 6
- 38
- 76
0
votes
0 answers
What's the Point of Splitting Files into ItemGroups?
Elements included into C# projects (defined in MSBuild format), such as folders, files to compile, or resource files, can be grouped into elements.
When I look at various of the project files generated by SharpDevelop, normally, several…

O. R. Mapper
- 20,083
- 9
- 69
- 114
0
votes
1 answer
How to hide all the Items created in one particular loop in Qt?
I have been using Qt Creator for almost a month now. I hope this is not a silly question because it bugged me for a long time.
I want to achieve:
create many different items(let's say 20 per sec) in QGraphicsScene.
use one single class for all…
0
votes
1 answer
Confused about contents of MSBuild ItemGroup
I'm working on an MSBuild script whose job is to build a solution and then copy the build output from two projects into a unified directory. Simple enough.
I'm doing this with the Copy task. Like so:

Bryan Slatner
- 1,588
- 2
- 16
- 19
0
votes
2 answers
Premake: How do you prevent elements from being added to VS2013 project files?
I'm keeping all my source files in a separate location to keep my trunk clean and organized. I simply point to this "SourceCode" location within my lua files but set my "location" to a completely separate "builds" directory. For the most part, this…

Kevin Pick
- 21
- 4
0
votes
0 answers
convert Emgu image to array and from array to image
I want you to know the methods to get the image from array of bytes :
I'am using this code but it's throw an exception ,if the size is more than 100 or the length of the arary,and if it's less than 50 it save a messay image
Bitmap b = new…

user2310851
- 11
- 1
- 3
0
votes
2 answers
Unwanted changes in .csproj file on build
I'm trying to auto-detect web.configs as part of a transform pre-build event in one of my web application project files, this code goes up one folder level from my project file and gets all web.configs in every directory and sub…

ShaneC
- 2,237
- 2
- 32
- 53
0
votes
1 answer
How can I prepend items in an MSBuild ItemGroup I've created by splitting a string?
I'm parsing a number of items that we're getting from our Visual Studio project file and need to run a command line utility on a number of these files. The parameters I need to use are based on a collection of ancillary files that are often stored…

abitgone
- 561
- 9
- 29
0
votes
1 answer
MSBuild Property is not updated to reflect current item's Identity
I have an MSBuild script with a defined Target and ItemGroup.
Inside the target, i define a PropertyGroup like so:
##teamcity[testStarted name='%(Names.Identity)']
…

lysergic-acid
- 19,570
- 21
- 109
- 218
0
votes
1 answer
msbuild output remove assemblies
I have some msbuild code that looks something like this:
…

justin.m.chase
- 13,061
- 8
- 52
- 100
-1
votes
1 answer
If Any of These Files Don't Exist Execute Target
I have a Target which I want to run once if none of the files in my ItemGroup exist.
My question is what is what to put in the '?'.

Jonathan Mee
- 37,899
- 23
- 129
- 288