Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Error in WinPhone blank project when update Xamarin.Forms from 1.2.3 to 1.3.2 release.

$
0
0

The following error occurred in App.xaml file:

"Cannot resolve dependency to assembly 'Xamarin.Forms.Platform.WP8, Version=1.2.3.0, Culture=neutral, PublicKeyToken=null' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event. C:\Users\Ernest\Documents\Visual Studio 2013\Projects\MyRecipesBook(1)\RecipeManager\RecipeManager.WinPhone\App.xaml 1 1 MyRecipesBook.WinPhone"

When you open the file as:

<!--Application Resources-->
<Application.Resources>
    **<local:LocalizedStrings xmlns:local="clr-namespace:MyRecipesBook.WinPhone" x:Key="LocalizedStrings"/>**
</Application.Resources>

<Application.ApplicationLifetimeObjects>
    <!--Required object that handles lifetime events for the application-->
    <shell:PhoneApplicationService
        Launching="Application_Launching" Closing="Application_Closing"
        Activated="Application_Activated" Deactivated="Application_Deactivated"/>
</Application.ApplicationLifetimeObjects>

I got another error:

"The name "LocalizedStrings" does not exist in the namespace "clr-namespace:MyRecipesBook.WinPhone". C:\Users\Ernest\Documents\Visual Studio 2013\Projects\MyRecipesBook(1)\RecipeManager\RecipeManager.WinPhone\App.xaml 10 9 MyRecipesBook.WinPhone"

-Ernest

Thanks


Viewing all articles
Browse latest Browse all 58056

Trending Articles