简体   繁体   中英

Windows Phone 8 preprocessor directive doesn't apply to mixed solution

I have a couple of similar WP8 solutions with common C++ projects for back-end. I also

I need to apply preprocessor directive to one of the solutions (it should be read by C++ back-end for this particular package) for backend to change behavior according to this solution.

Applying preprocessor directive to affect backend behavior worked for Win8/Win8.1 solutions, but it doesn't work for WP8 C# start-up projects.

What is the course of action in this case?

I made a copy of C++ backend project with the same content and added preprocessor directive to this project. A simple workaround and it worked.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM