LayoutAwarePage does not exist in namespace VS2012 bug?

前端 未结 10 1122
情深已故
情深已故 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:37

    Close all the xaml file and rebuild the project. If you have errors in the cs files fix them first. For me it was easy as adding public static MainPage Current; to the mainpage.

提交回复
热议问题