Rename RegistryPreviewUI back to RegistryPreview

This commit is contained in:
Stefan Markovic 2024-04-12 11:35:22 +02:00
parent 4e028510b7
commit 7b51a0eca2
18 changed files with 18 additions and 18 deletions

View File

@ -570,7 +570,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "FileLocksmithLib", "src\mod
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HostsPackageConsumer", "src\modules\Hosts\HostsPackageConsumer\HostsPackageConsumer.csproj", "{02DD46D3-F761-47D9-8894-2D6DA0124650}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RegistryPreviewUI", "src\modules\registrypreview\RegistryPreviewUI\RegistryPreviewUI.csproj", "{8E23E173-7127-4A5F-9F93-3049F2B68047}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RegistryPreview", "src\modules\registrypreview\RegistryPreview\RegistryPreview.csproj", "{8E23E173-7127-4A5F-9F93-3049F2B68047}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@ -6,7 +6,7 @@ using Microsoft.UI.Xaml;
using Windows.Data.Json;
using WinUIEx;
namespace RegistryPreviewUI
namespace RegistryPreview
{
public sealed partial class MainWindow : WindowEx
{

View File

@ -9,7 +9,7 @@ using System.Threading.Tasks;
using Windows.Storage;
using WinUIEx;
namespace RegistryPreviewUI
namespace RegistryPreview
{
public sealed partial class MainWindow : WindowEx
{

View File

@ -4,7 +4,7 @@
<TargetFramework>net8.0-windows10.0.20348.0</TargetFramework>
<TargetPlatformMinVersion>10.0.19041.0</TargetPlatformMinVersion>
<SupportedOSPlatformVersion>10.0.19041.0</SupportedOSPlatformVersion>
<RootNamespace>RegistryPreviewUI</RootNamespace>
<RootNamespace>RegistryPreview</RootNamespace>
<ApplicationManifest>app.manifest</ApplicationManifest>
<Platforms>x86;x64;ARM64</Platforms>
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
@ -17,20 +17,20 @@
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
<SelfContained>true</SelfContained>
<OutputPath>..\..\..\..\$(Platform)\$(Configuration)\WinUI3Apps</OutputPath>
<AssemblyName>PowerToys.RegistryPreviewUI</AssemblyName>
<ApplicationIcon>Assets\RegistryPreviewUI\app.ico</ApplicationIcon>
<AssemblyName>PowerToys.RegistryPreview</AssemblyName>
<ApplicationIcon>Assets\RegistryPreview\app.ico</ApplicationIcon>
<!-- MRT from windows app sdk will search for a pri file with the same name of the module before defaulting to resources.pri -->
<ProjectPriFileName>PowerToys.RegistryPreviewUI.pri</ProjectPriFileName>
<ProjectPriFileName>PowerToys.RegistryPreview.pri</ProjectPriFileName>
</PropertyGroup>
<ItemGroup>
<Page Remove="RegistryPreviewUIXAML\App.xaml" />
<Page Remove="RegistryPreviewXAML\App.xaml" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="RegistryPreviewUIXAML\App.xaml" />
<ApplicationDefinition Include="RegistryPreviewXAML\App.xaml" />
</ItemGroup>
<ItemGroup>
<Folder Include="RegistryPreviewUIXAML\" />
<Folder Include="RegistryPreviewXAML\" />
</ItemGroup>

View File

@ -1,9 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Application
x:Class="RegistryPreviewUI.App"
x:Class="RegistryPreview.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:RegistryPreviewUI">
xmlns:local="using:RegistryPreview">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>

View File

@ -10,7 +10,7 @@ using Windows.ApplicationModel.Activation;
// To learn more about WinUI, the WinUI project structure,
// and more about our project templates, see: http://aka.ms/winui-project-info.
namespace RegistryPreviewUI
namespace RegistryPreview
{
/// <summary>
/// Provides application-specific behavior to supplement the default Application class.

View File

@ -1,5 +1,5 @@
<winuiex:WindowEx
x:Class="RegistryPreviewUI.MainWindow"
x:Class="RegistryPreview.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
@ -39,7 +39,7 @@
Width="16"
Height="16"
VerticalAlignment="Center"
Source="../Assets/RegistryPreviewUI/app.ico" />
Source="../Assets/RegistryPreview/app.ico" />
<TextBlock
x:Name="titleBarText"
Grid.Column="1"

View File

@ -13,7 +13,7 @@ using Windows.Data.Json;
using Windows.Graphics;
using WinUIEx;
namespace RegistryPreviewUI
namespace RegistryPreview
{
public sealed partial class MainWindow : WindowEx
{
@ -40,7 +40,7 @@ namespace RegistryPreviewUI
IntPtr windowHandle = WinRT.Interop.WindowNative.GetWindowHandle(this);
Microsoft.UI.WindowId windowId = Win32Interop.GetWindowIdFromWindow(windowHandle);
appWindow = Microsoft.UI.Windowing.AppWindow.GetFromWindowId(windowId);
appWindow.SetIcon("Assets\\RegistryPreviewUI\\app.ico");
appWindow.SetIcon("Assets\\RegistryPreview\\app.ico");
// TODO(stefan)
appWindow.Closing += AppWindow_Closing;

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="RegistryPreviewUI.app"/>
<assemblyIdentity version="1.0.0.0" name="RegistryPreview.app"/>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>