dir.by  
Programming, development, testing
Xamarin (приложение на C# для Windows, iOS, Android)
Creating a new Xamarin app on a Windows computer
  Looked at 1231 times    
 Creating a new Xamarin app on a Windows computer 
last updated: 4 May 2025
Download an example:
XamarinApp1.zip ...
size: 720 kb
1) Open Visual Studio
If you do not have Visual Studio installed with the Xamarin option, you need install Visual Studio to write on Xamarin ...
Open Visual Studio 2022
or
Open Visual Studio 2019
2) Select "New Project"
Click in the menu: Create new project
3) Choose Mobile App (Xamarin Forms)
In the search we write: xamarin
Select: C#       All platforms      All project types
In the old version Visual Studio, select: Cross Platform App (Xamarin)
4) Writing the name of the project
5) Choosing a template
Flyout This is a template that creates a project with a menu
Tabbed This is a template that creates a tabbed project
Blank This is a blank template that creates a project with minimal functionality

I have indicated on which systems my project will work:
Android
iOS
Windows
Note!
For the selected systems: Android, iOS, Windows the same element library will be used: this is Xamarin.Forms.
Xamarin.Forms is a library of elements: text boxes, buttons, radio buttons, labels, list views...
 
The project was created
We see that several projects have been created:
► XamarinApp1
This is a shared dll library with all the logic
► XamarinApp1.Android
This is a project for a Android platform and uses a common dll (XamarinApp1)
► XamarinApp1.iOS
This is a project for a iOS platform and uses a common dll (XamarinApp1)
► XamarinApp1.UWP
This is a project for a Windows platform and uses a common dll (XamarinApp1)
 
Let's expand the projects and see what files are inside:
 
← Previous topic
Open Visual Studio (for writing in Xamarin)
 
Next topic →
Run and debug a Xamarin.UWP app on a Windows computer
 
Your feedback ... Comments ...
   
Your Name
Your comment (www links can only be added by a logged-in user)

Экскурсии по Москве Экскурсии по Москве: пешеходные, автобусные и речные прогулки на любой вкус
  Объявления  
  Объявления  
 
Xamarin
What is Xamarin?
Download and install Xamarin
Download and install Microsoft Visual Studio to write Miaui applications on a computer with the Windows system
Open Visual Studio (for writing in Xamarin)
Creating a Xamarin app
Creating a new Xamarin app on a Windows computer
Run the Xamarin.UWP app on a Windows computer
Run and debug a Xamarin.UWP app on a Windows computer
Making App Packages for Xamarin.UWP apps on a Windows computer | Run the Xamarin.UWP app using App Packages
Запускаем Xamarin.Android приложение на компьютере Windows
Запуск и отладка Xamarin.Android приложения на компьютере(Windows) в режиме эмулятора Android
Запуск и отладка Xamarin.Android приложения на телефоне через USB
Запуск Xamarin.Android приложения на телефоне (создание apk файла)
Тестирование Xamarin.Android приложения на телефоне
Android (устанавливаем)
Создаем Android виртуальное устройство в Visual Studio 2017
Инсталлирование платформы Android (SDK 7.1.1 API 25) в Visual Studio 2017...
Errors in Xamarin.Android app: Error IDE0006 | Error "Could not find android.jar for API Level"
Запускаем Xamarin.iOS приложение на компьютере с системой iOS
Запуск и отладка Xamarin.iOS приложения на компьютере(Windows) в режиме эмулятора iOS
Запуск и отладка Xamarin.iOS приложения на компьютере c операционной системой MacOSX
Xamarin Forms (Maui elements)
What is Xamarin.Forms (Maui)?
(ContentPage, FlyoutPage, NavigationPage, TabbedPage) is a page in Xamarin.Forms | C# | MAUI
(Grid, StackLayout) is the layout of graphic elements in Xamarin.Forms (Maui)
A graphic element in Xamarin.Forms (this is a button, text field, etc., inherited from the View class) | Xamarin.Forms | C# | Maui
Graphical editor for XAML file in Xamarin.Forms
Database in Xamarin
Download and install DB Browser for SQLite (program for working with sqlite)
Open (run) DB Browser for SQLite
Дополнительные темы, вопросы
Почему в минимальной программе Xamarin.Android получается apk файл больше 5 mb ?
Книги о Xamarin
Книги для изучения Xamarin

  Ваши вопросы присылайте по почте: info@dir.by  
Яндекс.Метрика