BililiveRecorder/BililiveRecorder.WPF/BililiveRecorder.WPF.csproj

382 lines
16 KiB
XML
Raw Normal View History

2018-03-12 18:57:20 +08:00
<?xml version="1.0" encoding="utf-8"?>
2021-02-27 18:14:44 +08:00
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2018-03-12 18:57:20 +08:00
<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>{0C7D4236-BF43-4944-81FE-E07E05A3F31D}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>BililiveRecorder.WPF</RootNamespace>
<AssemblyName>BililiveRecorder.WPF</AssemblyName>
2021-02-23 18:03:37 +08:00
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
2018-03-12 18:57:20 +08:00
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</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>
2020-11-27 18:51:02 +08:00
<Prefer32Bit>false</Prefer32Bit>
2018-03-12 18:57:20 +08:00
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
2020-12-03 11:44:10 +08:00
<DebugType>full</DebugType>
2018-03-12 18:57:20 +08:00
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
2020-12-03 11:44:10 +08:00
<DebugSymbols>true</DebugSymbols>
<Prefer32Bit>false</Prefer32Bit>
2018-03-12 18:57:20 +08:00
</PropertyGroup>
2018-03-21 20:56:56 +08:00
<PropertyGroup>
<StartupObject>BililiveRecorder.WPF.Program</StartupObject>
2018-03-21 20:56:56 +08:00
</PropertyGroup>
<PropertyGroup>
2018-11-02 01:47:32 +08:00
<GenerateManifests>false</GenerateManifests>
</PropertyGroup>
2018-03-29 19:21:37 +08:00
<PropertyGroup>
<ApplicationIcon>ico.ico</ApplicationIcon>
</PropertyGroup>
2018-04-14 09:10:03 +08:00
<PropertyGroup>
<SignAssembly>false</SignAssembly>
</PropertyGroup>
2018-11-02 01:47:32 +08:00
<PropertyGroup>
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
</PropertyGroup>
2018-03-12 18:57:20 +08:00
<ItemGroup>
<Reference Include="System" />
2018-03-21 20:56:56 +08:00
<Reference Include="System.Configuration" />
2018-03-12 18:57:20 +08:00
<Reference Include="System.Data" />
2018-03-21 20:56:56 +08:00
<Reference Include="System.Deployment" />
2018-12-11 00:57:40 +08:00
<Reference Include="System.Drawing" />
2020-11-27 18:51:02 +08:00
<Reference Include="System.Runtime.Remoting" />
2018-03-21 20:56:56 +08:00
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.ServiceModel" />
<Reference Include="System.Transactions" />
<Reference Include="System.Windows.Forms" />
2018-03-12 18:57:20 +08:00
<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" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
2020-11-27 18:51:02 +08:00
<Compile Include="Controls\AddRoomCard.xaml.cs">
<DependentUpon>AddRoomCard.xaml</DependentUpon>
</Compile>
<Compile Include="Controls\AddRoomFailedDialog.xaml.cs">
<DependentUpon>AddRoomFailedDialog.xaml</DependentUpon>
</Compile>
2021-02-27 18:14:44 +08:00
<Compile Include="Controls\AutoFixProgressDialog.xaml.cs">
<DependentUpon>AutoFixProgressDialog.xaml</DependentUpon>
</Compile>
2020-11-27 18:51:02 +08:00
<Compile Include="Controls\CloseWindowConfirmDialog.xaml.cs">
<DependentUpon>CloseWindowConfirmDialog.xaml</DependentUpon>
</Compile>
<Compile Include="Controls\DeleteRoomConfirmDialog.xaml.cs">
<DependentUpon>DeleteRoomConfirmDialog.xaml</DependentUpon>
</Compile>
2021-02-23 18:03:37 +08:00
<Compile Include="Controls\LogPanel.xaml.cs">
<DependentUpon>LogPanel.xaml</DependentUpon>
</Compile>
2021-01-01 14:46:27 +08:00
<Compile Include="Controls\PerRoomSettingsDialog.xaml.cs">
<DependentUpon>PerRoomSettingsDialog.xaml</DependentUpon>
</Compile>
2020-11-27 18:51:02 +08:00
<Compile Include="Controls\RoomCard.xaml.cs">
<DependentUpon>RoomCard.xaml</DependentUpon>
</Compile>
2021-01-01 14:46:27 +08:00
<Compile Include="Controls\SettingWithDefault.xaml.cs">
<DependentUpon>SettingWithDefault.xaml</DependentUpon>
</Compile>
2020-11-28 13:02:57 +08:00
<Compile Include="Controls\TaskbarIconControl.xaml.cs">
<DependentUpon>TaskbarIconControl.xaml</DependentUpon>
</Compile>
2020-11-27 18:51:02 +08:00
<Compile Include="Controls\WorkDirectorySelectorDialog.xaml.cs">
<DependentUpon>WorkDirectorySelectorDialog.xaml</DependentUpon>
</Compile>
2021-02-23 18:03:37 +08:00
<Compile Include="Converters\ByteUnitsConverter.cs" />
2020-11-27 18:51:02 +08:00
<Compile Include="Converters\ClipEnabledToBooleanConverter.cs" />
<Compile Include="Converters\EnumToBooleanConverter.cs" />
2020-11-28 13:02:57 +08:00
<Compile Include="Converters\IsNullToVisibilityConverter.cs" />
2021-02-23 18:03:37 +08:00
<Compile Include="Converters\RatioToArrowIconConverter.cs" />
2020-11-27 18:51:02 +08:00
<Compile Include="Converters\ShortRoomIdToVisibilityConverter.cs" />
<Compile Include="Converters\ValueConverterGroup.cs" />
2021-05-01 00:22:27 +08:00
<Compile Include="Models\AboutModel.cs" />
2020-12-11 19:22:04 +08:00
<Compile Include="Models\Commands.cs" />
2020-11-27 18:51:02 +08:00
<Compile Include="Models\LogModel.cs" />
<Compile Include="Models\PollyPolicyModel.cs" />
2020-11-27 18:51:02 +08:00
<Compile Include="Models\RootModel.cs" />
2021-05-01 00:22:27 +08:00
<Compile Include="Pages\AboutPage.xaml.cs">
<DependentUpon>AboutPage.xaml</DependentUpon>
</Compile>
2020-12-11 19:22:04 +08:00
<Compile Include="Pages\AnnouncementPage.xaml.cs">
<DependentUpon>AnnouncementPage.xaml</DependentUpon>
</Compile>
2020-11-27 18:51:02 +08:00
<Compile Include="Pages\RootPage.xaml.cs">
<DependentUpon>RootPage.xaml</DependentUpon>
</Compile>
<Compile Include="Converters\BooleanAndConverter.cs" />
<Compile Include="Converters\BooleanInverterConverter.cs" />
<Compile Include="Converters\BoolToValueConverter.cs" />
<Compile Include="Converters\MultiBoolToValueConverter.cs" />
<Compile Include="Converters\NullValueTemplateSelector.cs" />
2021-02-23 18:03:37 +08:00
<Compile Include="Converters\RatioToColorBrushConverter.cs" />
<Compile Include="Pages\ToolboxAutoFixPage.xaml.cs">
<DependentUpon>ToolboxAutoFixPage.xaml</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
2020-11-27 18:51:02 +08:00
<Compile Include="SingleInstance.cs" />
2021-01-03 13:21:36 +08:00
<Compile Include="Properties\Strings.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Strings.resx</DependentUpon>
</Compile>
2021-02-23 18:03:37 +08:00
<Compile Include="Update.cs" />
<Compile Include="WpfLogEventSink.cs" />
2020-11-27 18:51:02 +08:00
<Page Include="Controls\AddRoomCard.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Controls\AddRoomFailedDialog.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
2021-02-27 18:14:44 +08:00
<Page Include="Controls\AutoFixProgressDialog.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
2020-11-27 18:51:02 +08:00
<Page Include="Controls\CloseWindowConfirmDialog.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Controls\DeleteRoomConfirmDialog.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
2021-02-23 18:03:37 +08:00
<Page Include="Controls\LogPanel.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
2021-01-01 14:46:27 +08:00
<Page Include="Controls\PerRoomSettingsDialog.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
2020-11-27 18:51:02 +08:00
<Page Include="Controls\RoomCard.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
2021-01-01 14:46:27 +08:00
<Page Include="Controls\SettingWithDefault.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
2020-11-28 13:02:57 +08:00
<Page Include="Controls\TaskbarIconControl.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
2020-11-27 18:51:02 +08:00
<Page Include="Controls\WorkDirectorySelectorDialog.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
2021-05-01 00:22:27 +08:00
<Page Include="Pages\AboutPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
2020-12-11 19:22:04 +08:00
<Page Include="Pages\AnnouncementPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
2020-11-27 18:51:02 +08:00
<Page Include="Pages\RootPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="DesignTimeResources.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
2018-03-12 18:57:20 +08:00
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
2020-11-27 18:51:02 +08:00
<Page Include="NewMainWindow.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Pages\LogPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Pages\RoomListPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Pages\AdvancedSettingsPage.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Pages\SettingsPage.xaml">
2018-11-01 23:40:50 +08:00
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
2021-02-23 18:03:37 +08:00
<Page Include="Pages\ToolboxAutoFixPage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
2020-12-10 17:02:56 +08:00
<Page Include="Resources\ConverterResources.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Resources\IconResources.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
2018-03-12 18:57:20 +08:00
</ItemGroup>
<ItemGroup>
2020-11-27 18:51:02 +08:00
<Compile Include="NewMainWindow.xaml.cs">
<DependentUpon>NewMainWindow.xaml</DependentUpon>
</Compile>
<Compile Include="Pages\LogPage.xaml.cs">
<DependentUpon>LogPage.xaml</DependentUpon>
</Compile>
<Compile Include="Pages\RoomListPage.xaml.cs">
<DependentUpon>RoomListPage.xaml</DependentUpon>
</Compile>
<Compile Include="Pages\AdvancedSettingsPage.xaml.cs">
<DependentUpon>AdvancedSettingsPage.xaml</DependentUpon>
</Compile>
<Compile Include="Pages\SettingsPage.xaml.cs">
<DependentUpon>SettingsPage.xaml</DependentUpon>
</Compile>
2018-03-12 18:57:20 +08:00
<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>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
2021-01-03 13:21:36 +08:00
<EmbeddedResource Include="Properties\Strings.en.resx" />
<EmbeddedResource Include="Properties\Strings.ja.resx" />
<EmbeddedResource Include="Properties\Strings.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Strings.Designer.cs</LastGenOutput>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Strings.zh-Hant.resx" />
2018-11-02 01:47:32 +08:00
<None Include="Properties\app.manifest" />
2018-03-29 19:21:37 +08:00
<Resource Include="ico.ico" />
2018-03-12 18:57:20 +08:00
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\BililiveRecorder.Core\BililiveRecorder.Core.csproj">
<Project>{cb9f2d58-181d-49f7-9560-d35a9b9c1d8c}</Project>
<Name>BililiveRecorder.Core</Name>
</ProjectReference>
2021-02-23 18:03:37 +08:00
<ProjectReference Include="..\BililiveRecorder.Flv\BililiveRecorder.Flv.csproj">
<Project>{7610e19c-d3ab-4cbc-983e-6fda36f4d4b3}</Project>
<Name>BililiveRecorder.Flv</Name>
2018-10-25 19:20:23 +08:00
</ProjectReference>
2021-04-14 23:46:24 +08:00
<ProjectReference Include="..\BililiveRecorder.ToolBox\BililiveRecorder.ToolBox.csproj">
<Project>{4faae8e7-ac4e-4e99-a7d1-53d20ad8a200}</Project>
<Name>BililiveRecorder.ToolBox</Name>
</ProjectReference>
2018-03-12 18:57:20 +08:00
</ItemGroup>
2020-11-27 18:51:02 +08:00
<ItemGroup>
2021-02-26 21:57:10 +08:00
<PackageReference Include="GitVersion.MsBuild" Version="5.6.6">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
2020-11-27 18:51:02 +08:00
<PackageReference Include="Hardcodet.NotifyIcon.Wpf">
2021-05-01 00:41:31 +08:00
<Version>1.1.0</Version>
2020-11-27 18:51:02 +08:00
</PackageReference>
2021-02-08 16:51:19 +08:00
<PackageReference Include="Microsoft.Extensions.DependencyInjection">
<Version>5.0.1</Version>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions">
<Version>5.0.0</Version>
</PackageReference>
2020-11-27 18:51:02 +08:00
<PackageReference Include="ModernWpfUI">
2021-05-01 00:41:31 +08:00
<Version>0.9.4</Version>
2020-11-27 18:51:02 +08:00
</PackageReference>
<PackageReference Include="Newtonsoft.Json">
2021-05-01 00:41:31 +08:00
<Version>13.0.1</Version>
2020-11-27 18:51:02 +08:00
</PackageReference>
<PackageReference Include="Sentry">
2021-05-01 00:41:31 +08:00
<Version>3.3.4</Version>
2021-02-23 18:03:37 +08:00
</PackageReference>
<PackageReference Include="Sentry.Serilog">
2021-05-01 00:41:31 +08:00
<Version>3.3.4</Version>
2021-02-23 18:03:37 +08:00
</PackageReference>
<PackageReference Include="Serilog.Enrichers.Process">
<Version>2.0.1</Version>
</PackageReference>
<PackageReference Include="Serilog.Enrichers.Thread">
<Version>3.1.0</Version>
</PackageReference>
2021-02-23 18:03:37 +08:00
<PackageReference Include="Serilog.Exceptions">
2021-05-01 00:41:31 +08:00
<Version>6.1.0</Version>
2021-02-23 18:03:37 +08:00
</PackageReference>
<PackageReference Include="Serilog.Formatting.Compact">
<Version>1.1.0</Version>
</PackageReference>
<PackageReference Include="Serilog.Sinks.Console">
<Version>3.1.1</Version>
</PackageReference>
<PackageReference Include="Serilog.Sinks.Debug">
<Version>2.0.0</Version>
</PackageReference>
<PackageReference Include="Serilog.Sinks.File">
<Version>4.1.0</Version>
</PackageReference>
2020-11-27 18:51:02 +08:00
<PackageReference Include="squirrel.windows">
<Version>2.0.1</Version>
</PackageReference>
2021-02-23 18:03:37 +08:00
<PackageReference Include="System.CommandLine">
2021-05-01 00:41:31 +08:00
<Version>2.0.0-beta1.21216.1</Version>
2021-02-23 18:03:37 +08:00
</PackageReference>
2020-11-27 18:51:02 +08:00
<PackageReference Include="WindowsAPICodePack-Core">
<Version>1.1.2</Version>
</PackageReference>
<PackageReference Include="WindowsAPICodePack-Shell">
<Version>1.1.1</Version>
</PackageReference>
2021-01-03 13:21:36 +08:00
<PackageReference Include="WpfLocalizeExtension">
<Version>3.8.0</Version>
</PackageReference>
2020-11-27 18:51:02 +08:00
</ItemGroup>
2018-03-12 18:57:20 +08:00
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
2018-11-07 17:36:19 +08:00
<Target Name="AfterBuild" Condition=" '$(Configuration)' == 'Release'">
2021-02-26 21:57:10 +08:00
<GetAssemblyIdentity AssemblyFiles="$(TargetPath)">
<Output TaskParameter="Assemblies" ItemName="myAssemblyInfo" />
</GetAssemblyIdentity>
<PropertyGroup>
<NupkgReleaseDir>bin\NupkgReleases\</NupkgReleaseDir>
<SquirrelReleaseDir>bin\SquirrelReleases\</SquirrelReleaseDir>
</PropertyGroup>
<Exec Command="nuget pack BililiveRecorder.nuspec -Version %(myAssemblyInfo.Version) -Properties Configuration=Release -OutputDirectory $(NupkgReleaseDir) -BasePath $(OutDir)" />
<Exec Command="$(SquirrelToolsPath)\squirrel --releasify $(NupkgReleaseDir)\BililiveRecorder.$([System.Version]::Parse(%(myAssemblyInfo.Version)).ToString(3)).nupkg --releaseDir=$(SquirrelReleaseDir) --framework-version net472 --no-msi" />
2018-11-07 17:36:19 +08:00
</Target>
2018-03-12 18:57:20 +08:00
</Project>