Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

reference whole project & additional mtouch arguments

$
0
0

Hi guys! Lets say we are creating application which have many "branches" - One main project called core as library and some project which are compiled as application - all similar with little differencies which are solved by #if DEF (they're not so little for normal if else). Normally would be great to just link files, but core project is too living to maintain all files linked in each project. So better solution is to add whole core project in references, but this comes with the problem, that referenced project is compiled with own #if DEF's and not the branch project ones.

Our best idea was to add additional arguments to mtouch for build like -f and build target assembly with these #if DEF. It`s little bit rough solution and no additional argument like this one above is defined for mtouch. So if you know some better solution - we are very interested to hear the idea.

Thanks


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>