Questions tagged [target]

In a makefile, targets are associated with a series of commands to execute when an action is requested.

1932 questions
21
votes
12 answers

Visual Studio 2010 error: "Project Target Framework Not Installed" when opening a .NET 4.0 project

I am experiencing a rather disconcerting issue with one of my development machines that I hope someone can advise me on. I have a large Visual Studio 2010 VB solution, targeting the .NET Framework 4.0 which opens and works just find on numerous…
Mike Wilson
  • 397
  • 1
  • 3
  • 11
20
votes
2 answers

Learning and Understanding the Xcode Build System

Alright, I'm curious about the build process with Xcode. Setting up multiple Targets, how to automate versioning and generally understanding the system so I can manipulate it to do what I want. Does anyone have any books or can point me to some…
gks
  • 785
  • 2
  • 7
  • 11
20
votes
1 answer

Swift 4 - Setting a minimum deployment target

The current deployment target is 11.0 which is fine. However, I would like to know how I would set a minimum of 8.0?
Niall Kiddle
  • 1,477
  • 1
  • 16
  • 35
20
votes
2 answers

Can't change target membership visibility in Xcode 4.5

I currently try to exclude my In-App Purchase logic in an App of mine to make it reusable in other Apps of mine or even put it on a public git repository for others to use. For this purpose I follow this guide of creating a framework in XCode. But…
CGee
  • 1,650
  • 5
  • 20
  • 31
19
votes
2 answers

What will Typescript transpile when targeting ES5 / ES3?

I'm trying to understand when the Typescript compiler will transpile code to make it compatible with my specified target ECMAScript version (ES5 or ES3). For example, TSC will transpile for(var int of intArray) fine, but it doesn't transpile…
JoshMB
  • 990
  • 1
  • 8
  • 14
19
votes
3 answers

Use window.name to open links in emails in the same tab

I am developing a web site where users can change settings which they have to confirm before taking effect. The confirmation is done by a link I send them via E-Mail. In the HTML of the website I use this little snippet:
Simon Hessner
  • 1,757
  • 1
  • 22
  • 49
19
votes
2 answers

Can I sort the schemes and targets list alphabetically in Xcode?

I am working on a project that is accumulating more and more schemes and targets in our Xcode project. Other than re-ordering schemes and targets by hand is there anyway to automatically sort these alphabetically? Or do I have to put in a feature…
jcpennypincher
  • 3,970
  • 5
  • 31
  • 44
18
votes
1 answer

Calling method set as target on UIButton

If I have a UIButton which has a target set, is there a way to call this method without explicitly calling it? For example: [newViewController.button addTarget:self action:@selector(MyMethod) forControlEvents:UIControlEventTouchUpInside]; I'm then…
ingh.am
  • 25,981
  • 43
  • 130
  • 177
18
votes
2 answers

Adding custom commands to existing targets in qmake

Is there a way to specify, in a .pro file, extra commands to be added to a standard target in the Makefile that qmake generates? For example, consider distclean, extra commands might be desired to: Remove *~ files. Clean out runtime-generated…
Jason C
  • 38,729
  • 14
  • 126
  • 182
18
votes
3 answers

Detect whether run target is App Extension or iOS App

I have a simple app which also has a iOS 8 Today Extension (or widget). One of the things I am doing is sharing code classes between my app and my widget, because obviously this saves me from having to have multiple copies of the same code. It all…
user4657588
18
votes
1 answer

How do you conditionally call a target based on a target variable (Makefile)?

I want a different version of the clean target to run based on whether make dev or make prod are run on a makefile. I'm not compiling anything per se, just want to conditionally call a particular target or set of targets based on a variable, for…
qodeninja
  • 10,946
  • 30
  • 98
  • 152
18
votes
5 answers

How can I get the value of the current target ant?

How can I get the value of the current target ant? Does it exist a special variable something called TARGET?
pindare
  • 2,382
  • 6
  • 21
  • 24
17
votes
9 answers

C# Target="_blank" in a LinkButton

is it possible to have a target="_blank" in LinkButton...mine doesnt seem to be working
user979331
  • 11,039
  • 73
  • 223
  • 418
17
votes
3 answers

How to copy and paste files in Compile Sources from one target to another?

I have a main target that have certain files included under its target -> Build Phases -> Compile Sources. I'm starting a unit test and would like the unit test to include the same files as the main target. Is there a way to copy and paste the files…
panupan
  • 1,212
  • 13
  • 15
17
votes
3 answers

how to get an array out of a javascript proxy

Hi I was wondering if anyone knew how to get an array out of a proxy's target value in JavaScript. I have something like this : Proxy : [[target]] : Array // the array I need to extract [[handler]] : Object [[IsRevoked]] : false
Jip Helsen
  • 1,034
  • 4
  • 15
  • 30