Rename package to OpenMaui.Controls.Linux

- Changed package ID from Microsoft.Maui.Controls.Linux to OpenMaui.Controls.Linux
- Updated all project files, namespaces, and documentation
- Renamed template from maui-linux to openmaui-linux
- Updated NuGet badges and install commands
- Maintained MarketAlly LLC as owner/author

Package: OpenMaui.Controls.Linux
Template: OpenMaui.Linux.Templates
Install: dotnet add package OpenMaui.Controls.Linux --prerelease
This commit is contained in:
logikonline
2025-12-19 05:01:34 -05:00
parent 2535f16893
commit 071df4eb28
12 changed files with 75 additions and 73 deletions

View File

@@ -1,28 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<PackageType>Template</PackageType>
<PackageVersion>1.0.0-preview.4</PackageVersion>
<PackageId>Microsoft.Maui.Linux.Templates</PackageId>
<Title>.NET MAUI Linux Project Templates</Title>
<Authors>MAUI Linux Community Contributors</Authors>
<Description>Project templates for building .NET MAUI applications on Linux desktop.</Description>
<PackageTags>dotnet-new;templates;maui;linux;desktop</PackageTags>
<PackageProjectUrl>https://github.com/dotnet/maui</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<TargetFramework>netstandard2.0</TargetFramework>
<IncludeContentInPack>true</IncludeContentInPack>
<IncludeBuildOutput>false</IncludeBuildOutput>
<ContentTargetFolders>content</ContentTargetFolders>
<NoWarn>$(NoWarn);NU5128</NoWarn>
<NoDefaultExcludes>true</NoDefaultExcludes>
</PropertyGroup>
<ItemGroup>
<Content Include="maui-linux-app\**\*" Exclude="maui-linux-app\**\bin\**;maui-linux-app\**\obj\**" />
<Compile Remove="**\*" />
</ItemGroup>
</Project>

View File

@@ -0,0 +1,30 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<PackageType>Template</PackageType>
<PackageVersion>1.0.0-preview.1</PackageVersion>
<PackageId>OpenMaui.Linux.Templates</PackageId>
<Title>OpenMaui Linux Project Templates</Title>
<Authors>MarketAlly LLC, David H. Friedel Jr.</Authors>
<Company>MarketAlly LLC</Company>
<Description>Project templates for building .NET MAUI applications on Linux desktop using OpenMaui.</Description>
<PackageTags>dotnet-new;templates;maui;linux;desktop;openmaui</PackageTags>
<PackageProjectUrl>https://github.com/open-maui/maui-linux</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>Copyright 2025 MarketAlly LLC</Copyright>
<TargetFramework>netstandard2.0</TargetFramework>
<IncludeContentInPack>true</IncludeContentInPack>
<IncludeBuildOutput>false</IncludeBuildOutput>
<ContentTargetFolders>content</ContentTargetFolders>
<NoWarn>$(NoWarn);NU5128</NoWarn>
<NoDefaultExcludes>true</NoDefaultExcludes>
</PropertyGroup>
<ItemGroup>
<Content Include="openmaui-linux-app\**\*" Exclude="openmaui-linux-app\**\bin\**;openmaui-linux-app\**\obj\**" />
<Compile Remove="**\*" />
</ItemGroup>
</Project>

View File

@@ -1,15 +1,15 @@
{
"$schema": "http://json.schemastore.org/template",
"author": "MAUI Linux Community",
"classifications": ["MAUI", "Linux", "Desktop", "App"],
"identity": "Microsoft.Maui.Linux.App",
"name": ".NET MAUI Linux Application",
"shortName": "maui-linux",
"author": "MarketAlly LLC",
"classifications": ["MAUI", "Linux", "Desktop", "App", "OpenMaui"],
"identity": "OpenMaui.Linux.App",
"name": "OpenMaui Linux Application",
"shortName": "openmaui-linux",
"tags": {
"language": "C#",
"type": "project"
},
"sourceName": "MauiLinuxApp",
"sourceName": "OpenMauiLinuxApp",
"preferNameDirectory": true,
"symbols": {
"Framework": {
@@ -57,7 +57,7 @@
}
},
"primaryOutputs": [
{ "path": "MauiLinuxApp.csproj" }
{ "path": "OpenMauiLinuxApp.csproj" }
],
"postActions": [
{

View File

@@ -3,7 +3,7 @@
using Microsoft.Maui.Controls;
namespace MauiLinuxApp;
namespace OpenMauiLinuxApp;
public class App : Application
{

View File

@@ -4,7 +4,7 @@
using Microsoft.Maui.Controls;
using Microsoft.Maui.Graphics;
namespace MauiLinuxApp;
namespace OpenMauiLinuxApp;
public class MainPage : ContentPage
{
@@ -13,7 +13,7 @@ public class MainPage : ContentPage
public MainPage()
{
Title = "MauiLinuxApp";
Title = "OpenMauiLinuxApp";
_counterLabel = new Label
{

View File

@@ -5,14 +5,14 @@
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>MauiLinuxApp</RootNamespace>
<AssemblyName>MauiLinuxApp</AssemblyName>
<ApplicationTitle>MauiLinuxApp</ApplicationTitle>
<RootNamespace>OpenMauiLinuxApp</RootNamespace>
<AssemblyName>OpenMauiLinuxApp</AssemblyName>
<ApplicationTitle>OpenMauiLinuxApp</ApplicationTitle>
</PropertyGroup>
<ItemGroup>
<!-- .NET MAUI Linux Platform -->
<PackageReference Include="Microsoft.Maui.Controls.Linux" Version="1.0.0-preview.4" />
<!-- OpenMaui Linux Platform -->
<PackageReference Include="OpenMaui.Controls.Linux" Version="1.0.0-preview.1" />
<!-- Core MAUI packages -->
<PackageReference Include="Microsoft.Maui.Controls" Version="9.0.40" />

View File

@@ -1,9 +1,9 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.Maui.Platform.Linux;
using OpenMaui.Platform.Linux.Linux;
namespace MauiLinuxApp;
namespace OpenMauiLinuxApp;
public class Program
{