mirror of
https://github.com/chylex/TweetDuck.git
synced 2024-11-10 23:42:50 +01:00
434 lines
21 KiB
XML
434 lines
21 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="packages\CefSharp.WinForms.57.0.0\build\CefSharp.WinForms.props" Condition="Exists('packages\CefSharp.WinForms.57.0.0\build\CefSharp.WinForms.props')" />
|
|
<Import Project="packages\CefSharp.Common.57.0.0\build\CefSharp.Common.props" Condition="Exists('packages\CefSharp.Common.57.0.0\build\CefSharp.Common.props')" />
|
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
|
<ProjectGuid>{2389A7CD-E0D3-4706-8294-092929A33A2D}</ProjectGuid>
|
|
<OutputType>WinExe</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>TweetDuck</RootNamespace>
|
|
<AssemblyName>TweetDuck</AssemblyName>
|
|
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
<NuGetPackageImportStamp>
|
|
</NuGetPackageImportStamp>
|
|
<TargetFrameworkProfile>
|
|
</TargetFrameworkProfile>
|
|
<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|x86'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\x86\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<DebugType>full</DebugType>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<LangVersion>7</LangVersion>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<ApplicationIcon>Resources\icon.ico</ApplicationIcon>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
|
<OutputPath>bin\x86\Release\</OutputPath>
|
|
<Optimize>true</Optimize>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
<DefineConstants>
|
|
</DefineConstants>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.Management" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="Configuration\Arguments.cs" />
|
|
<Compile Include="Configuration\LockManager.cs" />
|
|
<Compile Include="Configuration\SystemConfig.cs" />
|
|
<Compile Include="Configuration\UserConfig.cs" />
|
|
<Compile Include="Core\Bridge\PropertyBridge.cs" />
|
|
<Compile Include="Core\Controls\ControlExtensions.cs" />
|
|
<Compile Include="Core\Controls\FlatButton.cs">
|
|
<SubType>Component</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Controls\FlatProgressBar.cs">
|
|
<SubType>Component</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Controls\LabelVertical.cs">
|
|
<SubType>Component</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Controls\NumericUpDownEx.cs">
|
|
<SubType>Component</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\FormManager.cs" />
|
|
<Compile Include="Core\Handling\ContextMenuGuide.cs" />
|
|
<Compile Include="Core\Handling\DragHandlerBrowser.cs" />
|
|
<Compile Include="Core\Handling\General\BrowserProcessHandler.cs" />
|
|
<Compile Include="Core\Handling\ContextMenuBase.cs" />
|
|
<Compile Include="Core\Handling\ContextMenuBrowser.cs" />
|
|
<Compile Include="Core\FormBrowser.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\FormBrowser.Designer.cs">
|
|
<DependentUpon>FormBrowser.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Core\Handling\General\FileDialogHandler.cs" />
|
|
<Compile Include="Core\Handling\KeyboardHandlerBrowser.cs" />
|
|
<Compile Include="Core\Handling\KeyboardHandlerNotification.cs" />
|
|
<Compile Include="Core\Handling\RequestHandlerBrowser.cs" />
|
|
<Compile Include="Core\Handling\General\RequestHandlerBase.cs" />
|
|
<Compile Include="Core\Handling\ResourceHandlerNotification.cs" />
|
|
<Compile Include="Core\Notification\FormNotificationMain.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Notification\FormNotificationMain.Designer.cs">
|
|
<DependentUpon>FormNotificationMain.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Core\Notification\FormNotificationBase.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Notification\FormNotificationBase.Designer.cs">
|
|
<DependentUpon>FormNotificationBase.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Core\Handling\ContextMenuNotification.cs" />
|
|
<Compile Include="Core\Handling\General\JavaScriptDialogHandler.cs" />
|
|
<Compile Include="Core\Handling\General\LifeSpanHandler.cs" />
|
|
<Compile Include="Core\Notification\FormNotificationTweet.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Notification\FormNotificationTweet.Designer.cs">
|
|
<DependentUpon>FormNotificationTweet.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Core\Notification\SoundNotification.cs" />
|
|
<Compile Include="Core\Notification\TweetNotification.cs" />
|
|
<Compile Include="Core\Other\FormAbout.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Other\FormAbout.Designer.cs">
|
|
<DependentUpon>FormAbout.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Core\Other\FormGuide.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Other\FormGuide.Designer.cs">
|
|
<DependentUpon>FormGuide.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Core\Other\FormMessage.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Other\FormMessage.Designer.cs">
|
|
<DependentUpon>FormMessage.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Core\Other\FormPlugins.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Other\FormPlugins.Designer.cs">
|
|
<DependentUpon>FormPlugins.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Core\Other\Management\VideoPlayer.cs" />
|
|
<Compile Include="Core\Other\Settings\Dialogs\DialogSettingsCSS.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Other\Settings\Dialogs\DialogSettingsCSS.Designer.cs">
|
|
<DependentUpon>DialogSettingsCSS.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Core\Other\Settings\Dialogs\DialogSettingsCefArgs.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Other\Settings\Dialogs\DialogSettingsCefArgs.Designer.cs">
|
|
<DependentUpon>DialogSettingsCefArgs.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Core\Other\Settings\Dialogs\DialogSettingsManage.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Other\Settings\Dialogs\DialogSettingsManage.Designer.cs">
|
|
<DependentUpon>DialogSettingsManage.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Core\Other\Settings\Dialogs\DialogSettingsRestart.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Other\Settings\Dialogs\DialogSettingsRestart.Designer.cs">
|
|
<DependentUpon>DialogSettingsRestart.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Core\Other\Management\BrowserProcesses.cs" />
|
|
<Compile Include="Core\Other\Settings\TabSettingsFeedback.cs">
|
|
<SubType>UserControl</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Other\Settings\TabSettingsFeedback.Designer.cs">
|
|
<DependentUpon>TabSettingsFeedback.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Core\Other\Settings\TabSettingsTray.cs">
|
|
<SubType>UserControl</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Other\Settings\TabSettingsTray.Designer.cs">
|
|
<DependentUpon>TabSettingsTray.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Core\Utils\StringUtils.cs" />
|
|
<Compile Include="Core\Utils\TwitterUtils.cs" />
|
|
<Compile Include="Data\CombinedFileStream.cs" />
|
|
<Compile Include="Core\Other\Settings\Export\ExportFileFlags.cs" />
|
|
<Compile Include="Core\Other\Settings\Export\ExportManager.cs" />
|
|
<Compile Include="Core\Other\Settings\TabSettingsAdvanced.cs">
|
|
<SubType>UserControl</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Other\Settings\TabSettingsAdvanced.Designer.cs">
|
|
<DependentUpon>TabSettingsAdvanced.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Core\Other\Settings\BaseTabSettings.cs">
|
|
<SubType>UserControl</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Other\Settings\TabSettingsGeneral.cs">
|
|
<SubType>UserControl</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Other\Settings\TabSettingsGeneral.Designer.cs">
|
|
<DependentUpon>TabSettingsGeneral.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Core\Other\Settings\TabSettingsSounds.cs">
|
|
<SubType>UserControl</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Other\Settings\TabSettingsSounds.Designer.cs">
|
|
<DependentUpon>TabSettingsSounds.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Core\Other\Settings\TabSettingsNotifications.cs">
|
|
<SubType>UserControl</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Other\Settings\TabSettingsNotifications.Designer.cs">
|
|
<DependentUpon>TabSettingsNotifications.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Core\Bridge\CallbackBridge.cs" />
|
|
<Compile Include="Data\CommandLineArgs.cs" />
|
|
<Compile Include="Core\Notification\Screenshot\FormNotificationScreenshotable.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Notification\Screenshot\TweetScreenshotManager.cs" />
|
|
<Compile Include="Data\Serialization\FileSerializer.cs" />
|
|
<Compile Include="Data\InjectedHTML.cs" />
|
|
<Compile Include="Data\Serialization\ITypeConverter.cs" />
|
|
<Compile Include="Data\Serialization\SingleTypeConverter.cs" />
|
|
<Compile Include="Data\TwoKeyDictionary.cs" />
|
|
<Compile Include="Data\WindowState.cs" />
|
|
<Compile Include="Core\Other\Management\MemoryUsageTracker.cs" />
|
|
<Compile Include="Core\Utils\WindowsUtils.cs" />
|
|
<Compile Include="Core\Bridge\TweetDeckBridge.cs" />
|
|
<Compile Include="Core\Other\FormSettings.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\Other\FormSettings.Designer.cs">
|
|
<DependentUpon>FormSettings.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Plugins\Controls\PluginControl.cs">
|
|
<SubType>UserControl</SubType>
|
|
</Compile>
|
|
<Compile Include="Plugins\Controls\PluginControl.Designer.cs">
|
|
<DependentUpon>PluginControl.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Plugins\Controls\PluginListFlowLayout.cs">
|
|
<SubType>Component</SubType>
|
|
</Compile>
|
|
<Compile Include="Plugins\Enums\PluginFolder.cs" />
|
|
<Compile Include="Plugins\Plugin.cs" />
|
|
<Compile Include="Plugins\Events\PluginChangedStateEventArgs.cs" />
|
|
<Compile Include="Plugins\PluginBridge.cs" />
|
|
<Compile Include="Plugins\PluginConfig.cs" />
|
|
<Compile Include="Plugins\Enums\PluginEnvironment.cs" />
|
|
<Compile Include="Plugins\Enums\PluginGroup.cs" />
|
|
<Compile Include="Plugins\Events\PluginErrorEventArgs.cs" />
|
|
<Compile Include="Plugins\PluginManager.cs" />
|
|
<Compile Include="Plugins\PluginScriptGenerator.cs" />
|
|
<Compile Include="Reporter.cs" />
|
|
<Compile Include="Updates\FormUpdateDownload.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="Updates\FormUpdateDownload.Designer.cs">
|
|
<DependentUpon>FormUpdateDownload.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Core\TrayIcon.cs">
|
|
<SubType>Component</SubType>
|
|
</Compile>
|
|
<Compile Include="Core\TrayIcon.Designer.cs">
|
|
<DependentUpon>TrayIcon.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Core\Utils\BrowserCache.cs" />
|
|
<Compile Include="Core\Utils\BrowserUtils.cs" />
|
|
<Compile Include="Core\Utils\NativeMethods.cs" />
|
|
<Compile Include="Updates\UpdateDownloadStatus.cs" />
|
|
<Compile Include="Updates\UpdateHandler.cs" />
|
|
<Compile Include="Updates\UpdateInfo.cs" />
|
|
<Compile Include="Program.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="Properties\Resources.Designer.cs">
|
|
<AutoGen>True</AutoGen>
|
|
<DesignTime>True</DesignTime>
|
|
<DependentUpon>Resources.resx</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Resources\ScriptLoader.cs" />
|
|
<Compile Include="Updates\UpdateEventArgs.cs" />
|
|
<Compile Include="Updates\UpdaterSettings.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<BootstrapperPackage Include=".NETFramework,Version=v4.0,Profile=Client">
|
|
<Visible>False</Visible>
|
|
<ProductName>Microsoft .NET Framework 4 Client Profile %28x86 and x64%29</ProductName>
|
|
<Install>true</Install>
|
|
</BootstrapperPackage>
|
|
<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>false</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.Windows.Installer.4.5">
|
|
<Visible>False</Visible>
|
|
<ProductName>Windows Installer 4.5</ProductName>
|
|
<Install>true</Install>
|
|
</BootstrapperPackage>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="Core\FormBrowser.resx">
|
|
<DependentUpon>FormBrowser.cs</DependentUpon>
|
|
<SubType>Designer</SubType>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="Core\Other\FormAbout.resx">
|
|
<DependentUpon>FormAbout.cs</DependentUpon>
|
|
<SubType>Designer</SubType>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="Properties\Resources.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
<SubType>Designer</SubType>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ContentWithTargetPath Include="Resources\icon.ico">
|
|
<TargetPath>icon.ico</TargetPath>
|
|
</ContentWithTargetPath>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="packages.config" />
|
|
<None Include="Resources\icon-small.ico" />
|
|
<None Include="Resources\icon-tray-new.ico" />
|
|
<None Include="Resources\icon-tray.ico" />
|
|
<None Include="Resources\PostBuild.ps1" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Folder Include="Resources\Plugins\" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="Resources\Scripts\code.js" />
|
|
<Content Include="Resources\Scripts\introduction.js" />
|
|
<Content Include="Resources\Scripts\notification.js" />
|
|
<Content Include="Resources\Scripts\pages\error.html" />
|
|
<Content Include="Resources\Scripts\pages\example.html" />
|
|
<Content Include="Resources\Scripts\plugins.browser.js" />
|
|
<Content Include="Resources\Scripts\plugins.js" />
|
|
<Content Include="Resources\Scripts\plugins.notification.js" />
|
|
<Content Include="Resources\Scripts\styles\browser.css" />
|
|
<Content Include="Resources\Scripts\styles\notification.css" />
|
|
<Content Include="Resources\Scripts\twitter.js" />
|
|
<Content Include="Resources\Scripts\update.js" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="lib\TweetLib.Audio\TweetLib.Audio.csproj">
|
|
<Project>{E9E1FD1B-F480-45B7-9970-BE2ECFD309AC}</Project>
|
|
<Name>TweetLib.Audio</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="subprocess\TweetDuck.Browser.csproj">
|
|
<Project>{b10b0017-819e-4f71-870f-8256b36a26aa}</Project>
|
|
<Name>TweetDuck.Browser</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="video\TweetDuck.Video.csproj">
|
|
<Project>{278b2d11-402d-44b6-b6a1-8fa67db65565}</Project>
|
|
<Name>TweetDuck.Video</Name>
|
|
</ProjectReference>
|
|
<ProjectReference Include="lib\TweetLib.Communication\TweetLib.Communication.csproj">
|
|
<Project>{72473763-4b9d-4fb6-a923-9364b2680f06}</Project>
|
|
<Name>TweetLib.Communication</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
<PropertyGroup>
|
|
<PostBuildEvent>xcopy "$(ProjectDir)LICENSE.md" "$(TargetDir)" /Y
|
|
del "$(TargetDir)LICENSE.txt"
|
|
ren "$(TargetDir)LICENSE.md" "LICENSE.txt"
|
|
xcopy "$(ProjectDir)bld\Resources\CEFSHARP-LICENSE.txt" "$(TargetDir)" /Y
|
|
xcopy "$(ProjectDir)packages\Microsoft.VC120.CRT.JetBrains.12.0.21005.2\DotFiles\msvcp120.dll" "$(TargetDir)" /Y
|
|
xcopy "$(ProjectDir)packages\Microsoft.VC120.CRT.JetBrains.12.0.21005.2\DotFiles\msvcr120.dll" "$(TargetDir)" /Y
|
|
rmdir "$(TargetDir)scripts" /S /Q
|
|
mkdir "$(TargetDir)scripts"
|
|
xcopy "$(ProjectDir)Resources\Scripts\*" "$(TargetDir)scripts\" /E /Y
|
|
rmdir "$(TargetDir)plugins" /S /Q
|
|
mkdir "$(TargetDir)plugins"
|
|
mkdir "$(TargetDir)plugins\official"
|
|
mkdir "$(TargetDir)plugins\user"
|
|
xcopy "$(ProjectDir)Resources\Plugins\*" "$(TargetDir)plugins\official\" /E /Y
|
|
rmdir "$(ProjectDir)bin\Debug"
|
|
rmdir "$(ProjectDir)bin\Release"
|
|
|
|
rmdir "$(TargetDir)plugins\official\.debug" /S /Q
|
|
del "$(TargetDir)plugins\official\emoji-keyboard\emoji-instructions.txt"
|
|
|
|
if $(ConfigurationName) == Debug (
|
|
rmdir "$(TargetDir)plugins\official\.debug" /S /Q
|
|
mkdir "$(TargetDir)plugins\user\.debug"
|
|
xcopy "$(ProjectDir)Resources\Plugins\.debug\*" "$(TargetDir)plugins\user\.debug\" /E /Y
|
|
)
|
|
|
|
powershell -ExecutionPolicy Unrestricted -File "$(ProjectDir)Resources\PostBuild.ps1" "$(TargetDir)\"</PostBuildEvent>
|
|
</PropertyGroup>
|
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
|
<PropertyGroup>
|
|
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
|
</PropertyGroup>
|
|
<Error Condition="!Exists('packages\cef.redist.x64.3.2987.1601\build\cef.redist.x64.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\cef.redist.x64.3.2987.1601\build\cef.redist.x64.targets'))" />
|
|
<Error Condition="!Exists('packages\cef.redist.x86.3.2987.1601\build\cef.redist.x86.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\cef.redist.x86.3.2987.1601\build\cef.redist.x86.targets'))" />
|
|
<Error Condition="!Exists('packages\CefSharp.Common.57.0.0\build\CefSharp.Common.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\CefSharp.Common.57.0.0\build\CefSharp.Common.props'))" />
|
|
<Error Condition="!Exists('packages\CefSharp.Common.57.0.0\build\CefSharp.Common.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\CefSharp.Common.57.0.0\build\CefSharp.Common.targets'))" />
|
|
<Error Condition="!Exists('packages\CefSharp.WinForms.57.0.0\build\CefSharp.WinForms.props')" Text="$([System.String]::Format('$(ErrorText)', 'packages\CefSharp.WinForms.57.0.0\build\CefSharp.WinForms.props'))" />
|
|
<Error Condition="!Exists('packages\CefSharp.WinForms.57.0.0\build\CefSharp.WinForms.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\CefSharp.WinForms.57.0.0\build\CefSharp.WinForms.targets'))" />
|
|
</Target>
|
|
<Import Project="packages\cef.redist.x64.3.2987.1601\build\cef.redist.x64.targets" Condition="Exists('packages\cef.redist.x64.3.2987.1601\build\cef.redist.x64.targets')" />
|
|
<Import Project="packages\cef.redist.x86.3.2987.1601\build\cef.redist.x86.targets" Condition="Exists('packages\cef.redist.x86.3.2987.1601\build\cef.redist.x86.targets')" />
|
|
<Import Project="packages\CefSharp.Common.57.0.0\build\CefSharp.Common.targets" Condition="Exists('packages\CefSharp.Common.57.0.0\build\CefSharp.Common.targets')" />
|
|
<Import Project="packages\CefSharp.WinForms.57.0.0\build\CefSharp.WinForms.targets" Condition="Exists('packages\CefSharp.WinForms.57.0.0\build\CefSharp.WinForms.targets')" />
|
|
<Target Name="AfterBuild" Condition="$(ConfigurationName) == Release">
|
|
<Exec Command="del "$(TargetDir)*.pdb"" />
|
|
<Exec Command="del "$(TargetDir)*.xml"" />
|
|
<Delete Files="$(TargetDir)CefSharp.BrowserSubprocess.exe" />
|
|
<Delete Files="$(TargetDir)devtools_resources.pak" />
|
|
<Delete Files="$(TargetDir)widevinecdmadapter.dll" />
|
|
</Target>
|
|
<PropertyGroup>
|
|
<PreBuildEvent>powershell Get-Process TweetDuck.Browser -ErrorAction SilentlyContinue ^| Where-Object {$_.Path -eq '$(TargetDir)TweetDuck.Browser.exe'} ^| Stop-Process; Exit 0</PreBuildEvent>
|
|
</PropertyGroup>
|
|
</Project> |