Files
maui-linux/vsix/OpenMaui.VisualStudio/ProjectTemplates/OpenMauiLinuxApp/Properties/launchSettings.json
logikonline ae5c9ab738 Add Visual Studio extension for Linux platform support
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
2025-12-19 05:13:16 -05:00

50 lines
1.4 KiB
JSON

{
"profiles": {
"Linux (Local)": {
"commandName": "Project",
"commandLineArgs": "",
"environmentVariables": {
"DISPLAY": ":0",
"DOTNET_ENVIRONMENT": "Development"
}
},
"Linux (WSL)": {
"commandName": "Executable",
"executablePath": "wsl.exe",
"commandLineArgs": "-e dotnet run --project .",
"workingDirectory": "${workspaceFolder}",
"environmentVariables": {
"DISPLAY": ":0",
"WAYLAND_DISPLAY": "",
"DOTNET_ENVIRONMENT": "Development"
}
},
"Linux (x64 Release)": {
"commandName": "Executable",
"executablePath": "dotnet",
"commandLineArgs": "run -c Release -r linux-x64",
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Production"
}
},
"Linux (ARM64 Release)": {
"commandName": "Executable",
"executablePath": "dotnet",
"commandLineArgs": "run -c Release -r linux-arm64",
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Production"
}
},
"Publish Linux x64": {
"commandName": "Executable",
"executablePath": "dotnet",
"commandLineArgs": "publish -c Release -r linux-x64 --self-contained -o ./publish/linux-x64"
},
"Publish Linux ARM64": {
"commandName": "Executable",
"executablePath": "dotnet",
"commandLineArgs": "publish -c Release -r linux-arm64 --self-contained -o ./publish/linux-arm64"
}
}
}