XAML: ApplicationBar not defined compiling AppBar C++ sample.
-
Thursday, March 08, 2012 9:32 PM
I tried to build the C++ AppBar sample using the VS11 beta, but the XAML compiler complains that ApplicationBar isn't defined.
What do I need to do?
All Replies
-
Thursday, March 08, 2012 9:42 PMModerator
Are you trying to run a Developer Preview sample on the Consumer Preview? The ApplicationBar control was renamed to AppBar. See the //Build to Windows 8 Consumer Preview whitepaper for more information on changes you need to make when migrating an app from the Developer Preview to the Consumer Preview.
If you're using a current sample can you please provide a link to the specific sample?
--Rob
- Proposed As Answer by Rob CaplanMicrosoft Employee, Moderator Thursday, March 08, 2012 9:42 PM
- Edited by Rob CaplanMicrosoft Employee, Moderator Thursday, March 08, 2012 9:43 PM
- Marked As Answer by cdunford Friday, March 09, 2012 1:46 AM
-
Friday, March 09, 2012 1:25 AM
Yes, I was trying to build the Developer Preview version because the newer one has only an HTML/javascript version of the project, which does me little good (a problem with quite a few of the samples, by the way).
Oh, well.


