Reader Level:

Windows Store Development Tips and Tricks 7 : LayoutAwarePage Problem

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

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

Ibrahim Ersoy helps running and managing C# Corner. He is a Software Consultant in Sharepoint field. He is also interested in Universal Apps, Nodejs, Javascript and mobility. He is also a 2 times C# Corner MVP.



Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.

Trending up