visual studio 2010 - How do I know the project is targeted for Windows Phone Emulator when it is being built? -


in windows phone project sdk 7.1 want conditionally include file:

<content include="myfile.jpg" condition="'$(configuration)' == 'debug'" /> 

all good, condition not perfect. want file included when project being built windows phone emulator. target selected dropdown in visual studio:

enter image description here

i've looked through this msdn document , can't find suitable variable populated target name.

which build variable use detect project being targeted windows phone emulator?

i think emulator this property equal "emulator" or (you may check exact value launching app on emulator , use value).


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -