修复更改项目命名空间错误

This commit is contained in:
SharwOrange橙夜 2024-03-05 23:30:02 +08:00
parent ae5783d012
commit f1ac3b31ee
17 changed files with 20 additions and 20 deletions

View File

@ -1,8 +1,8 @@
<Application xmlns="https://github.com/avaloniaui" <Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="wheel_mcl.App" x:Class="toast_mcl.App"
xmlns:sty="using:FluentAvalonia.Styling" xmlns:sty="using:FluentAvalonia.Styling"
RequestedThemeVariant="Default" RequestedThemeVariant="Dark"
> >
<!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. --> <!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->

View File

@ -3,7 +3,7 @@ using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Markup.Xaml; using Avalonia.Markup.Xaml;
using Avalonia.Media; using Avalonia.Media;
namespace wheel_mcl namespace toast_mcl
{ {
public partial class App : Application public partial class App : Application
{ {

View File

@ -2,10 +2,10 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:wheel_mcl;assembly=toast_mcl" xmlns:local="clr-namespace:toast_mcl;assembly=toast_mcl"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="wheel_mcl.MainWindow" x:Class="toast_mcl.MainWindow"
Title="toast_mcl" FontFamily="LXGW WenKai"> Title="toast_mcl">
<Grid> <Grid>
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>

View File

@ -1,6 +1,6 @@
using Avalonia.Controls; using Avalonia.Controls;
namespace wheel_mcl namespace toast_mcl
{ {
public partial class MainWindow : Window public partial class MainWindow : Window
{ {

View File

@ -1,5 +1,5 @@
<UserControl xmlns="https://github.com/avaloniaui" <UserControl xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="wheel_mcl.About"> x:Class="toast_mcl.About">
This is About This is About
</UserControl> </UserControl>

View File

@ -2,7 +2,7 @@ using Avalonia;
using Avalonia.Controls; using Avalonia.Controls;
using Avalonia.Markup.Xaml; using Avalonia.Markup.Xaml;
namespace wheel_mcl; namespace toast_mcl;
public partial class About : UserControl public partial class About : UserControl
{ {

View File

@ -1,5 +1,5 @@
<UserControl xmlns="https://github.com/avaloniaui" <UserControl xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="wheel_mcl.Downloads"> x:Class="toast_mcl.Downloads">
This is Downloads! This is Downloads!
</UserControl> </UserControl>

View File

@ -2,7 +2,7 @@ using Avalonia;
using Avalonia.Controls; using Avalonia.Controls;
using Avalonia.Markup.Xaml; using Avalonia.Markup.Xaml;
namespace wheel_mcl; namespace toast_mcl;
public partial class Downloads : UserControl public partial class Downloads : UserControl
{ {

View File

@ -1,5 +1,5 @@
<UserControl xmlns="https://github.com/avaloniaui" <UserControl xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="wheel_mcl.Home"> x:Class="toast_mcl.Home">
This is Home This is Home
</UserControl> </UserControl>

View File

@ -2,7 +2,7 @@ using Avalonia;
using Avalonia.Controls; using Avalonia.Controls;
using Avalonia.Markup.Xaml; using Avalonia.Markup.Xaml;
namespace wheel_mcl; namespace toast_mcl;
public partial class Home : UserControl public partial class Home : UserControl
{ {

View File

@ -1,5 +1,5 @@
<UserControl xmlns="https://github.com/avaloniaui" <UserControl xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="wheel_mcl.Settings"> x:Class="toast_mcl.Settings">
This is Settings This is Settings
</UserControl> </UserControl>

View File

@ -2,7 +2,7 @@ using Avalonia;
using Avalonia.Controls; using Avalonia.Controls;
using Avalonia.Markup.Xaml; using Avalonia.Markup.Xaml;
namespace wheel_mcl; namespace toast_mcl;
public partial class Settings : UserControl public partial class Settings : UserControl
{ {

View File

@ -1,5 +1,5 @@
<UserControl xmlns="https://github.com/avaloniaui" <UserControl xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="wheel_mcl.Tools"> x:Class="toast_mcl.Tools">
This is Tools! This is Tools!
</UserControl> </UserControl>

View File

@ -2,7 +2,7 @@ using Avalonia;
using Avalonia.Controls; using Avalonia.Controls;
using Avalonia.Markup.Xaml; using Avalonia.Markup.Xaml;
namespace wheel_mcl; namespace toast_mcl;
public partial class Tools : UserControl public partial class Tools : UserControl
{ {

View File

@ -2,7 +2,7 @@
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace wheel_mcl namespace toast_mcl
{ {
internal class Program internal class Program
{ {

View File

@ -3,7 +3,7 @@
<!-- This manifest is used on Windows only. <!-- This manifest is used on Windows only.
Don't remove it as it might cause problems with window transparency and embedded controls. Don't remove it as it might cause problems with window transparency and embedded controls.
For more details visit https://learn.microsoft.com/en-us/windows/win32/sbscs/application-manifests --> For more details visit https://learn.microsoft.com/en-us/windows/win32/sbscs/application-manifests -->
<assemblyIdentity version="1.0.0.0" name="wheel_mcl.Desktop"/> <assemblyIdentity version="1.0.0.0" name="toast_mcl.Desktop"/>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application> <application>

View File

@ -7,7 +7,7 @@
<ApplicationManifest>app.manifest</ApplicationManifest> <ApplicationManifest>app.manifest</ApplicationManifest>
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault> <AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract> <IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
<RootNamespace>wheel_mcl</RootNamespace> <RootNamespace>toast_mcl</RootNamespace>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<None Remove="Assets\Fonts\LXGWWenKai.ttf" /> <None Remove="Assets\Fonts\LXGWWenKai.ttf" />