I try to create a new project(xamarin form) in vs2019, and discovered that the UWP template is missing.
I created the project in vs2017 yet it did not work. now I have added a UWP project to the xamarin form app created using vs2019, how do I link them, how do I connect(refrence) the UWP to the portable library?
I want to make use of the portable library in xamarin forms that ha UWP in it, like vs2017 versions
In VS 2019 version 16.0.0 UWP head project have been removed from the Xamarin.Forms app template. However, if you install latest version of VS 2019 (16.0.1) that option should be available to you. According to the release notes:
Add option for Windows (UWP) platform when creating new Xamarin.Forms project from 'Mobile App (Xamarin.Forms)' project template.
Other then that you could just simply add UWP as a separate project and set it up for Xamarin.Forms.
Related
I am currently developping an native Android app using Mapbox with Visual Studio (using some Mapbox nugets). I have to do the whole dev to address iOS customers but Xamarin.Forms nuget version of Mapbox is out of date, both Android & iOS SDKs have been updated since.
As Microsoft has just released the first .NET MAUI Release Candidate RC1, i.e. the successor of Xamarin.Forms, I would like to start over a new project so I can manage one development pipeline to deploy on either Android or iOS afterwards.
So I open this thread in order to share help to embbed Mapbox in a fresh new .NET MAUI project.
How should we proceed to simply display a Mapbox map view with a .NET MAUI project?
Thank you!
The best way for now is implementing a Maui Blazor app and using a BlazorWebView to put a MapBox in your page.
See Build a .NET MAUI Blazor app documentation
I have a Xamarin.Forms app (only doing things for Android now) where I added a project from an UWP app. With this, I get two erros which I cannot solve. I've found some things on the internet, but nothing for my specific situation.
The erros are:
Project UWP.Project is not compatible with netstandard2.0 (.NETStandard,Version=v2.0).
Project UWP.Project supports: uap10.0.17763 (UAP,Version=v10.0.17763).
Project UWP.Project is not compatible with monoandroid11.0 (MonoAndroid,Version=v11.0).
Project UWP.Project supports: uap10.0.17763 (UAP,Version=v10.0.17763).
How do I solve this?
I have a Xamarin.Forms app (only doing things for Android now) where I added a project from an UWP app.
It looks you need to update the UWP project target version to 17763. For adding the new platform for existing Forms app, you may refer to this document. And please note making the following changes to UWP MainPage.xaml
Inside the <Page> tag, add: xmlns:forms=“using:Xamarin.Forms.Platform.UWP
I'm new to ReactiveUI and ReactiveUI.XamForms. I would like to know: is there a VS Project Template available for creating a ReactiveUI.XamForms project? (i.e. Similar to Moblie App (Xamarin.Forms) or Prism Blank App (Xamarin Forms))
Unfortunately there is no Visual Studio Project Template at the moment. I know there are plans to get into the Windows Template Studio. Nothing as of now.
I have .Net 4.5.1 (I am not trying to target .NetStandard) and Xamarin.Forms 2.3.4.247 and latest VS2017 15.2 (26430.15). I create a new project using Cross-Platform > Class Library (Xamarin.Forms) and do not get the 2 projects for (.Droid and .iOS). Been all over Google but come up empty handed.
I am trying to follow one of the many 'getting started with Xamarin' videos/course and cannot get to first base. OK so they are using VS2015 but I have not read anywhere that VS2017 is a problem.
What do I need to look for?
When you create a new Class Library project, you will only get a PCL project. If you want to create a solution with PCL, iOS UI and Android UI project, create using Cross-Platform > Cross Platform App (Xamarin) template. Then from there you can see dialog to select Native or Xamarin.Forms template.
We are not able to find the below events in Xamarin.Forms ListView Control.
Error:
'xamarin.forms.ListView' does not contain definition for '**IsRefreshing**'
'xamarin.forms.ListView' does not contain definition for '**IsPullToRefreshEnabled**'
Note: We are using the Xamarin Latest Version (Xamarin 4.0.0.1717).
Kindly Suggest on this.
This error is due to Xamarin.Forms Dll is not updated to latest version from Visual Studio (I have updated only from Visual studio and shows up-to date).
By Opening the same source in Xamarin Studio and updating the Xamarin Forms Dll, the above properties are retrieved.
You'll see that you're using Xamarin.Forms 1.3 when you click the properties of Xamarin.Forms.Core.dll from project references.
For upgrading it(in VS) right click the solution and click Manage Nuget Packages. Then update Xamarin.Forms dll's.