chore: 调整csproj文件结构并删除旧的dotsettings文件

This commit is contained in:
SherkeyXD
2023-10-17 15:10:24 +08:00
committed by uye
parent e6f7f2054a
commit ae6c6f7b5b
2 changed files with 70 additions and 94 deletions

View File

@@ -1,48 +1,70 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0-windows</TargetFramework>
<Platforms>x64;ARM64</Platforms>
<Configurations>Release;RelWithDebInfo;Debug</Configurations>
<OutputType>WinExe</OutputType>
<StartupObject>MaaWpfGui.App</StartupObject>
<LangVersion>8.0</LangVersion>
<OutputPath>..\..\$(Platform)\$(Configuration)\</OutputPath>
</PropertyGroup>
<PropertyGroup>
<UseApplicationTrust>false</UseApplicationTrust>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<IncludeSymbols>False</IncludeSymbols>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<UseWpf>true</UseWpf>
</PropertyGroup>
<PropertyGroup>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>5.0.0.0</ApplicationVersion>
<Version>0.0.1</Version>
<FileVersion>0.0.1</FileVersion>
<AssemblyVersion>0.0.1</AssemblyVersion>
<InformationalVersion>0.0.1</InformationalVersion>
<OutputType>WinExe</OutputType>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>newlogo.ico</ApplicationIcon>
<RootNamespace>MaaWpfGui</RootNamespace>
<AssemblyName>MAA</AssemblyName>
<TargetFramework>net8.0-windows</TargetFramework>
<TargetFramework Condition="'$(Platform)' == 'ARM64'">net481</TargetFramework>
<Platforms>x64;ARM64</Platforms>
<Configurations>Release;RelWithDebInfo;Debug</Configurations>
<SupportUrl>https://github.com/MaaAssistantArknights/MaaAssistantArknights</SupportUrl>
<ErrorReportUrl>https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues</ErrorReportUrl>
<ProductName>MAA</ProductName>
<PublisherName>MistEO</PublisherName>
<SuiteName>MAA</SuiteName>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>4.0.0.0</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<ApplicationIcon>newlogo.ico</ApplicationIcon>
<StartupObject>MaaWpfGui.App</StartupObject>
<LangVersion>8.0</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<UseWpf>true</UseWpf>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<OutputPath>..\..\$(Platform)\$(Configuration)\</OutputPath>
</PropertyGroup>
<!-- StyleCop -->
<PropertyGroup>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<PackageProjectUrl>https://maa.plus/</PackageProjectUrl>
</PropertyGroup>
<PropertyGroup>
<Copyright>https://github.com/MaaAssistantArknights/MaaAssistantArknights/blob/dev/LICENSE</Copyright>
<Description>https://maa.plus/docs/</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
<RepositoryUrl>https://github.com/MaaAssistantArknights/MaaAssistantArknights</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<IncludeSymbols>False</IncludeSymbols>
<RepositoryUrl>https://github.com/MaaAssistantArknights/MaaAssistantArknights</RepositoryUrl>
<SupportUrl>https://github.com/MaaAssistantArknights/MaaAssistantArknights</SupportUrl>
<ErrorReportUrl>https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues</ErrorReportUrl>
<ApplicationManifest>app.manifest</ApplicationManifest>
</PropertyGroup>
<ItemGroup>
<AdditionalFiles Include="stylecop.json" />
<Resource Include="newlogo.ico" />
<None Include="..\..\README.md" Pack="True" PackagePath="/" />
<None Include=".editorconfig" />
</ItemGroup>
<PropertyGroup>
<WeaverConfiguration>
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<PropertyChanged />
<Costura Condition="'$(Configuration)' == 'Release'" />
</Weavers>
</WeaverConfiguration>
</PropertyGroup>
<ItemGroup>
<COMReference Include="IWshRuntimeLibrary">
<WrapperTool>tlbimp</WrapperTool>
@@ -69,95 +91,53 @@
</WeaverConfiguration>
</PropertyGroup>
<ItemGroup>
<Page Include="Properties\DesignTimeResources.xaml" Condition="'$(DesignTime)'=='true' OR ('$(SolutionPath)'!='' AND Exists('$(SolutionPath)') AND '$(BuildingInsideVisualStudio)'!='true' AND '$(BuildingInsideExpressionBlend)'!='true')">
<Page Include="Properties\DesignTimeResources.xaml"
Condition="'$(DesignTime)'=='true' OR ('$(SolutionPath)'!='' AND Exists('$(SolutionPath)') AND '$(BuildingInsideVisualStudio)'!='true' AND '$(BuildingInsideExpressionBlend)'!='true')">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
<ContainsDesignTimeResources>true</ContainsDesignTimeResources>
</Page>
</ItemGroup>
<ItemGroup>
<None Include="..\..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include=".editorconfig" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="CalcBinding">
<Version>2.5.2</Version>
</PackageReference>
<PackageReference Include="Costura.Fody" Condition="'$(Configuration)' == 'Release'">
<Version>5.7.0</Version>
<PackageReference Include="CalcBinding" Version="2.5.2" />
<PackageReference Include="Costura.Fody" Version="5.7.0" Condition="'$(Configuration)' == 'Release'">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<PackageReference Include="FluentEmail.Liquid">
<Version>3.0.2</Version>
</PackageReference>
<PackageReference Include="FluentEmail.MailKit">
<Version>3.0.2</Version>
</PackageReference>
<PackageReference Include="GlobalHotKey">
<Version>1.1.0</Version>
<PackageReference Include="FluentEmail.Liquid" Version="3.0.2" />
<PackageReference Include="FluentEmail.MailKit" Version="3.0.2" />
<PackageReference Include="GlobalHotKey" Version="1.1.0">
<NoWarn>NU1701</NoWarn>
</PackageReference>
<PackageReference Include="gong-wpf-dragdrop">
<Version>3.2.1</Version>
</PackageReference>
<PackageReference Include="HandyControls">
<Version>3.4.5</Version>
</PackageReference>
<PackageReference Include="gong-wpf-dragdrop" Version="3.2.1" />
<PackageReference Include="HandyControls" Version="3.4.5" />
<PackageReference Include="MdXaml" Version="1.21.0" />
<PackageReference Include="MdXaml.Html" Version="1.21.0" />
<PackageReference Include="MdXaml.Plugins" Version="1.21.0" />
<PackageReference Include="Microsoft.Toolkit.Uwp.Notifications">
<Version>7.1.3</Version>
</PackageReference>
<PackageReference Include="Newtonsoft.Json">
<Version>13.0.1</Version>
</PackageReference>
<PackageReference Include="Notification.Wpf">
<Version>7.0.0.2</Version>
</PackageReference>
<PackageReference Include="ObservableCollections">
<Version>1.1.3</Version>
</PackageReference>
<PackageReference Include="PropertyChanged.Fody">
<Version>4.1.0</Version>
<PackageReference Include="Microsoft.Toolkit.Uwp.Notifications" Version="7.1.3" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="Notification.Wpf" Version="7.0.0.2" />
<PackageReference Include="ObservableCollections" Version="1.1.3" />
<PackageReference Include="PropertyChanged.Fody" Version="4.1.0">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<PackageReference Include="Semver">
<Version>2.3.0</Version>
</PackageReference>
<PackageReference Include="Serilog">
<Version>3.0.1</Version>
</PackageReference>
<PackageReference Include="Serilog.Enrichers.Thread">
<Version>3.1.0</Version>
</PackageReference>
<PackageReference Include="Serilog.Sinks.Debug">
<Version>2.0.0</Version>
</PackageReference>
<PackageReference Include="Serilog.Sinks.File">
<Version>5.0.0</Version>
</PackageReference>
<PackageReference Include="StyleCop.Analyzers">
<Version>1.2.0-beta.435</Version>
<PackageReference Include="Semver" Version="2.3.0" />
<PackageReference Include="Serilog" Version="3.0.1" />
<PackageReference Include="Serilog.Enrichers.Thread" Version="3.1.0" />
<PackageReference Include="Serilog.Sinks.Debug" Version="2.0.0" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.435">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Stylet">
<Version>1.3.6</Version>
</PackageReference>
<PackageReference Include="Stylet" Version="1.3.6" />
<PackageReference Include="System.Management" Version="7.0.2" />
<PackageReference Include="Uno.UI" Version="4.9.45" />
<PackageReference Include="Vanara.PInvoke.ComCtl32" Version="3.4.16" />
<PackageReference Include="Vanara.PInvoke.Shared" Version="3.4.16" />
<PackageReference Include="Vanara.PInvoke.Shell32" Version="3.4.16" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" />
<PackageReference Include="System.Text.Json" Version="8.0.0-preview.7.23375.6" />
</ItemGroup>
<ItemGroup>
<Resource Include="newlogo.ico" />
</ItemGroup>
</Project>
</Project>

View File

@@ -1,4 +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/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=helper/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=usercontrol/@EntryIndexedValue">True</s:Boolean>
<s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=viewmodels/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>