简化项目 (#569)

This commit is contained in:
Poker 2024-12-27 02:34:34 +08:00
parent 2e1c620d64
commit 28b3018d57
No known key found for this signature in database
GPG Key ID: C65A6AD457D5C8F8
19 changed files with 123 additions and 175 deletions

View File

@ -190,6 +190,14 @@ dotnet_naming_rule.const_field_should_be_pascal_case.severity = suggestion
dotnet_naming_rule.const_field_should_be_pascal_case.symbols = const_field dotnet_naming_rule.const_field_should_be_pascal_case.symbols = const_field
dotnet_naming_rule.const_field_should_be_pascal_case.style = pascal_case dotnet_naming_rule.const_field_should_be_pascal_case.style = pascal_case
dotnet_naming_rule.private_static_field_should_be_pascal_begin_with__.severity = suggestion
dotnet_naming_rule.private_static_field_should_be_pascal_begin_with__.symbols = private_static_field
dotnet_naming_rule.private_static_field_should_be_pascal_begin_with__.style = pascal_begin_with__
dotnet_naming_rule.private_static_readonly_field_should_be_pascal_begin_with__.severity = suggestion
dotnet_naming_rule.private_static_readonly_field_should_be_pascal_begin_with__.symbols = private_static_readonly_field
dotnet_naming_rule.private_static_readonly_field_should_be_pascal_begin_with__.style = pascal_begin_with__
dotnet_naming_rule.private_field_should_be_camel_begin_with__.severity = suggestion dotnet_naming_rule.private_field_should_be_camel_begin_with__.severity = suggestion
dotnet_naming_rule.private_field_should_be_camel_begin_with__.symbols = private_field dotnet_naming_rule.private_field_should_be_camel_begin_with__.symbols = private_field
dotnet_naming_rule.private_field_should_be_camel_begin_with__.style = camel_begin_with__ dotnet_naming_rule.private_field_should_be_camel_begin_with__.style = camel_begin_with__
@ -198,12 +206,15 @@ dotnet_naming_rule.private_field_should_be_camel_begin_with__.style = camel_begi
dotnet_naming_symbols.interface.applicable_kinds = interface dotnet_naming_symbols.interface.applicable_kinds = interface
dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.interface.required_modifiers =
dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum
dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.types.required_modifiers =
dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method
dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
dotnet_naming_symbols.non_field_members.required_modifiers =
dotnet_naming_symbols.const_field.applicable_kinds = field dotnet_naming_symbols.const_field.applicable_kinds = field
dotnet_naming_symbols.const_field.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected dotnet_naming_symbols.const_field.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected
@ -211,20 +222,41 @@ dotnet_naming_symbols.const_field.required_modifiers = const
dotnet_naming_symbols.visible_field.applicable_kinds = field dotnet_naming_symbols.visible_field.applicable_kinds = field
dotnet_naming_symbols.visible_field.applicable_accessibilities = public, internal, protected_internal dotnet_naming_symbols.visible_field.applicable_accessibilities = public, internal, protected_internal
dotnet_naming_symbols.visible_field.required_modifiers =
dotnet_naming_symbols.private_field.applicable_kinds = field dotnet_naming_symbols.private_field.applicable_kinds = field
dotnet_naming_symbols.private_field.applicable_accessibilities = private dotnet_naming_symbols.private_field.applicable_accessibilities = private
dotnet_naming_symbols.private_field.required_modifiers =
dotnet_naming_symbols.private_static_field.applicable_kinds = field
dotnet_naming_symbols.private_static_field.applicable_accessibilities = private
dotnet_naming_symbols.private_static_field.required_modifiers = static
dotnet_naming_symbols.private_static_readonly_field.applicable_kinds = field
dotnet_naming_symbols.private_static_readonly_field.applicable_accessibilities = private
dotnet_naming_symbols.private_static_readonly_field.required_modifiers = readonly, static
# 命名样式 # 命名样式
dotnet_naming_style.pascal_case.required_prefix =
dotnet_naming_style.pascal_case.required_suffix =
dotnet_naming_style.pascal_case.word_separator =
dotnet_naming_style.pascal_case.capitalization = pascal_case dotnet_naming_style.pascal_case.capitalization = pascal_case
dotnet_naming_style.begins_with_i.required_prefix = I dotnet_naming_style.begins_with_i.required_prefix = I
dotnet_naming_style.begins_with_i.required_suffix =
dotnet_naming_style.begins_with_i.word_separator =
dotnet_naming_style.begins_with_i.capitalization = pascal_case dotnet_naming_style.begins_with_i.capitalization = pascal_case
dotnet_naming_style.camel_begin_with__.required_prefix = _ dotnet_naming_style.camel_begin_with__.required_prefix = _
dotnet_naming_style.camel_begin_with__.required_suffix =
dotnet_naming_style.camel_begin_with__.word_separator =
dotnet_naming_style.camel_begin_with__.capitalization = camel_case dotnet_naming_style.camel_begin_with__.capitalization = camel_case
dotnet_naming_style.pascal_begin_with__.required_prefix = _
dotnet_naming_style.pascal_begin_with__.required_suffix =
dotnet_naming_style.pascal_begin_with__.word_separator =
dotnet_naming_style.pascal_begin_with__.capitalization = pascal_case
# ReSharper properties # ReSharper properties
resharper_max_initializer_elements_on_line = 1 resharper_max_initializer_elements_on_line = 1

View File

@ -10,12 +10,16 @@ body:
🚨 **请勿略过说明 / Please do not skip instructions** 🚨 🚨 **请勿略过说明 / Please do not skip instructions** 🚨
1. 请确保在打开一个新议题之前,查找并确认不要与已有议题重复。 1. 请确保在打开一个新议题之前,查找并确认不要与已有议题重复。
2. WPF版本已不再维护除非重大BUG其他情况下都会直接关闭议题。
Please make sure to look for existing issues about the same problem before opening a new one.
2. WPF版本已不再维护除非重大漏洞其他情况下都会直接关闭议题。
The WPF version is no longer maintained and issues are simply closed unless there is a serious bug.
3. 请尽可能多地提供信息,如果软件崩溃请一并提供崩溃日志。 3. 请尽可能多地提供信息,如果软件崩溃请一并提供崩溃日志。
1. Please make sure to look for existing issues about the same problem before opening a new one. Please provide as much information as possible, and if the software crashes, please provide crash logs as well.
2. The WPF version is no longer maintained and issues are simply closed unless there is a major bug.
3. Please provide as much information as possible, and if the software crashes, please provide crash logs as well.
- type: dropdown - type: dropdown
validations: validations:
required: true required: true

View File

@ -10,25 +10,29 @@ body:
🚨 **请勿略过说明 / Please do not skip instructions** 🚨 🚨 **请勿略过说明 / Please do not skip instructions** 🚨
1. 请确保在打开一个新议题之前,查找并确认不要与已有议题重复。 1. 请确保在打开一个新议题之前,查找并确认不要与已有议题重复。
2. WPF版本已不再维护除非重大BUG其他情况下都会直接关闭议题。
Please make sure to look for existing issues about the same problem before opening a new one.
2. WPF版本已不再维护除非重大漏洞其他情况下都会直接关闭议题。
The WPF version is no longer maintained and issues are simply closed unless there is a serious bug.
3. 只支持Win10而Win11不支持的功能建议大概率不会被接受。 3. 只支持Win10而Win11不支持的功能建议大概率不会被接受。
1. Please make sure to look for existing issues about the same problem before opening a new one. Feature requests that only support Win10 and not Win11 will most likely not be accepted.
2. The WPF version is no longer maintained and issues are simply closed unless there is a major bug.
3. Feature requests that only support Win10 and not Win11 will most likely not be accepted.
- type: dropdown - type: dropdown
validations: validations:
required: true required: true
attributes: attributes:
label: 建议类型 label: 建议类型 / Type of request
options: options:
- 新功能 - 新功能 / New feature
- 功能优化 - 功能优化 / Optimization of feature
- type: dropdown - type: dropdown
validations: validations:
required: true required: true
attributes: attributes:
label: Pixeval的版本 label: Pixeval的版本 / Pixeval's version
options: options:
- WinUI 3 - WinUI 3
- type: textarea - type: textarea

View File

@ -1,6 +1,6 @@
<div align="center"> <div align="center">
<img src="./src/Pixeval/Assets/Images/logo.svg" alt="logo" width="200"> <img src="../src/Pixeval/Assets/Images/logo.svg" alt="logo" width="200">
# Pixeval # Pixeval

View File

@ -1,6 +1,6 @@
<div align="center"> <div align="center">
<img src="./src/Pixeval/Assets/Images/logo.svg" alt="logo" width="200"> <img src="..s/src/Pixeval/Assets/Images/logo.svg" alt="logo" width="200">
# Pixeval # Pixeval

View File

@ -1,6 +1,6 @@
<div align="center"> <div align="center">
<img src="./src/Pixeval/Assets/Images/logo.svg" alt="logo" width="200"> <img src="../src/Pixeval/Assets/Images/logo.svg" alt="logo" width="200">
# Pixeval # Pixeval

View File

@ -1,6 +1,6 @@
<div align="center"> <div align="center">
<img src="./src/Pixeval/Assets/Images/logo.svg" alt="logo" width="200"> <img src="../src/Pixeval/Assets/Images/logo.svg" alt="logo" width="200">
# Pixeval # Pixeval

View File

View File

@ -33,7 +33,7 @@ Welcome to the Pixeval project! We appreciate your help in translating the appli
Here are some recommended tools for translating the `.resjson` files: Here are some recommended tools for translating the `.resjson` files:
- [Visual Studio Code](https://code.visualstudio.com/) - A powerful and customizable code editor. - [Visual Studio Code](https://code.visualstudio.com/) - A powerful and customizable code editor.
- [Resource Cheker](https://github.com/Pixeval/ResourceChecker) - Our solution for verification and translation assistance - [Resource Checker](https://github.com/Pixeval/ResourceChecker) - Our solution for verification and translation assistance
## Future Plans ## Future Plans

View File

@ -25,9 +25,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ISSUE_TEMPLATE", "ISSUE_TEMPLATE", "{CF6471C8-02F1-4B25-9207-43312C206A45}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ISSUE_TEMPLATE", "ISSUE_TEMPLATE", "{CF6471C8-02F1-4B25-9207-43312C206A45}"
ProjectSection(SolutionItems) = preProject ProjectSection(SolutionItems) = preProject
.github\ISSUE_TEMPLATE\bug_report.yaml = .github\ISSUE_TEMPLATE\bug_report.yaml .github\ISSUE_TEMPLATE\bug_report.yaml = .github\ISSUE_TEMPLATE\bug_report.yaml
.github\ISSUE_TEMPLATE\bug_report_zh.yaml = .github\ISSUE_TEMPLATE\bug_report_zh.yaml
.github\ISSUE_TEMPLATE\feature_request.yaml = .github\ISSUE_TEMPLATE\feature_request.yaml .github\ISSUE_TEMPLATE\feature_request.yaml = .github\ISSUE_TEMPLATE\feature_request.yaml
.github\ISSUE_TEMPLATE\feature_request_zh.yaml = .github\ISSUE_TEMPLATE\feature_request_zh.yaml
EndProjectSection EndProjectSection
EndProject EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{F041EE9B-A618-438D-A16D-1265421E22FC}" Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "workflows", "workflows", "{F041EE9B-A618-438D-A16D-1265421E22FC}"

View File

@ -1,14 +0,0 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:Boolean x:Key="/Default/UserDictionary/Words/=Emoji/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Flyout/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Flyouts/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=illust/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Mako/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Manga/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Pixeval/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Pixiv/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Redownload/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Ugoira/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Unfollow/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Unregister/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/UserDictionary/Words/=Zoomable/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>

View File

@ -4,50 +4,53 @@
<Platform Name="x64" /> <Platform Name="x64" />
<Platform Name="x86" /> <Platform Name="x86" />
</Configurations> </Configurations>
<Folder Name="/Solution Items/GitHub/workflows/">
<File Path=".github\workflows\build.yml" />
<File Path=".github\workflows\check-xaml-formatting.yml" />
<File Path=".github\workflows\release.yml" />
</Folder>
<Folder Name="/Solution Items/GitHub/ISSUE_TEMPLATE/">
<File Path=".github\ISSUE_TEMPLATE\bug_report.yaml" />
<File Path=".github\ISSUE_TEMPLATE\bug_report_zh.yaml" />
<File Path=".github\ISSUE_TEMPLATE\feature_request.yaml" />
<File Path=".github\ISSUE_TEMPLATE\feature_request_zh.yaml" />
</Folder>
<Folder Name="/Solution Items/GitHub/" />
<Folder Name="/Solution Items/"> <Folder Name="/Solution Items/">
<File Path=".editorconfig" /> <File Path=".editorconfig" />
<File Path=".gitattributes" /> <File Path=".gitattributes" />
<File Path=".gitignore" /> <File Path=".gitignore" />
<File Path="CONTRIBUTING.md" />
<File Path="LICENSE" /> <File Path="LICENSE" />
<File Path="nuget.config" /> <File Path="nuget.config" />
<File Path="Pixeval.sln.DotSettings" />
<File Path="Pixeval_PublicKey.cer" />
<File Path="README.en.md" />
<File Path="README.fr.md" />
<File Path="README.md" />
<File Path="README.ru.md" />
<File Path="SECURITY.md" />
<File Path="Settings.XamlStyler" /> <File Path="Settings.XamlStyler" />
</Folder> </Folder>
<Project Path="src\Pixeval.Controls\Pixeval.Controls.csproj"> <Folder Name="/Solution Items/GitHub/">
<Configuration Solution="*|arm64" Project="*|arm64" /> <File Path=".github/CONTRIBUTING.md" />
<Configuration Solution="*|x64" Project="*|x64" /> <File Path=".github/README.en.md" />
<File Path=".github/README.fr.md" />
<File Path=".github/README.md" />
<File Path=".github/README.ru.md" />
<File Path=".github/SECURITY.md" />
<File Path=".github/translation.md" />
<File Path=".github/translation.ps1" />
</Folder>
<Folder Name="/Solution Items/GitHub/ISSUE_TEMPLATE/">
<File Path=".github/ISSUE_TEMPLATE/bug_report.yaml" />
<File Path=".github/ISSUE_TEMPLATE/feature_request.yaml" />
</Folder>
<Folder Name="/Solution Items/GitHub/workflows/">
<File Path=".github/workflows/build.yml" />
<File Path=".github/workflows/check-xaml-formatting.yml" />
<File Path=".github/workflows/release.yml" />
</Folder>
<Project Path="src/Pixeval.Controls/Pixeval.Controls.csproj">
<Platform Solution="*|arm64" Project="arm64" />
<Platform Solution="*|x64" Project="x64" />
<Platform Solution="*|x86" Project="x86" />
</Project> </Project>
<Project Path="src\Pixeval.CoreApi\Pixeval.CoreApi.csproj"> <Project Path="src/Pixeval.CoreApi/Pixeval.CoreApi.csproj">
<Configuration Solution="*|arm64" Project="*|arm64" /> <Platform Solution="*|arm64" Project="arm64" />
<Configuration Solution="*|x64" Project="*|x64" /> <Platform Solution="*|x64" Project="x64" />
<Platform Solution="*|x86" Project="x86" />
</Project> </Project>
<Project Path="src\Pixeval.SourceGen\Pixeval.SourceGen.csproj" /> <Project Path="src/Pixeval.SourceGen/Pixeval.SourceGen.csproj" />
<Project Path="src\Pixeval.Utilities\Pixeval.Utilities.csproj"> <Project Path="src/Pixeval.Utilities/Pixeval.Utilities.csproj">
<Configuration Solution="*|arm64" Project="*|arm64" /> <Platform Solution="*|arm64" Project="arm64" />
<Configuration Solution="*|x64" Project="*|x64" /> <Platform Solution="*|x64" Project="x64" />
<Platform Solution="*|x86" Project="x86" />
</Project> </Project>
<Project Path="src\Pixeval\Pixeval.csproj"> <Project Path="src/Pixeval/Pixeval.csproj">
<Configuration Solution="*|*" Project="*|*|Deploy" /> <Platform Solution="*|arm64" Project="arm64" />
<Configuration Solution="*|arm64" Project="*|arm64|Deploy" /> <Platform Solution="*|x64" Project="x64" />
<Configuration Solution="*|x64" Project="*|x64|Deploy" /> <Platform Solution="*|x86" Project="x86" />
<Deploy />
</Project> </Project>
</Solution> </Solution>

Binary file not shown.

View File

@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework> <TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
<TargetPlatformMinVersion>10.0.19041.0</TargetPlatformMinVersion> <TargetPlatformMinVersion>10.0.19041.0</TargetPlatformMinVersion>
<RootNamespace>Pixeval.Controls</RootNamespace> <RootNamespace>Pixeval.Controls</RootNamespace>
<Platforms>x86;x64;arm64</Platforms> <Platforms>x86;x64;arm64</Platforms>
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers> <RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
<UseWinUI>true</UseWinUI> <UseWinUI>true</UseWinUI>
@ -12,6 +12,7 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DefaultLanguage>zh-cn</DefaultLanguage> <DefaultLanguage>zh-cn</DefaultLanguage>
<IsTrimmable>true</IsTrimmable> <IsTrimmable>true</IsTrimmable>
<EnableDefaultPriItems>false</EnableDefaultPriItems>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@ -1,21 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework> <TargetFramework>netstandard2.0</TargetFramework>
<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules> <EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
<CompilerGeneratedFilesOutputPath>Generated</CompilerGeneratedFilesOutputPath> <CompilerGeneratedFilesOutputPath>Generated</CompilerGeneratedFilesOutputPath>
<IsRoslynComponent>true</IsRoslynComponent> <IsRoslynComponent>true</IsRoslynComponent>
<Configurations>Debug;Release</Configurations> <Configurations>Debug;Release</Configurations>
<PlatformTarget>AnyCPU</PlatformTarget> <PlatformTarget>AnyCPU</PlatformTarget>
<LangVersion>latest</LangVersion> <LangVersion>latest</LangVersion>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0" PrivateAssets="all" /> <PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.12.0" PrivateAssets="all" /> <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.12.0" PrivateAssets="all" />
<PackageReference Include="PolySharp" Version="1.15.0"> <PackageReference Include="PolySharp" Version="1.15.0">
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -3,10 +3,9 @@
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework> <TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
<TargetPlatformMinVersion>10.0.19041.0</TargetPlatformMinVersion> <TargetPlatformMinVersion>10.0.19041.0</TargetPlatformMinVersion>
<RootNamespace>Pixeval</RootNamespace> <RootNamespace>Pixeval</RootNamespace>
<Platforms>x86;x64;ARM64</Platforms> <Platforms>x86;x64;ARM64</Platforms>
<RuntimeIdentifiers Condition="$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) &gt;= 8">win-x86;win-x64;win-arm64</RuntimeIdentifiers> <RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
<RuntimeIdentifiers Condition="$([MSBuild]::GetTargetFrameworkVersion('$(TargetFramework)')) &lt; 8">win10-x86;win10-x64;win10-arm64</RuntimeIdentifiers>
<ApplicationManifest>app.manifest</ApplicationManifest> <ApplicationManifest>app.manifest</ApplicationManifest>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<UseWinUI>true</UseWinUI> <UseWinUI>true</UseWinUI>
@ -17,9 +16,8 @@
<Configurations>Debug;Release</Configurations> <Configurations>Debug;Release</Configurations>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PublishAot>false</PublishAot> <PublishAot>false</PublishAot>
<WindowsSdkPackageVersion>10.0.22621.38</WindowsSdkPackageVersion>
<PublishProfile Condition="'$(PublishAot)' == 'true'">win-$(Platform).pubxml</PublishProfile> <PublishProfile Condition="'$(PublishAot)' == 'true'">win-$(Platform).pubxml</PublishProfile>
<WindowsPackageType>MSIX</WindowsPackageType> <WindowsPackageType>MSIX</WindowsPackageType>
<NoWarn>NU1904;$(NoWarn)</NoWarn> <NoWarn>NU1904;$(NoWarn)</NoWarn>
</PropertyGroup> </PropertyGroup>
@ -95,6 +93,10 @@
<Content> "$([System.String]::Concat(%(Filename), '"').Replace('_', '/')) : "$([System.IO.File]::ReadAllText(%(FullPath)).Replace('\', '\\').Replace(' <Content> "$([System.String]::Concat(%(Filename), '"').Replace('_', '/')) : "$([System.IO.File]::ReadAllText(%(FullPath)).Replace('\', '\\').Replace('
', '\n').Replace('"', '\"'))"</Content> ', '\n').Replace('"', '\"'))"</Content>
</TextFile> </TextFile>
<PRIResource Include="Assets\Svg.resw" />
<PRIResource Include="Strings\*\*.resjson" />
<PRIResource Include="Strings\*\*.resw" />
</ItemGroup> </ItemGroup>
<!--PackageManifest--> <!--PackageManifest-->
@ -113,12 +115,6 @@
<AppxBundlePlatforms>x86|x64|arm64</AppxBundlePlatforms> <AppxBundlePlatforms>x86|x64|arm64</AppxBundlePlatforms>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<PRIResource Include="Assets\Svg.resw" />
<PRIResource Include="Strings\*\*.resjson" />
<PRIResource Include="Strings\*\*.resw" />
</ItemGroup>
<ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'"> <ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
<ProjectCapability Include="Msix" /> <ProjectCapability Include="Msix" />
</ItemGroup> </ItemGroup>
@ -126,80 +122,4 @@
<PropertyGroup Condition="'$(DisableHasPackageAndPublishMenuAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'"> <PropertyGroup Condition="'$(DisableHasPackageAndPublishMenuAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'">
<HasPackageAndPublishMenu>true</HasPackageAndPublishMenu> <HasPackageAndPublishMenu>true</HasPackageAndPublishMenu>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<None Remove="Assets\Images\Icons\bookmarks-128x128.png" />
<None Remove="Assets\Images\Icons\bookmarks-64x64.png" />
<None Remove="Assets\Images\Icons\bookmarks.png" />
<None Remove="Assets\Images\Icons\followings-128x128.png" />
<None Remove="Assets\Images\Icons\followings-64x64.png" />
<None Remove="Assets\Images\Icons\followings.png" />
<None Remove="Assets\Images\Icons\history-128x128.png" />
<None Remove="Assets\Images\Icons\history-64x64.png" />
<None Remove="Assets\Images\Icons\history.png" />
<None Remove="Assets\Images\Icons\new-works-128x128.png" />
<None Remove="Assets\Images\Icons\new-works-64x64.png" />
<None Remove="Assets\Images\Icons\new-works.png" />
<None Remove="Assets\Images\Icons\ranking-128x128.png" />
<None Remove="Assets\Images\Icons\ranking-64x64.png" />
<None Remove="Assets\Images\Icons\ranking.png" />
<None Remove="Assets\Images\Icons\recent-posts-128x128.png" />
<None Remove="Assets\Images\Icons\recent-posts-64x64.png" />
<None Remove="Assets\Images\Icons\recent-posts.png" />
<None Remove="Assets\Images\Icons\recommend-user-128x128.png" />
<None Remove="Assets\Images\Icons\recommend-user-64x64.png" />
<None Remove="Assets\Images\Icons\recommend-user.png" />
<None Remove="Assets\Images\Icons\recommendations-128x128.png" />
<None Remove="Assets\Images\Icons\recommendations-64x64.png" />
<None Remove="Assets\Images\Icons\recommendations.png" />
<None Remove="Assets\Images\Icons\spotlight-128x128.png" />
<None Remove="Assets\Images\Icons\spotlight-64x64.png" />
<None Remove="Assets\Images\Icons\spotlight.png" />
<None Remove="Assets\Images\Icons\tag-128x128.png" />
<None Remove="Assets\Images\Icons\tag-64x64.png" />
<None Remove="Assets\Images\Icons\tag.png" />
</ItemGroup>
<!--
<ItemGroup>
<Content Update="Assets\Binary\RealESRGAN\models\realesr-animevideov3-x2.bin">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Update="Assets\Binary\RealESRGAN\models\realesr-animevideov3-x2.param">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Update="Assets\Binary\RealESRGAN\models\realesr-animevideov3-x3.bin">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Update="Assets\Binary\RealESRGAN\models\realesr-animevideov3-x3.param">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Update="Assets\Binary\RealESRGAN\models\realesr-animevideov3-x4.bin">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Update="Assets\Binary\RealESRGAN\models\realesr-animevideov3-x4.param">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Update="Assets\Binary\RealESRGAN\models\realesrgan-x4plus-anime.bin">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Update="Assets\Binary\RealESRGAN\models\realesrgan-x4plus-anime.param">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Update="Assets\Binary\RealESRGAN\models\realesrgan-x4plus.bin">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Update="Assets\Binary\RealESRGAN\models\realesrgan-x4plus.param">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Update="Assets\Binary\RealESRGAN\realesrgan-ncnn-vulkan.exe">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Update="Assets\Binary\RealESRGAN\vcomp140.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Update="Assets\Binary\RealESRGAN\vcomp140d.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>-->
</Project> </Project>