-
Notifications
You must be signed in to change notification settings - Fork 182
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
FileNotFoundException - Could not load file or assembly 'DLToolkit.Forms.Controls.FlowListView' #3
Comments
Can you give me your xaml code? (namespaces definitions) I think it's the reason it isn't working. |
This is important one:
|
Sure can!
Got around it by copying the dll manually to the output folder on my Mac. Starting to think it is on my end, although Copy to Local is set to true. |
That should work! Could you try BTW: Please mind there were some API changes in current repo that are not on nuget yet. I'll release it today. |
Doesn't help.. Weirdly it just seems to work when I manually include the DLL. But it will cause a problem when I will build a release package. Another question; what is the easiest way to divide the ListView into two columns? I don't need anything fancy. Just want to show two columns of equal size :) edit - Ah I see in the Xamarin Forums that you're adding new features for this? And they are in the NuGet you're releasing? I'll wait for that then! |
If the problem exists only in release build, then it's definitely a linking issue. You should add those namespaces to linker exclude options. I will investigate that.
Just add 2 same columns definitions. Are you using the nuget dll? or current dll? The api changed (old methods are obsolete. With new api something like that: <flv:FlowListView x:Name="FlowListView" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"
FlowItemsSource="{Binding Items}" SeparatorVisibility="None" HasUnevenRows="true" >
<flv:FlowListView.FlowColumnsTemplates>
<flv:FlowColumnSimpleTemplateSelector ViewType="{x:Type local:Views.YourCustomView}"/>
<flv:FlowColumnSimpleTemplateSelector ViewType="{x:Type local:Views.YourCustomView}"/>
</flv:FlowListView.FlowColumnsTemplates>
</flv:FlowListView> ...and that's all. I'll update samples soon with better ones. |
I'm using the NuGet! So I'll wait for the new version of that! Meanwhile I've found a sort-of cause to my problem. It seems that when there are no code references to the |
Yes. I'll create static method to avoid linking issues when using only XAML. Something like Yes, it's just a single DLL. |
Awesome! I will check it out! Thanks! :) |
You can now try alpha nuget https://www.nuget.org/packages/DLToolkit.Forms.Controls.FlowListView/1.0.3-alpha1 |
Hi Daniel, I meet the same error whereas I have copied code that works in a project to another one... |
Do you use it in XAML only?
|
Yes, I use it in XAML only. I don't understand cause I use the FlowListView without any problem in another solution. In this solution, I only added the nugets in the PCL and all works fine. In add, I don't see where I must place the call "FlowListView.Init()"? I don't use it in the other solution, and I don't find it either in your sample "DLToolkit.Forms.Controls"... |
Put it in |
Thanks it's working like this. |
DLToolkit.Forms.Controls.FlowListView.dll.so' not found issue is coming what should i do to resolve this issue |
Hi!
I've just added the FlowListView to my project but I can't get it to work.
I get a
FileNotFoundException
on DLToolkit.Forms.Controls.FlowListView as you can see below. Any ideas?I'm using Xamarin.Forms 2.0.0.6487 in XAML.
I've cleaned & rebuilt my solution multiple times but to no avail.
The text was updated successfully, but these errors were encountered: