LayoutAwarePage does not exist in namespace VS2012 bug?

前端 未结 10 1232
情深已故
情深已故 2021-02-05 05:41

I\'m trying to get a search contract working on my Win 8 app but after adding a search contract to my project I get the following namespace error:

LayoutAwarePag         


        
10条回答
  •  悲哀的现实
    2021-02-05 06:33

    I had this nagging problem which may have been linked to using the SQLite for Windows RT add on (v3.7.15), and random "Design view is unavailable for x64 and ARM target platforms" errors.

    Regardless, for me, everything works fine now, including the layout aware functionality, once I changed the target platform to x86 for both the project AND solution.

    So right click both the project and solution in Solution Explorer, click Properties, and select an x86 architecture.

    It does make me a bit nervous to not have "Any CPU" as the target, so if anyone knows how to make this work with SQLite and layout aware pages, please chime in.

提交回复
热议问题