mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-13 19:19:23 +08:00
450 lines
20 KiB
XML
450 lines
20 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{DB90F671-D861-46BB-93A3-F1304F5BA1C5}</ProjectGuid>
|
|
<OutputType>WinExe</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>Wox</RootNamespace>
|
|
<AssemblyName>Wox</AssemblyName>
|
|
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
<WarningLevel>4</WarningLevel>
|
|
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
|
|
<TargetFrameworkProfile />
|
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
|
<PublishUrl>发布\</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>
|
|
<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>..\Output\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<UseVSHostingProcess>true</UseVSHostingProcess>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>..\Output\Release\</OutputPath>
|
|
<DefineConstants>TRACE;RELEASE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<ApplicationIcon>Resources\app.ico</ApplicationIcon>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<StartupObject>Wox.App</StartupObject>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="DeltaCompressionDotNet, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1d14d6e5194e7f4a, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\DeltaCompressionDotNet.1.0.0\lib\net45\DeltaCompressionDotNet.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="DeltaCompressionDotNet.MsDelta, Version=1.0.0.0, Culture=neutral, PublicKeyToken=46b2138a390abf55, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\DeltaCompressionDotNet.1.0.0\lib\net45\DeltaCompressionDotNet.MsDelta.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="DeltaCompressionDotNet.PatchApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=3e8888ee913ed789, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\DeltaCompressionDotNet.1.0.0\lib\net45\DeltaCompressionDotNet.PatchApi.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="Exceptionless, Version=1.5.2121.0, Culture=neutral, PublicKeyToken=fc181f0a46f65747, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\Exceptionless.1.5.2121\lib\net45\Exceptionless.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="Exceptionless.Models, Version=1.5.2121.0, Culture=neutral, PublicKeyToken=fc181f0a46f65747, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\Exceptionless.1.5.2121\lib\net45\Exceptionless.Models.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="ICSharpCode.SharpZipLib, Version=0.86.0.518, Culture=neutral, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\squirrel.windows.1.4.0\lib\Net45\ICSharpCode.SharpZipLib.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="JetBrains.Annotations, Version=10.1.4.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\JetBrains.Annotations.10.1.4\lib\net20\JetBrains.Annotations.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="Mono.Cecil, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\Mono.Cecil.0.9.6.1\lib\net45\Mono.Cecil.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="Mono.Cecil.Mdb, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\Mono.Cecil.0.9.6.1\lib\net45\Mono.Cecil.Mdb.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="Mono.Cecil.Pdb, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\Mono.Cecil.0.9.6.1\lib\net45\Mono.Cecil.Pdb.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="Mono.Cecil.Rocks, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\Mono.Cecil.0.9.6.1\lib\net45\Mono.Cecil.Rocks.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\Newtonsoft.Json.8.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="NHotkey, Version=1.2.1.0, Culture=neutral, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\NHotkey.1.2.1\lib\net20\NHotkey.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="NHotkey.Wpf, Version=1.2.1.0, Culture=neutral, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\NHotkey.Wpf.1.2.1\lib\net35\NHotkey.Wpf.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="NuGet.Squirrel, Version=3.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\squirrel.windows.1.4.0\lib\Net45\NuGet.Squirrel.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="PresentationUI, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
|
|
<Reference Include="ReachFramework" />
|
|
<Reference Include="Splat, Version=1.6.2.0, Culture=neutral, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\Splat.1.6.2\lib\Net45\Splat.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="Squirrel, Version=1.4.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\squirrel.windows.1.4.0\lib\Net45\Squirrel.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Configuration" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Deployment" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.Printing" />
|
|
<Reference Include="System.Runtime.Remoting" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
<Reference Include="System.Xaml" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Xml.Linq" />
|
|
<Reference Include="System.Data.DataSetExtensions" />
|
|
<Reference Include="UIAutomationProvider" />
|
|
<Reference Include="UIAutomationTypes" />
|
|
<Reference Include="WindowsBase" />
|
|
<Reference Include="PresentationCore" />
|
|
<Reference Include="PresentationFramework" />
|
|
<Reference Include="WindowsInput, Version=1.0.4.0, Culture=neutral, PublicKeyToken=9b287f7dc5073cad, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\InputSimulator.1.0.4.0\lib\net20\WindowsInput.dll</HintPath>
|
|
<Private>True</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="..\SolutionAssemblyInfo.cs">
|
|
<Link>Properties\SolutionAssemblyInfo.cs</Link>
|
|
</Compile>
|
|
<Compile Include="Helper\VisibilityExtensions.cs" />
|
|
<Compile Include="Helper\SingletonWindowOpener.cs" />
|
|
<Compile Include="NotifyIconManager.cs" />
|
|
<Compile Include="PublicAPIInstance.cs" />
|
|
<Compile Include="ResultListBox.xaml.cs">
|
|
<DependentUpon>ResultListBox.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Storage\QueryHistory.cs" />
|
|
<Compile Include="Storage\TopMostRecord.cs" />
|
|
<Compile Include="Storage\UserSelectedRecord.cs" />
|
|
<Compile Include="ViewModel\BaseViewModel.cs" />
|
|
<Compile Include="ViewModel\MainViewModel.cs" />
|
|
<Compile Include="ViewModel\ResultViewModel.cs" />
|
|
<Compile Include="ViewModel\ResultsViewModel.cs" />
|
|
<Page Include="App.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Compile Include="ActionKeywords.xaml.cs">
|
|
<DependentUpon>ActionKeywords.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Helper\DataWebRequestFactory.cs" />
|
|
<Compile Include="Helper\ErrorReporting.cs" />
|
|
<Compile Include="Helper\SingleInstance.cs" />
|
|
<Compile Include="Helper\SyntaxSugars.cs" />
|
|
<Compile Include="Helper\WallpaperPathRetrieval.cs" />
|
|
<Compile Include="Helper\WindowIntelopHelper.cs" />
|
|
<Compile Include="CustomQueryHotkeySetting.xaml.cs">
|
|
<DependentUpon>CustomQueryHotkeySetting.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Helper\DWMDropShadow.cs" />
|
|
<Compile Include="HotkeyControl.xaml.cs">
|
|
<DependentUpon>HotkeyControl.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Msg.xaml.cs">
|
|
<DependentUpon>Msg.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="SettingWindow.xaml.cs">
|
|
<DependentUpon>SettingWindow.xaml</DependentUpon>
|
|
</Compile>
|
|
<Page Include="ActionKeywords.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="CustomQueryHotkeySetting.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="HotkeyControl.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<None Include="App.config" />
|
|
<None Include="Languages\zh-cn.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<Resource Include="Images\update.png">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Resource>
|
|
<None Include="Images\up.png">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<None Include="Images\down.png">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<Resource Include="Images\history.png" />
|
|
<Resource Include="Images\app_error.png">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Resource>
|
|
<Content Include="Languages\en.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<None Include="Languages\zh-tw.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<Content Include="Languages\ru.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Languages\fr.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Languages\ja.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Page Include="Languages\de.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Page>
|
|
<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>
|
|
<Page Include="Msg.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="ResultListBox.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Page Include="SettingWindow.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<None Include="packages.config" />
|
|
<None Include="Themes\Light.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<Content Include="Themes\Base.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<None Include="Themes\Pink.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<None Include="Themes\Metro Server.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<Content Include="Themes\Dark.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<None Include="Themes\Gray.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
<Page Include="Themes\BlurBlack.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Page>
|
|
<Page Include="Themes\BlurWhite.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Page>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<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="Properties\Settings.settings">
|
|
<Generator>SettingsSingleFileGenerator</Generator>
|
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
|
</None>
|
|
<AppDesigner Include="Properties\" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Wox.Core\Wox.Core.csproj">
|
|
<Project>{B749F0DB-8E75-47DB-9E5E-265D16D0C0D2}</Project>
|
|
<Name>Wox.Core</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\Wox.CrashReporter\Wox.CrashReporter.csproj">
|
|
<Project>{2FEB2298-7653-4009-B1EA-FFFB1A768BCC}</Project>
|
|
<Name>Wox.CrashReporter</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\Wox.Infrastructure\Wox.Infrastructure.csproj">
|
|
<Project>{4fd29318-a8ab-4d8f-aa47-60bc241b8da3}</Project>
|
|
<Name>Wox.Infrastructure</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\Wox.Plugin\Wox.Plugin.csproj">
|
|
<Project>{8451ECDD-2EA4-4966-BB0A-7BBC40138E80}</Project>
|
|
<Name>Wox.Plugin</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
|
<Visible>False</Visible>
|
|
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
|
<Install>false</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
|
<Visible>False</Visible>
|
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
|
<Install>true</Install>
|
|
</BootstrapperPackage>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Resource Include="Images\app.png">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Resource>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Resource Include="Images\file.png">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Resource>
|
|
<Resource Include="Images\open.png">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Resource>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="Resources\app.ico" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Resource Include="Images\sleep.png">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Resource>
|
|
</ItemGroup>
|
|
<ItemGroup />
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
<PropertyGroup>
|
|
<PostBuildEvent>
|
|
xcopy /Y $(ProjectDir)Themes\* $(TargetDir)Themes\
|
|
xcopy /Y /E $(ProjectDir)Images\* $(TargetDir)Images\
|
|
xcopy /Y /D /E $(SolutionDir)Plugins\HelloWorldPython\* $(TargetDir)Plugins\HelloWorldPython\*
|
|
|
|
|
|
|
|
if $(ConfigurationName) == Release (
|
|
cd "$(TargetDir)Plugins" & del /s /q NLog.dll
|
|
cd "$(TargetDir)Plugins" & del /s /q NLog.config
|
|
cd "$(TargetDir)Plugins" & del /s /q Wox.Plugin.pdb
|
|
cd "$(TargetDir)Plugins" & del /s /q Wox.Plugin.dll
|
|
cd "$(TargetDir)Plugins" & del /s /q Wox.Core.dll
|
|
cd "$(TargetDir)Plugins" & del /s /q Wox.Core.pdb
|
|
cd "$(TargetDir)Plugins" & del /s /q ICSharpCode.SharpZipLib.dll
|
|
cd "$(TargetDir)Plugins" & del /s /q NAppUpdate.Framework.dll
|
|
cd "$(TargetDir)Plugins" & del /s /q Wox.Infrastructure.dll
|
|
cd "$(TargetDir)Plugins" & del /s /q Wox.Infrastructure.pdb
|
|
cd "$(TargetDir)Plugins" & del /s /q Newtonsoft.Json.dll
|
|
cd "$(TargetDir)Plugins" & del /s /q JetBrains.Annotations.dll
|
|
cd "$(TargetDir)Plugins" & del /s /q Pinyin4Net.dll
|
|
|
|
cd "$(TargetDir)" & del /s /q *.xml
|
|
)
|
|
</PostBuildEvent>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<PreBuildEvent>
|
|
</PreBuildEvent>
|
|
</PropertyGroup>
|
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
Other similar extension points exist, see Microsoft.Common.targets.
|
|
!-->
|
|
<Target Name="BeforeBuild">
|
|
</Target>
|
|
<Target Name="AfterBuild" Condition=" '$(Configuration)' == 'Release'">
|
|
<GetAssemblyIdentity AssemblyFiles="$(TargetPath)">
|
|
<Output TaskParameter="Assemblies" ItemName="myAssemblyInfo" />
|
|
</GetAssemblyIdentity>
|
|
<Exec Command="nuget pack $(SolutionDir)Deploy\wox.nuspec -Version %(myAssemblyInfo.Version) -Properties Configuration=Release -OutputDirectory $(TargetDir) -BasePath $(TargetDir)" />
|
|
<Exec Command="squirrel --releasify $(TargetDir)Wox.%(myAssemblyInfo.Version).nupkg --releaseDir $(TargetDir)Installer --no-msi" />
|
|
</Target>
|
|
</Project> |