Questions tagged [targets]

163 questions
465
votes
24 answers

Microsoft.WebApplication.targets was not found, on the build server. What's your solution?

Trying to build my project on the build server gives me the following error: Microsoft (R) Build Engine Version 4.0.30319.1 error MSB4019: The imported project "C:\Program Files…
stacker
  • 14,641
  • 17
  • 46
  • 74
317
votes
28 answers

How do you get the list of targets in a makefile?

I've used rake a bit (a Ruby make program), and it has an option to get a list of all the available targets, eg > rake --tasks rake db:charset # retrieve the charset for your data... rake db:collation # retrieve the collation for your…
Brian Burns
  • 20,575
  • 8
  • 83
  • 77
33
votes
1 answer

changing the project and target name in XCode

I created a project and I fully developed it. I need to change the name of the project and targets. is there an easy way to do that or should I just create a new project and copy all the items in there? Thanks
user1415780
  • 1,153
  • 5
  • 16
  • 33
31
votes
3 answers

Adding files to separate targets in Xcode 4

Since upgrading to xcode 4, I can't find where to specify what Target a resource belongs to. Previously, I selected the file and hit command+i, but this now seems to run the program, rather than bring up the info box for that file.
Smikey
  • 8,106
  • 3
  • 46
  • 74
29
votes
6 answers

Xcode4 target labelled as missing, but cannot delete it

I want to delete this red-marked target, but am unable to. The "minus" button in the dialogue remains greyed-out, it doesn't respond to backspace or delete keys and right-clicking just brings up help options. I can drag the missing-red-marked…
SubG
  • 740
  • 1
  • 7
  • 14
23
votes
2 answers

How do I define preprocessor macros in Xcode 4?

I have two targets set up for my app (a lite version and a pro version) and I want to integrate some subtle differences in the code for each of them (e.g. the pro version will not show any iAd banners). I have been looking around and I see the…
user843337
14
votes
2 answers

Build for armv6 architecture (target iOS 3.1.3) with iOS 6 SDK and Xcode 4.5?

is there a chance to use the iOS 6 SDK to develop applications that target iOS 3.1.3? If I open my project with the old deployment target, the compiler warns me: iOS deployment targets lower than 4.3 are not supported This is probably due to the…
Björn Marschollek
  • 9,899
  • 9
  • 40
  • 66
12
votes
1 answer

MSBuild Condition IsDebug

How can I determine if a project is build in Debug (or Release) mode within an MSBuild .targets file and use this information as a condition for another property? Something like:
Thanasis Ioannidis
  • 2,981
  • 1
  • 30
  • 50
11
votes
2 answers

How do I run a preferred target in Xcode?

I'm studying a simple application demo from Apple that has two (2) targets. Each target has its own plist, storyboard and some code; with a few files shared between them. Choosing the 'R'un, runs one default target. I want to specify what target…
Frederick C. Lee
  • 9,019
  • 17
  • 64
  • 105
11
votes
1 answer

How to invoke the same msbuild target twice?

I have the following msbuild script: ...
mark
  • 59,016
  • 79
  • 296
  • 580
9
votes
2 answers

iOS - Storyboard - Use a programmatically define color in the configuration palette of storyboard

I try to find a way to deal with multiple targets (deploy multiple app from one project), i don't know how to define a UIColor and use it in storyboard (i can do that well for UIImage). My idea is to switch the value of this color according of the…
Jaysee
  • 111
  • 1
  • 4
9
votes
2 answers

What are "targets" in Xcode?

I have seen a lot of things about 'targets' while working with xcode. when i click on the project icon (blue, in xcode 4.2) i see 'Targets' in the middle pane with my file name under it. What does that mean? and can I add more 'targets' to my…
neeraj
  • 1,191
  • 4
  • 19
  • 47
8
votes
2 answers

Select "Android X.X" or "Google APIs" in new project

I think it's basically the same, but what build target should I select? Or is there really difference between them? For example the "Android 2.2" or "Google APIs" for the same Platform and API Level?
Marek Sebera
  • 39,650
  • 37
  • 158
  • 244
8
votes
0 answers

Xcode targets -- programmatic creation

I have an iOS project in which there will be >100 targets created from the same code base. The targets have many similar characteristics, but different info.plist, Default.png files, etc... I'm considering generating (or mutating) the project file…
logancautrell
  • 8,762
  • 3
  • 39
  • 50
8
votes
4 answers

Common targets are not recognized by Eclipse

I have added all common targets like (init, clean, getivy, etc) in ./common/common.xml and added: in build.xml. When I build the project, its working fine. But, When I open build.xml in Eclipse IDE, I…
Angrezy
  • 141
  • 2
  • 10
1
2 3
10 11