feat: update project to dotnet framwork 4.8

master 0.0.0.2
DESKTOP-3BO4HSG\ksat 2 years ago
parent 47906baacb
commit 09ef790041

3
.gitignore vendored

@ -2,3 +2,6 @@
bin/ bin/
obj/ obj/
*.user *.user
packages/

@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16 # Visual Studio Version 16
VisualStudioVersion = 16.0.31702.278 VisualStudioVersion = 16.0.31702.278
MinimumVisualStudioVersion = 10.0.40219.1 MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "STranslate", "STranslate\STranslate.csproj", "{03C38651-89E7-4239-A2FD-AD261653B057}" Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "STranslate", "STranslate\STranslate.csproj", "{2597B480-185C-4D6D-94EC-8641BB6777F5}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -11,15 +11,15 @@ Global
Release|Any CPU = Release|Any CPU Release|Any CPU = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution GlobalSection(ProjectConfigurationPlatforms) = postSolution
{03C38651-89E7-4239-A2FD-AD261653B057}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {2597B480-185C-4D6D-94EC-8641BB6777F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{03C38651-89E7-4239-A2FD-AD261653B057}.Debug|Any CPU.Build.0 = Debug|Any CPU {2597B480-185C-4D6D-94EC-8641BB6777F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{03C38651-89E7-4239-A2FD-AD261653B057}.Release|Any CPU.ActiveCfg = Release|Any CPU {2597B480-185C-4D6D-94EC-8641BB6777F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{03C38651-89E7-4239-A2FD-AD261653B057}.Release|Any CPU.Build.0 = Release|Any CPU {2597B480-185C-4D6D-94EC-8641BB6777F5}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE
EndGlobalSection EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {07ED2423-013E-426C-B6D4-3B69B873877D} SolutionGuid = {F3CF0068-36FA-46E7-9975-3E633E2406C8}
EndGlobalSection EndGlobalSection
EndGlobal EndGlobal

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
</configuration>

@ -9,7 +9,7 @@ using System.Windows;
namespace STranslate namespace STranslate
{ {
/// <summary> /// <summary>
/// Interaction logic for App.xaml /// App.xaml 的交互逻辑
/// </summary> /// </summary>
public partial class App : Application public partial class App : Application
{ {

@ -1,10 +0,0 @@
using System.Windows;
[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
//(used if a resource is not found in the page,
// app, or any theme specific resource dictionaries)
)]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

@ -1 +0,0 @@
<?xml version="1.0" ?><svg enable-background="new 0 0 24 24" id="Layer_1" version="1.1" viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><path d="M22,4h-9.7741699l-1.2526855-3.6616211C10.9038086,0.1357422,10.7138672,0,10.5,0H2 C0.8969727,0,0,0.8969727,0,2v16c0,1.1030273,0.8969727,2,2,2h9.6533203l1.378418,3.6757813 C13.1049805,23.8706055,13.2915039,24,13.5,24H22c1.1030273,0,2-0.8969727,2-2V6C24,4.8969727,23.1030273,4,22,4z" fill="#303C42"/><path d="M1,18V2c0-0.5512695,0.4487305-1,1-1h8.1425781l6.1577148,18H2C1.4487305,19,1,18.5512695,1,18z" fill="#00ACC1"/><path d="M19.4003296,11c-0.2365112,0.7894287-0.9160767,2.0952148-1.8649902,3.2930298 c-0.5110474-0.5839233-0.927124-1.1244507-1.0719604-1.4810181c-0.1040039-0.2563477-0.3964844-0.3789063-0.6513672-0.2753906 c-0.2558594,0.1040039-0.3793945,0.3955078-0.2753906,0.6513672c0.1993408,0.4907837,0.7245483,1.1732788,1.3353271,1.866333 c-0.2094116,0.2197266-0.4260864,0.4249878-0.6525879,0.6191406L14.6205444,11H19.4003296z" fill="#E6E6E6"/><polygon fill="#00ACC1" points="12.7216797,20 15.8980713,20 13.6746216,22.5411377 "/><polygon opacity="0.2" points="12.7216797,20 15.8980713,20 13.6746216,22.5411377 "/><path d="M23,22c0,0.5512695-0.4487305,1-1,1h-7.3980713l2.7745361-3.1708984l-0.0071411-0.0062256 c0.0110474-0.0125732,0.0275879-0.0185547,0.0374146-0.0323486c0.09375-0.1308594,0.1186523-0.2998047,0.0664063-0.4521484 l-0.9087524-2.6563721c0.3388062-0.2658691,0.6650391-0.5657959,0.9793701-0.8942261 c0.9603271,1.0123901,1.9286499,1.9071045,2.1188354,2.0808716C19.7583008,17.956543,19.8793945,18,20,18 c0.1352539,0,0.2700195-0.0546875,0.3686523-0.1621094c0.1865234-0.2041016,0.1728516-0.5200195-0.0307617-0.706543 c-0.4680786-0.4286499-1.3305054-1.2530518-2.1286011-2.0968018C19.3474121,13.6314087,20.1936035,12.0231323,20.4256592,11H21.5 c0.2763672,0,0.5-0.2236328,0.5-0.5S21.7763672,10,21.5,10H18V9.5C18,9.2236328,17.7763672,9,17.5,9S17,9.2236328,17,9.5V10h-2.5 c-0.0738525,0-0.1425781,0.0179443-0.2056274,0.0466309L12.5679321,5H22c0.5512695,0,1,0.4487305,1,1V22z" fill="#E6E6E6"/><linearGradient gradientUnits="userSpaceOnUse" id="SVGID_1_" x1="8.7845306" x2="22.7072906" y1="8.7834015" y2="22.7061615"><stop offset="0" style="stop-color:#000000;stop-opacity:0.1"/><stop offset="1" style="stop-color:#000000;stop-opacity:0"/></linearGradient><path d="M15.8120117,12.5366211c0.2548828-0.1035156,0.5473633,0.019043,0.6513672,0.2753906 c0.1448364,0.3565674,0.5609131,0.8970947,1.0719604,1.4810181C18.4842529,13.0952148,19.1638184,11.7894287,19.4003296,11 h-4.7797852l1.5988159,4.6734619c0.2265015-0.1941528,0.4431763-0.3994141,0.6525879-0.6191406 c-0.6107788-0.6930542-1.1359863-1.3755493-1.3353271-1.866333C15.4326172,12.9321289,15.5561523,12.640625,15.8120117,12.5366211z M17,9.5c0-0.0200806,0.0090942-0.0371094,0.0114136-0.0565796L12.5679321,5l1.7264404,5.0466309 C14.3574219,10.0179443,14.4261475,10,14.5,10H17V9.5z M19.9229736,12.3550415 c-0.4046021,0.8446045-1.0020142,1.802124-1.7136841,2.6795044c0.7980957,0.84375,1.6605225,1.6681519,2.1286011,2.0968018 c0.2036133,0.1865234,0.2172852,0.5024414,0.0307617,0.706543C20.2700195,17.9453125,20.1352539,18,20,18 c-0.1206055,0-0.2416992-0.043457-0.3374023-0.1313477c-0.1901855-0.1737671-1.1585083-1.0684814-2.1188354-2.0808716 c-0.3143311,0.3284302-0.640564,0.6283569-0.9793701,0.8942261l0.9087524,2.6563721 c0.0522461,0.1523438,0.0273438,0.3212891-0.0664063,0.4521484c-0.0098267,0.0137939-0.0263672,0.0197754-0.0374146,0.0323486 l0.0071411,0.0062256L14.6019287,23H22c0.5512695,0,1-0.4487305,1-1v-6.5679932L19.9229736,12.3550415z" fill="url(#SVGID_1_)"/><path d="M11.5,10h-4C7.2236328,10,7,10.2236328,7,10.5S7.2236328,11,7.5,11h3.4643555 C10.7211914,12.6938477,9.2602539,14,7.5,14C5.5703125,14,4,12.4296875,4,10.5S5.5703125,7,7.5,7 c0.8339844,0,1.6420898,0.2983398,2.2744141,0.8398438C9.984375,8.019043,10.2993164,7.996582,10.4794922,7.7851563 c0.1796875-0.2099609,0.1552734-0.5253906-0.0546875-0.7050781C9.6113281,6.3837891,8.5722656,6,7.5,6 C5.0185547,6,3,8.0185547,3,10.5S5.0185547,15,7.5,15s4.5-2.0185547,4.5-4.5C12,10.2236328,11.7763672,10,11.5,10z" fill="#303C42"/><linearGradient gradientUnits="userSpaceOnUse" id="SVGID_2_" x1="-1.8567469" x2="25.8567467" y1="5.5384927" y2="18.4615078"><stop offset="0" style="stop-color:#FFFFFF;stop-opacity:0.2"/><stop offset="1" style="stop-color:#FFFFFF;stop-opacity:0"/></linearGradient><path d="M22,4h-9.7741699l-1.2526855-3.6616211C10.9038086,0.1357422,10.7138672,0,10.5,0H2 C0.8969727,0,0,0.8969727,0,2v16c0,1.1030273,0.8969727,2,2,2h9.6533203l1.378418,3.6757813 C13.1049805,23.8706055,13.2915039,24,13.5,24H22c1.1030273,0,2-0.8969727,2-2V6C24,4.8969727,23.1030273,4,22,4z" fill="url(#SVGID_2_)"/></g><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/></svg>

Before

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

@ -0,0 +1,56 @@
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("STranslate")]
[assembly: AssemblyDescription("A ready to use and ready to go translation tool")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("ZGGSONG")]
[assembly: AssemblyProduct("STranslate")]
[assembly: AssemblyCopyright("Copyright © 2022")]
[assembly: AssemblyTrademark("ZGGSONG")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
//若要开始生成可本地化的应用程序,请设置
//.csproj 文件中的 <UICulture>CultureYouAreCodingWith</UICulture>
//例如,如果您在源文件中使用的是美国英语,
//使用的是美国英语,请将 <UICulture> 设置为 en-US。 然后取消
//对以下 NeutralResourceLanguage 特性的注释。 更新
//以下行中的“en-US”以匹配项目文件中的 UICulture 设置。
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //主题特定资源词典所处位置
//(未在页面中找到资源时使用,
//或应用程序资源字典中找到时使用)
ResourceDictionaryLocation.SourceAssembly //常规资源词典所处位置
//(未在页面中找到资源时使用,
//、应用程序或任何主题专用资源字典中找到时使用)
)]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.0.0.2")]
[assembly: AssemblyFileVersion("0.0.0.2")]
[assembly: Guid("CE252DD8-179F-4544-9989-453F5DEA378D")]

@ -61,72 +61,22 @@ namespace STranslate.Properties {
} }
/// <summary> /// <summary>
/// 查找 System.Byte[] 类型的本地化资源。 /// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary> /// </summary>
internal static byte[] copy { internal static System.Drawing.Bitmap copy {
get { get {
object obj = ResourceManager.GetObject("copy", resourceCulture); object obj = ResourceManager.GetObject("copy", resourceCulture);
return ((byte[])(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary> /// <summary>
/// 查找 System.Byte[] 类型的本地化资源。 /// 查找类似于 (图标) 的 System.Drawing.Icon 类型的本地化资源。
/// </summary> /// </summary>
internal static byte[] translate { internal static System.Drawing.Icon translate2 {
get {
object obj = ResourceManager.GetObject("translate", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// 查找 System.Byte[] 类型的本地化资源。
/// </summary>
internal static byte[] translate_x128 {
get {
object obj = ResourceManager.GetObject("translate_x128", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// 查找 System.Byte[] 类型的本地化资源。
/// </summary>
internal static byte[] translate_x256 {
get {
object obj = ResourceManager.GetObject("translate_x256", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// 查找 System.Byte[] 类型的本地化资源。
/// </summary>
internal static byte[] translate_x64 {
get {
object obj = ResourceManager.GetObject("translate_x64", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// 查找 System.Byte[] 类型的本地化资源。
/// </summary>
internal static byte[] translate1 {
get {
object obj = ResourceManager.GetObject("translate1", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// 查找 System.Byte[] 类型的本地化资源。
/// </summary>
internal static byte[] translate2 {
get { get {
object obj = ResourceManager.GetObject("translate2", resourceCulture); object obj = ResourceManager.GetObject("translate2", resourceCulture);
return ((byte[])(obj)); return ((System.Drawing.Icon)(obj));
} }
} }
} }

@ -119,24 +119,9 @@
</resheader> </resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="copy" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="copy" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\copy.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>..\images\copy.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="translate" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\translate.svg;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="translate1" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\translate.ico;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data> </data>
<data name="translate2" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="translate2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\translate2.ico;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>..\images\translate2.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="translate_x128" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\translate_x128.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="translate_x256" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\translate_x256.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="translate_x64" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\images\translate_x64.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data> </data>
</root> </root>

@ -0,0 +1,29 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace STranslate.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

@ -1,78 +1,160 @@
<Project Sdk="Microsoft.NET.Sdk"> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup> <PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{2597B480-185C-4D6D-94EC-8641BB6777F5}</ProjectGuid>
<OutputType>WinExe</OutputType> <OutputType>WinExe</OutputType>
<TargetFramework>net7.0-windows</TargetFramework> <RootNamespace>STranslate</RootNamespace>
<UseWPF>true</UseWPF> <AssemblyName>STranslate</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Images\translate2.ico</ApplicationIcon> <ApplicationIcon>Images\translate2.ico</ApplicationIcon>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<None Remove=".gitignore" />
<None Remove="Images\copy.png" />
<None Remove="Images\translate.ico" />
<None Remove="Images\translate.svg" />
<None Remove="Images\translate2.ico" />
<None Remove="Images\translate_x128.png" />
<None Remove="Images\translate_x256.png" />
<None Remove="Images\translate_x64.png" />
<None Remove="Model\STranslate.yml" />
</ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="STranslate.yml"> <Reference Include="HandyControl, Version=3.4.0.0, Culture=neutral, PublicKeyToken=45be8712787a1e5b, processorArchitecture=MSIL">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <HintPath>..\packages\HandyControl.3.4.0\lib\net48\HandyControl.dll</HintPath>
</Content> </Reference>
</ItemGroup> <Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.13.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
<ItemGroup> </Reference>
<PackageReference Include="HandyControl" Version="3.4.0" /> <Reference Include="System" />
<PackageReference Include="YamlDotNet" Version="12.2.1" /> <Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Web" />
<Reference Include="System.Xml" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="WindowsBase" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="YamlDotNet, Version=12.0.0.0, Culture=neutral, PublicKeyToken=ec19458f3c15af5e, processorArchitecture=MSIL">
<HintPath>..\packages\YamlDotNet.12.2.1\lib\net47\YamlDotNet.dll</HintPath>
</Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Reference Include="Newtonsoft.Json"> <ApplicationDefinition Include="App.xaml">
<HintPath>..\vendor\Newtonsoft.Json.dll</HintPath> <Generator>MSBuild:Compile</Generator>
</Reference> <SubType>Designer</SubType>
</ApplicationDefinition>
<Compile Include="Utils\ConfigUtil.cs" />
<Compile Include="Utils\HotKeysUtil.cs" />
<Compile Include="Utils\HttpUtil.cs" />
<Compile Include="Utils\KeyboardUtil.cs" />
<Compile Include="Utils\MvvmUtil.cs" />
<Compile Include="Utils\TranslateUtil.cs" />
<Compile Include="ViewModel\MainVM.cs" />
<Page Include="MainWindow.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="MainWindow.xaml.cs">
<DependentUpon>MainWindow.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Include="Model\BaiduModel.cs" />
<Compile Include="Model\ConfigModel.cs" />
<Compile Include="Model\DeeplModel.cs" />
<Compile Include="Model\LanguageEnum.cs" />
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Resource Include="Images\copy.png"> <Resource Include="Images\copy.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Resource> </Resource>
<Resource Include="Images\translate.ico">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Resource>
<Resource Include="Images\translate.svg">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Resource>
<Resource Include="Images\translate2.ico"> <Resource Include="Images\translate2.ico">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Resource> </Resource>
<Resource Include="Images\translate_x128.png"> <Content Include="STranslate.yml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Resource>
<Resource Include="Images\translate_x256.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Resource>
<Resource Include="Images\translate_x64.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Resource> </Content>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Compile Update="Properties\Resources.Designer.cs"> <None Include="App.config" />
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Update="Properties\Resources.resx"> <BootstrapperPackage Include=".NETFramework,Version=v4.8">
<Generator>ResXFileCodeGenerator</Generator> <Visible>False</Visible>
<LastGenOutput>Resources.Designer.cs</LastGenOutput> <ProductName>Microsoft .NET Framework 4.8 %28x86 和 x64%29</ProductName>
</EmbeddedResource> <Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project> </Project>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="HandyControl" version="3.4.0" targetFramework="net48" />
<package id="Newtonsoft.Json" version="13.0.2" targetFramework="net48" />
<package id="YamlDotNet" version="12.2.1" targetFramework="net48" />
</packages>

Binary file not shown.