I have just faced problem with upgrading Xamarin project to Maui. I can't use InfiniteScrollCollection in Maui project. Do someone knows how I can use it?
enter image description here
Here is photo how my code looks like
I know that in Xamarin InfiniteScrollCollection is in Xamarin.Forms.Extended library. I tried to find alternative library in Maui, but I got nothing :(
Related
Hi I am trying to do the phoneword (Xamarin.Forms) app given on the Xamarin website. However, the project is not building. The error is shown in the screenshot below:
Earlier the error message was to extract contents of m2repository to the path:
C:\Users\user\AppData\Local\Xamarin\Xamarin.Android.Support.Design\23.0.1.3\content
Help is really appreciated. Thanks in advance.
You hit the famous SDK corruption, so the manual steps to fix are not easy.
I have my post here,
https://blog.lextudio.com/2016/05/android-support-repository-and-xamarin-android/
You might need to revise the version numbers to match your case.
I'm an Absolute beginner in using visual studio 2015 and has a little background in C# and XAML. I'm following a series of tutorial in how to make windows apps in YouTube. And from the video they shared a repo/projects from the video.
The problem was that, when I open it, add the solution. And Build the project I get many errors, due to ProjectName_TemporaryKey.pfx .
Here's the Link of the video that I was following, and the github account link in case you want to view it yourself.
**How to I solve this problem? **
I really need your help. Thank you in advance.
I was able to solve my problem, with the help of this [link].1
First go to Project and clicked the project properties
Second - go to Signing and check the Sign the Assembly
Lastly - save the project and Build or ReBuild the Solution
I am coming from android studio and am really missing the preview feature when editting XML code.
The Xamarin website says this:
https://developer.xamarin.com/guides/xamarin-forms/xaml/xaml-previewer/
I find it essential to use the XML preview because I am still a beginner and learning.
Is there any way this can be done? Perhaps any third party apps if they exist?
Thanks In advance
There some alternatives to Xamarin's own XAML previewers, but it is unclear whether those third parter alternatives would support XAML themes.
Gorilla Player
enter image description here
This one is particularly good for previewing the XAML live simultaneously across multiple platform. I think its available on windows but the level of integration with visual studio remains unclear. However, as their download page contains link for windows, it should support it.
You can access it from this link:
http://gorillaplayer.com
XenForms
XenForms is another promising Xamarin.Forms. You can Load, Edit, and Save XAML. This is the first WYSIWYG UI designer for Xamarin.Forms. This tool definitely support windows as a developing platform and windows phones. Unfortunately, it does NOT support drag and drop. Another great feature is that is it has some support for c# user interface as well as the XAML markups.www.xenforms.com
You can check Xamarin's own previewer which is integrated with Visual Studio. Please update your xamarin to latest installation. You may also need to rebuild the solution and then open/reopen the XAML file for preview. For details please check my blog post here.
I'm very new to Xamarin. I have a few published Windows Store apps and want to convert them to Android. I'm attempting to use Xamarin for this. I'm just using the free version of Xamarin. Here's where I am so far:
I am trying two apps - one was build with Monogame and one is just build on the WinRT framework.
I have managed to get them both into Xamarin studio, basically by hacking the csproj files.
I'm getting build errors because it's missing references. There does appear to be some equivalent Mono / .Net4 libraries, but things like Storage seem to be missing.
So, my question is: am I going about this the right way and, if so, am I missing a step ("convert dependencies" or something)?
If I'm not going about this the right way then how should I be doing this (I found very few online resources on this subject)?
EDIT:
The following are some specific errors that I'm getting from the Xamarin App:
And my references:
EDIT:
After some further research, the only dependency I can't explain as missing is Microsoft.Xna.*. The others all have different implementations on Android / iOS.
You will be able to use much of your existing code with Xamarin.
However, the errors you are getting with those specific libraries are because they do not exist for Xamarin in iOS and Android. So whatever functionality you had you will need to rework using libraries that are available.
For example, instead of using Windows.Storage you would use Android.OS.Storage.
See their documentation for details:
http://androidapi.xamarin.com/index.aspx?link=N%3AAndroid.OS.Storage
Edit
For XNA all of that should port fine if you use MonoGame:
https://github.com/mono/MonoGame/wiki
I'm not sure why it's not bundled in Xamarin, but that will hook you up.
Edit
This is taken from Xamarin documentation found here: http://developer.xamarin.com/guides/cross-platform/cocos2d_xna/cocos2dxna_tutorial/
After creating the project, you need to add the various Cocos2D-XNA dependencies to the solution. Add the following projects from the location where you downloaded the Cocos2D-XNA and MonoGame source:
box2d.iOS – 2D physics library. We’ll use this in later tutorials.
cocos2d.iOS – Cocos2D-XNA for iOS.
Lidgren.Network.iOS – Networking library used by MonoGame.
MonoGame.Framework.iOS – MonoGame for iOS.
This video may answer your question. You will most likely need to replace the reference with a PCL equivalent if one exists.
http://developer.xamarin.com/videos/cross-platform/any/
I am porting the jar lib from Osmdroid to Mono for Android (C#). At the moment everything seems to work. I ported the library and included the Binding-Project to my Testproject in order to test the correct porting.
I am able to access the osm libraries, but in MonoDevelop all references are written in red, marked with "resolve errors" and thus there is no Intelli-Sense. Even the "using Osm.xy" is written in red.
But as matter of fact these are just only visual problems. I can build the project and on the emulator everything works as planned.
Can someone tell me, what I can do to get these problems fixed (especially Intelli-Sense)?
Thanks in advance!
Just want to add that my problem is solved.
For everybody who faces problems with porting OsmDroid to Monodroid, meanwhile there exists a tutorial for binding OsmDroid v3.0.8 to Monodroid:
https://github.com/xamarin/monodroid-samples/tree/master/OsmDroidBindingExample