Edit Xamarin Forms pages visually - xamarin.forms

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.

Related

QT Tools Tab is missing in VS 2019

I had been using VS2013 for some time and a Qt Tools tab was present (as shown in the screenshot below) after installing Qt Visual Studio Tools
PROBLEM: Now I have installed VS 2019 Community edition. I have already installed Qt Visual Studio Tools extension. But still, the Qt tab is missing in the ribbon (as shown in the screenshot below). Due to this, I am also not able to set the path of the Qt exe correctly.
PS: Qt extension is definitely installed properly because when I try to create a new project, it shows the various options to create Qt project.
In Visual Studio 2019 theQt VS Tools menu is a sub-menu in the Extensions menu.
Note: the binaries created with VS2013 are not compatible with VS2019, for it to work you need Qt build with Visual Studio 2015 or 2017.

Visual Studio : Create a app to point it a website.

OS : Windows-10 creators update.
Visual studio community edition.
We have a website for which we would like to point to our visual studio app to. Is it possible in visual studio we can create an app where we have a container running our website. Currently I have installed visual studio and it's asking me for which modules of visual studio I should download. I don't want to install unnecessary modules.
Screenshot.
Thank you.
Yes, you could create a C# windows forms application and add a webbrowser from the toolbox. in the properties window set the dock to fill it and then in the url box type the url and you're done.

Prism template pack for Visual Studio 2017 for Mac

I've searched all over the internet to no avail. Is there a visual studio Prism template pack for Visual Studio v7.0.1 for Mac?
The closest I've seen to this template is for Xamarin Studio which is not compatible with the new Visual Studio.
No there is not currently a template pack available for VS4Mac. It is something that is being discussed, and will likely get visited once we get the v7.0 preview released. You can track the issue here.
While it's not exactly something that's currently integrated with VS or VS4Mac you can use the dotnet templates available here. They do work cross platform, currently from the dotnet cli, but the VS team is working on integration for all of the templates for both VS2017 and VS4Mac.
You can now install the Templates on VS4Mac. Go to Visual Studio => Extensions, select the Gallery tab, click the Repository drop-down, and select Manage Repositories and add https://prism.azureedge.net/main.mrep
Then on the search bar, you can look up for prism and install the template.

Xamarin Live Player not showing up

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".

What is the difference when using IPlatformInitializer In Prism

I've recently started to learn how to use Prism on Xamarin Forms, and I was seeing both Xamarin Studio and Visual Studio.
I created a project in Visual Studio and Xamarin Studio and noticed that in the Visual Studio Template Pack the same UnityApp Project differ with the Xamarin Studio version. In Visual Studio the App class constructor has a parameter of type IPlatformInitializer while the Xamarin Studio version does not.
I will like to know what is the difference between them and when to use each one ?
The Xamarin Studio Templates have not been updated because my Mac went down :)
You only need to use the IPlatformInitilizer if you want to register platform specific services. It's not required.

Resources