gavinpugh / vs-android

Integrated development of Android NDK C/C++ software with Microsoft Visual Studio.
Other
119 stars 34 forks source link

Deal with imported projects from other platforms #70

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
From Troubleshooting Page:

Hello again.

I noticed that when copying settings from a Win32 platform to Android platform 
when creating a new Android platform in the projects, some of the settings from 
the Win32 are copied that aren't used in Android so the projects fails to 
build. I'm not sure if this can be easily fixed or if there is a workaround. 
Usually the settings include the resource compiler (which is not as bad as I 
can simply select the resources and set them to "Does not participate in build" 
on the Android platform) and the manifest embedder (it uses mt.exe). For that 
one I have to manually open my project file and remove tags such as these:

<GenerateManifest 
Condition="'$(Configuration)|$(Platform)'=='Debug|Android'">true</GenerateManife
st>
<EmbedManifest 
Condition="'$(Configuration)|$(Platform)'=='Debug|Android'">true</EmbedManifest>

It's not much of a big deal, but it would be good if vs-android could handle 
that kind of stuff automatically and make sure some settings are not copied 
from other platforms (if that is even possible).

Cheers!

Original issue reported on code.google.com by gavin.dj.pugh on 24 Feb 2012 at 7:49

GoogleCodeExporter commented 9 years ago

Original comment by gavin.dj.pugh on 26 Mar 2012 at 7:29