question

EmmadKareem-8872 avatar image
0 Votes"
EmmadKareem-8872 asked EmmadKareem-8872 commented

Simple Question

Hello

1 - When developing a project using XAMARIN using VS2019 Community Edition This project should run on Windows and Mac. Will this project run on MAC and PC unchanged as is? Or will I have create a Windows version and Mac version?

2 - What is the difference between .NET CORE and XAMARIN projects? Does XAMARIN require .NET CORE?

Thanks.

dotnet-xamarin
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JarvanZhang-MSFT avatar image
0 Votes"
JarvanZhang-MSFT answered EmmadKareem-8872 commented

Hello EmmadKareem-8872,​

Welcome to our Microsoft Q&A platform!

Will this project run on MAC and PC unchanged as is? Or will I have create a Windows version and Mac version?

It's able to run a Xamarin project created by VS for mac on the VisualStudio (windows). When migrating the project, please empty the bin and obj folders to clear the cache data.

What is the difference between .NET CORE and XAMARIN projects? Does XAMARIN require .NET CORE

Xamarin is developped on Mono which is a open source cross-platform implementation of the .NET. .NET Core is a lightweight, modular, and cross-platform implementation of .NET. Xamarin doesn't requires .NET Core now. In .NET 6(next version), xamarin seems to be shipped into core. Please focus on the release of .NET 6.0 to get the updates.

Best Regards,

Jarvan Zhang


If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for your answer. As per your answer to question 1, you are saying the Windows project has to be first "migrated" to Xamarin and the re-built then the run-time files can be shipped to MAC for execution.
- Is this correct?
- What if I use a 3rd party controls for for GUI, will such controls be functional in MAC without manual code change in the Xamarin version of the project?

Thank you.



0 Votes 0 ·

Sorry for the unclear infomation. I mean the project is created by Visual Studio on windows and the project is able to build on VS for mac.

What if I use a 3rd party controls for for GUI

Do you mean the 3rd party nugets? The configuration is added to your project, you don't have to make a change for the code manaually.

0 Votes 0 ·