1- <?xml version =" 1.0" encoding =" utf-8" ?>
2- <Project ToolsVersion =" 12.0" DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3- <Import Project =" $(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition =" Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1+ <Project Sdk =" Microsoft.NET.Sdk.WindowsDesktop" >
2+
43 <PropertyGroup >
5- <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
6- <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
4+ <TargetFramework >netcoreapp3.1</TargetFramework >
75 <ProjectGuid >{4FD29318-A8AB-4D8F-AA47-60BC241B8DA3}</ProjectGuid >
86 <OutputType >Library</OutputType >
7+ <UseWpf >true</UseWpf >
98 <AppDesignerFolder >Properties</AppDesignerFolder >
109 <RootNamespace >Wox.Infrastructure</RootNamespace >
1110 <AssemblyName >Wox.Infrastructure</AssemblyName >
12- <TargetFrameworkVersion >v4.7.2</TargetFrameworkVersion >
13- <FileAlignment >512</FileAlignment >
14- <SolutionDir Condition =" $(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'" >..\</SolutionDir >
15- <TargetFrameworkProfile />
1611 </PropertyGroup >
12+
1713 <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
1814 <DebugSymbols >true</DebugSymbols >
1915 <DebugType >full</DebugType >
2521 <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
2622 <Prefer32Bit >false</Prefer32Bit >
2723 </PropertyGroup >
24+
2825 <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
2926 <DebugType >pdbonly</DebugType >
3027 <Optimize >true</Optimize >
3532 <AllowUnsafeBlocks >false</AllowUnsafeBlocks >
3633 <Prefer32Bit >false</Prefer32Bit >
3734 </PropertyGroup >
38- <ItemGroup >
39- <Reference Include =" PresentationCore" />
40- <Reference Include =" PresentationFramework" />
41- <Reference Include =" System" />
42- <Reference Include =" System.Core" />
43- <Reference Include =" System.Drawing" />
44- <Reference Include =" System.Net.Http" />
45- <Reference Include =" System.Xaml" />
46- <Reference Include =" System.Xml" />
47- <Reference Include =" WindowsBase" />
48- </ItemGroup >
49- <ItemGroup >
50- <Compile Include =" ..\SolutionAssemblyInfo.cs" >
51- <Link >Properties\SolutionAssemblyInfo.cs</Link >
52- </Compile >
53- <Compile Include =" Exception\ExceptionFormatter.cs" />
54- <Compile Include =" Helper.cs" />
55- <Compile Include =" Hotkey\InterceptKeys.cs" />
56- <Compile Include =" Hotkey\KeyEvent.cs" />
57- <Compile Include =" Image\ImageCache.cs" />
58- <Compile Include =" Image\ImageHashGenerator.cs" />
59- <Compile Include =" Image\ImageLoader.cs" />
60- <Compile Include =" Image\ThumbnailReader.cs" />
61- <Compile Include =" Logger\Log.cs" />
62- <Compile Include =" Storage\ISavable.cs" />
63- <Compile Include =" Storage\PluginJsonStorage.cs" />
64- <Compile Include =" Stopwatch.cs" />
65- <Compile Include =" Storage\BinaryStorage.cs" />
66- <Compile Include =" Storage\JsonStorage.cs" />
67- <Compile Include =" Storage\WoxJsonStorage.cs" />
68- <Compile Include =" StringMatcher.cs" />
69- <Compile Include =" Http\Http.cs" />
70- <Compile Include =" FuzzyMatcher.cs" />
71- <Compile Include =" Hotkey\GlobalHotkey.cs" />
72- <Compile Include =" Hotkey\HotkeyModel.cs" />
73- <Compile Include =" Properties\AssemblyInfo.cs" />
74- <Compile Include =" Alphabet.cs" />
75- <Compile Include =" UserSettings\HttpProxy.cs" />
76- <Compile Include =" UserSettings\PluginHotkey.cs" />
77- <Compile Include =" UserSettings\PluginSettings.cs" />
78- <Compile Include =" UserSettings\Settings.cs" />
79- <Compile Include =" Wox.cs" />
80- </ItemGroup >
35+
8136 <ItemGroup >
8237 <ProjectReference Include =" ..\Wox.Plugin\Wox.Plugin.csproj" >
8338 <Project >{8451ecdd-2ea4-4966-bb0a-7bbc40138e80}</Project >
8439 <Name >Wox.Plugin</Name >
8540 </ProjectReference >
8641 </ItemGroup >
42+
8743 <ItemGroup >
88- <PackageReference Include =" JetBrains.Annotations" >
89- <Version >10.3.0</Version >
90- </PackageReference >
91- <PackageReference Include =" Newtonsoft.Json" >
92- <Version >9.0.1</Version >
93- </PackageReference >
94- <PackageReference Include =" NLog" >
95- <Version >4.2.0</Version >
96- </PackageReference >
97- <PackageReference Include =" NLog.Schema" GeneratePathProperty =" true" >
98- <Version >4.2.0</Version >
99- </PackageReference >
100- <PackageReference Include =" Pinyin4DotNet" GeneratePathProperty =" true" >
101- <Version >2016.4.23.4</Version >
102- </PackageReference >
103- <PackageReference Include =" System.Runtime" >
104- <Version >4.0.0</Version >
105- </PackageReference >
44+ <PackageReference Include =" JetBrains.Annotations" Version =" 2019.1.3" />
45+ <PackageReference Include =" Newtonsoft.Json" Version =" 12.0.3" />
46+ <PackageReference Include =" NLog.Schema" Version =" 4.7.0-rc1" />
47+ <PackageReference Include =" NLog.Web.AspNetCore" Version =" 4.9.0" />
48+ <PackageReference Include =" Pinyin4DotNet" Version =" 2016.4.23.4" />
49+ <PackageReference Include =" System.Drawing.Common" Version =" 4.7.0" />
50+ <PackageReference Include =" System.Runtime" Version =" 4.3.1" />
10651 </ItemGroup >
107- <Import Project =" $(MSBuildToolsPath)\Microsoft.CSharp.targets" />
108- <PropertyGroup >
109- <PreBuildEvent >
110- xcopy /Y $(PkgPinyin4DotNet)\pinyindb\unicode_to_hanyu_pinyin.txt $(TargetDir)pinyindb\
111- xcopy /Y $(PkgNLog_Schema)\content\NLog.xsd $(TargetDir)
112- </PreBuildEvent >
113- </PropertyGroup >
114- <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
115- Other similar extension points exist, see Microsoft.Common.targets.
116- <Target Name="BeforeBuild">
117- </Target>
118- <Target Name="AfterBuild">
119- </Target>
120- -->
52+
53+ <ItemGroup >
54+ <Folder Include =" Properties\" />
55+ </ItemGroup >
56+
57+ <ItemGroup >
58+ <None Update =" pinyindb\pinyin_gwoyeu_mapping.xml" >
59+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
60+ </None >
61+ <None Update =" pinyindb\pinyin_mapping.xml" >
62+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
63+ </None >
64+ <None Update =" pinyindb\unicode_to_hanyu_pinyin.txt" >
65+ <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
66+ </None >
67+ </ItemGroup >
68+
12169</Project >
0 commit comments