Prefix.pch文件中的宏 – 在WP8中等效

在iOS应用程序中,我们使用相同的代 我能够使用Prefix.pch文件中的值来引用公共类并分离应用程序名称,主题,颜色等。

#define APPLICATION_NAME @"ABC" #define APPLICATION_THEME @"RED" #define SUPPORTS_ICLOUD 0 

通过使用这些宏定义我的前缀文件,在我的程序中我可以说

 #if SUPPORTS_ICLOUD = 0 -do this stuff- 

我想在WP8中遵循相同的方法。

我发现我们可以project properties in the menu Build->Conditional compilation Symbols:中的project properties in the menu Build->Conditional compilation Symbols:设置它。

但是我已经定义了大约50多个宏,很难在Build->Conditional compilation Symbols中添加它来添加和删除它。

那么我可以遵循的最佳方法是什么?