VSIX extension that adds: - "OpenMaui Linux App" project template in File → New → Project - Pre-configured launch profiles for Linux debugging - WSL integration for Windows developers - x64 and ARM64 build configurations Launch Profiles included: - Linux (Local) - Direct execution - Linux (WSL) - Run via WSL - Linux (x64 Release) - Release build for x64 - Linux (ARM64 Release) - Release build for ARM64 - Publish Linux x64/ARM64 - Self-contained publishing Build with: msbuild /p:Configuration=Release Output: OpenMaui.VisualStudio.vsix
21 lines
379 B
C#
21 lines
379 B
C#
using OpenMaui.Platform.Linux;
|
|
|
|
namespace $safeprojectname$;
|
|
|
|
public class Program
|
|
{
|
|
public static void Main(string[] args)
|
|
{
|
|
var app = new LinuxApplication();
|
|
|
|
// Configure the application
|
|
app.Title = "$projectname$";
|
|
|
|
// Set the main page
|
|
app.MainPage = new MainPage();
|
|
|
|
// Run the application
|
|
app.Run();
|
|
}
|
|
}
|