Hi I am trying the Xamarin Live Player for Xamarin cross platform app development.
I did the following:
1) I have installed the Xamarin Live Player on my iphone from App Store
On Windows PC, I have downloaded and Installed VS2017 Community and created a small testing app
2) On Visual Studio 2017 Community, I installed the Xamarin Updater.
Problem:
I dont see any Live Player to choose in VS2017 Community.
for above item (2)
Visual Studio 2017 community is not the Same as Visual Studio 2017 Preview??
https://developer.xamarin.com/guides/cross-platform/live/install/
Is it ok to download it on the same PC?
Please advise the instruction to follows.
Update
I have installed VS2017 Preview and selected Mobile Development with .Net (I think this is xamarin cross platform )
I have downloaede the sample app:
https://developer.xamarin.com/samples/mobile/LivePlayer/ColorControl/
And I still dont see the Xamarin Live player
Update
Finally, the Xamarin Live Player show up.
This is what I did:
a) After installing VS2017 Preview,
launch the VS2017 Preview, got Tools> Extensions and Update
a1) Download all the Updates:
Xamarin for visual Studio,
XamarinApple SDK,
Xamarin Android SDK,
Mono Debugging for Visual Studio
Thanks
You need to make sure you have the preview of VS 2017 15.3 and go to the Alpha channel in Xamarin.
If Xamarin Live Player is still not showing up in the Device selection list after following #MilkBottle steps, you may need to go to Tools > Options > Xamarin > Other - and select "Enable Xamarin Live Player".
Related
I used to distribute an iOS Xamarin Form Application on testflight.
I had to update my Windows Visual Studio to v16.11.6
Since this new version, the app il not working fine on iOS: all custom fonts are not loaded when the app is opened from testflight
But the problem is not there when using the simulator or deploying the app from visual studio on my iPhone
Could you help me
I am developing a multiplatform app with Xamarin using Visual Studio on Mac, I do not know how can I edit the MainPage.xaml design, can I edit it using Xcode storyboard? How can I open the page in design mode?
Visual Design of XAML is not currently supported by Xamarin.Forms.
Hot Reload doc here.
Xamarin.Forms XAML Basics will presumably be updated, if such a designer is added.
As a practical matter, instead look for .NET Maui to eventually have such a designer.
Warning
The iOS Designer was deprecated in Visual Studio 2019 version 16.8 and Visual Studio 2019 for Mac version 8.8, and removed in Visual Studio 2019 version 16.9 and Visual Studio for Mac version 8.9. The recommended way to build iOS user interfaces is directly on a Mac running Xcode's Interface Builder. For more information, see Designing user interfaces with Xcode. Official docs
But this means you can not edit the storyboard file in the visual studio directly anymore. But the .xaml could not be edit by Visual Design all the time.
I have updated the project as per the Visual Studio prompt to Xamarin Forms 5.0.0.2012.
When I deploy my Xamarin Forms app I see in the hot reload section of Vs 2019 that Hot Reload is initialising. When I make changes to the XAML and save I see that Hot Reload in connected and appears to be sending the XAML changes. However, there are no changes applied to the running app's screen. I have tried two diffrent Emulator versions and my own Samsung S8 device running Android 9.Tried scanning S.O. for answers but none.
Microsoft Visual Studio Community 2019 Preview
Version 16.10.0 Preview 1.0
Xamarin 16.10.000.21 (main#240d4e4)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Designer 16.10.0.0 (remotes/origin/8affbf0abc24122abd5517b2b52f1073cb52bd7b#8affbf0ab)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
Make sure that all projects use Xamarin.Forms packages of the 5th version.
Check the MS VS studio version. Make sure that you have installed the latest stable release.
Make sure you have installed latest SDKs for Android and IOS platforms.
Check XAML Hot reload settings. It must be enabled.
There are two modes of reloading in settings:
a) reload only components with changes (default)
b) reload a page entirely
if the first does not work, try the second mode.
The latest MS VS version (16.11.3.0) has the button having the fire icon which forces to apply Hot reload.
Also one important setting that can be enabled: all changes will be applied on you click Save. So hot reload will applied only after you save the xaml (ctrl+s)
Open Visual Studio Output window, choose Xamarin Hot Reload from the dropdown list, check whether a reload is started and whether changes are sent to your app using the appeared logs.
How to locate settings: MS Visual Studio Options -> Debugging-> Hot Reload.
Watch the screenshot with setting using the link below:
Hot Reload settings screenshot
Do something like this :
"Tools => Options => Xamarin => Hot Reload"
Click this link for more informations
gear icon at the bottom right of the Android SDK Manager window when I click there is no options of repositories .so I am not able to change to google repository from Microsoft repository , has anyone else faced this problem please help
Actually the Gear Icon works only with VS-2017 Not with VS-2019.
And in VS-2019 the SDK used is kind of combined one, soo if you want to add any google SDK, add it directly by the Android SDK Manager from Visual Studio.
Another way is to set the SDK path of Android Studio & Visual Studio(*Tool - Options - Xamarin - Android SDK, check path) to the same. Goto Android Studio & download the SDK you want, it will reflect in Visual Studio as well.
Visual Studio 19
Visual Studio 17
Visual Studio 17 when set to MicrosoftSDK
You must use the Google one, not Microsoft SDK
go to Tools - Options.. - Dialog box appears - Select Xamarin - Android Settings - Check the SDK path
Copy that path & paste the path in the URL section of My Computer
Hi newbie on Xamarin Forms.
I am a bit of confuse on using Xamarin forms.
With the following questions, I hope you can help me to understand to use it for development.
Currently I am using VS2015 Community version
1) If I have done the Settings on Cross Platform development to include C#/.Net(Xamarin v4...), do I still need to download the Xamarin at Xamarin.com?
2) Understand Android and iOS have different Api level (Sdk ver) and iOS ver8,9,10 respectively.
So, When google releases new api or Apple releases new iOS ver, How do I update Xamarin to use them? what I need to and How I handle Android and iOS new update respectively? What are the steps to take?
3) If I have Updated Xamarin, is this means it has included all the latest Api for Android and iOS
4) Can I use Xamarin for VS2017 as compare to VS2015 is more matured?
Thanks
You can and should use latest and greatest tools available, unless you have some limitations. Use Visual Studio 2017, it provides an easy installation of Xamarin.
When a new version of platform SDK is released by Google or Apple for example, you will have to:
Download & install new platform SDK for Android / iOS
Update Xamarin.Forms nuget package in the project
Additionally in case of iOS you may need to update Xcode
Xamarin.Forms documentation can answer all of your questions, so I suggest to get familiar with it.
I think you'll need to add some steps.
First - try create Xamarin Forms project and buil it(for Android). If you have errors - please read this manual
You need to check the update in several places.
2.1. About the new version Xamarin you will be informed Visual Studio.
For VS 2015 Check next setting - Service - Parametrs - Update Xamarin(checked).
For VS 2017 - You'll see the checkbox on the top right.
2.2 About update Android Api -You must learn manually. Check in VS
Service - Android - Package manager SDK Android. The new AIPI is a great event in the world of android - but you need to sit behind the news.
2.3 Also packages(Xamarin Forms and other) are updated - you need check nuget packages for your solution.
2.4. You must manual run update Xamarin for your mac. This is an extensive topic. Please read this article.
No is it. You need some manual actions(see item 2).
VS 2017 Has new features and new bugs ). I use VS 2017.