The name “LocalizedStrings” does not exist in the namespace

前端 未结 4 851
栀梦
栀梦 2021-01-02 01:07

I\'m suddenly getting this error in my WP8 project, which seems to originate from generated code. I have a previous working version and the App.xaml is identical.



        
4条回答
  •  离开以前
    2021-01-02 01:38

    I had the same problem when compiling the standard Windows Phone Databound App template. Following steps worked for me:

    • close all Visual Studio instances
    • if your Region settings in the control panel mismatch the Windows Phone SDK's language (e.g. German), set the Format in the Region settings to English (United States)
    • in your windows explorer, navigate to %LOCALAPPDATA%\Microsoft\Phone Tools\CoreCon\ and delete the contents of the folders 10.0 and 11.0
    • reopen Visual Studio and rebuild your project

提交回复
热议问题