-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.IO.FileNotFoundException #8
Comments
I have the same issue, but on every page. |
If you use third party libraries (i.e. Prism), you have to integrate Xamarin.Forms.Player in your app so ir could load these custom libraries |
I am having the same issue. I can run sample prism examples but when I create one myself I am getting this error. |
To have custom controls, viewmodels, value providers, markup extensions and what-not, you should create your own player with the right references. That's what the https://www.nuget.org/packages/Xamarin.Forms.Player package is for :) That way, it will properly resolve even custom controls you happen to use. |
The following xaml code I get an error message.
<?xml version="1.0" encoding="utf-8" ?>
<CarouselPage xmlns="http://xamarin.com/schemas/2014/forms"'
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:prism="clr-namespace:Prism.Mvvm;assembly=Prism.Forms"
prism:ViewModelLocator.AutowireViewModel="True"
x:Class="MainPage"
x:Name="MainPageForm">
<ContentPage>
<Label>Year</Label>
</ContentPage>
<ContentPage>
<Label>Year2</Label>
</ContentPage>
</CarouselPage>
System.IO.FileNotFoundException: Could not load file or assembly 'Prism.Forms' or one of its dependencies.
The text was updated successfully, but these errors were encountered: