Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The name "LocalizedStrings" does not exist in the namespace

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.

<Application.Resources>
    <local:LocalizedStrings xmlns:local="clr-namespace:Bins" x:Key="LocalizedStrings"/>
</Application.Resources>

and the LocalisedStrings.vb file is intact.

Any ideas?

like image 859
Maf Avatar asked Mar 05 '13 14:03

Maf


1 Answers

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
like image 131
Mobiletainment Avatar answered Oct 11 '22 13:10

Mobiletainment