Skip to content
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

Open
JarJarBinkz opened this issue Jan 20, 2016 · 4 comments
Open

System.IO.FileNotFoundException #8

JarJarBinkz opened this issue Jan 20, 2016 · 4 comments

Comments

@JarJarBinkz
Copy link

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.

@irschneider
Copy link

I have the same issue, but on every page.
:(
For you, the other page types work?

@Shaddix
Copy link
Contributor

Shaddix commented Jun 4, 2016

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

@Ali-Syed
Copy link

Ali-Syed commented Oct 6, 2016

I am having the same issue. I can run sample prism examples but when I create one myself I am getting this error.

@kzu
Copy link
Contributor

kzu commented Oct 13, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants