Reader Level:
Articles

Windows Store Development Tips and Tricks 7 : LayoutAwarePage Problem

By Ibrahim Ersoy on December 19, 2012
Beginning Windows 8? These tips will help you master it.Trick 7: LayoutAwarePage Problem
  • 0
  • 0
  • 5370

If you created a project using "Blank App" Windows Store Template before and when you add one of the following:

  • Group Detail Page
  • Grouped Items Page
  • Item Detail Page
  • Items Page
  • Split Page
  • Basic Page

Visual Studio will automatically add Layout Aware Page classes and styles to your project.

But the problem is,

you'll get a warning; The name "LayoutAwarePage" does not exist in the namespace.
Even though there are techniques which advise you to first Clean the solution and then Build the solution,
my advice to you to solve it is to Rebuild the solution.This will remove Design Time Errors and repackage your application.
After that the problem will be solved and you will be free to use a layout aware page. 
Hope that helps!

Ibrahim Ersoy

Ibrahim Ersoy lives in Turkey, Istanbul. He helps running and managing C# Corner. He is a Software Consultant (Sharepoint) and MindCracker MVP. He writes about cutting-edge Microsoft Technologies including XNA,... Read more

Personal Blog: http://www.iersoy.com
COMMENT USING

Trending up