BililiveRecorder/BililiveRecorder.WPF/BililiveRecorder.WPF.csproj

313 lines
13 KiB
XML
Raw Normal View History

2018-03-12 18:57:20 +08:00
<?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>
<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>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
2020-12-05 18:30:04 +08:00
<LangVersion>9.0</LangVersion>
2018-03-12 18:57:20 +08:00
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
2020-11-27 18:51:02 +08:00
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
2018-03-12 18:57:20 +08:00
</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>
<Compile Include="..\TempBuildInfo\BuildInfo.WPF.cs" />
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>
<Compile Include="Controls\CloseWindowConfirmDialog.xaml.cs">
<DependentUpon>CloseWindowConfirmDialog.xaml</DependentUpon>
</Compile>
<Compile Include="Controls\DeleteRoomConfirmDialog.xaml.cs">
<DependentUpon>DeleteRoomConfirmDialog.xaml</DependentUpon>
</Compile>
<Compile Include="Controls\RoomCard.xaml.cs">
<DependentUpon>RoomCard.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>
<Compile Include="Converters\ClipEnabledToBooleanConverter.cs" />
<Compile Include="Converters\EnumToBooleanConverter.cs" />
2020-11-28 13:02:57 +08:00
<Compile Include="Converters\IsNullToVisibilityConverter.cs" />
2020-11-27 18:51:02 +08:00
<Compile Include="Converters\ShortRoomIdToVisibilityConverter.cs" />
<Compile Include="Converters\ValueConverterGroup.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\RootModel.cs" />
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" />
<Compile Include="Converters\PercentageToColorBrushConverter.cs" />
<Compile Include="Converters\RoomListInterceptConverter.cs" />
2019-01-31 14:17:38 +08:00
<Compile Include="CommandLineOption.cs" />
<Compile Include="Program.cs" />
2020-11-27 18:51:02 +08:00
<Compile Include="SingleInstance.cs" />
<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>
<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>
<Page Include="Controls\RoomCard.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>
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>
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="MockData\MockRecordedRoom.cs" />
<Compile Include="MockData\MockRecorder.cs" />
<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>
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-24 12:55:59 +08:00
<Content Include="NLog.config">
2018-11-07 13:47:24 +08:00
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
2018-03-24 12:55:59 +08:00
</Content>
<None Include="NLog.Release.config" />
2018-11-07 13:47:24 +08:00
<None Include="NLog.Debug.config" />
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>
2018-10-25 19:20:23 +08:00
<ProjectReference Include="..\BililiveRecorder.FlvProcessor\BililiveRecorder.FlvProcessor.csproj">
<Project>{51748048-1949-4218-8ded-94014abe7633}</Project>
<Name>BililiveRecorder.FlvProcessor</Name>
</ProjectReference>
2018-03-12 18:57:20 +08:00
</ItemGroup>
2020-11-27 18:51:02 +08:00
<ItemGroup>
<PackageReference Include="Autofac">
<Version>4.9.4</Version>
</PackageReference>
<PackageReference Include="CommandLineParser">
<Version>2.4.3</Version>
</PackageReference>
<PackageReference Include="Hardcodet.NotifyIcon.Wpf">
<Version>1.0.8</Version>
</PackageReference>
<PackageReference Include="ModernWpfUI">
<Version>0.9.2</Version>
</PackageReference>
<PackageReference Include="Newtonsoft.Json">
<Version>11.0.2</Version>
</PackageReference>
<PackageReference Include="NLog">
<Version>4.7.6</Version>
</PackageReference>
2020-11-27 18:51:02 +08:00
<PackageReference Include="NLog.Config">
<Version>4.7.6</Version>
2020-11-27 18:51:02 +08:00
</PackageReference>
<PackageReference Include="NuGet.CommandLine">
<Version>4.7.1</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Sentry">
<Version>2.1.8</Version>
</PackageReference>
<PackageReference Include="Sentry.NLog">
<Version>2.1.8</Version>
</PackageReference>
2020-11-27 18:51:02 +08:00
<PackageReference Include="squirrel.windows">
<Version>2.0.1</Version>
</PackageReference>
<PackageReference Include="WindowsAPICodePack-Core">
<Version>1.1.2</Version>
</PackageReference>
<PackageReference Include="WindowsAPICodePack-Shell">
<Version>1.1.1</Version>
</PackageReference>
</ItemGroup>
<ItemGroup />
2018-03-12 18:57:20 +08:00
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
2018-03-29 10:36:13 +08:00
<PropertyGroup>
<PreBuildEvent>cd $(SolutionDir)
powershell -ExecutionPolicy Bypass -File .\CI\patch_buildinfo.ps1 WPF
copy /y .\BililiveRecorder.WPF\NLog.$(ConfigurationName).config .\BililiveRecorder.WPF\NLog.config</PreBuildEvent>
2018-03-29 10:36:13 +08:00
</PropertyGroup>
2018-11-07 17:36:19 +08:00
<PropertyGroup>
<SquirrelBuildTarget Condition=" '$(SquirrelBuildTarget)' == '' ">.\SquirrelRelease</SquirrelBuildTarget>
</PropertyGroup>
<Target Name="AfterBuild" Condition=" '$(Configuration)' == 'Release'">
2018-11-09 09:46:24 +08:00
<Exec Command="..\packages\NuGet.CommandLine.4.7.1\tools\NuGet.exe pack BililiveRecorder.nuspec -Version $([System.IO.File]::ReadAllText('../VERSION')) -Properties Configuration=Release -OutputDirectory $(OutDir) -BasePath $(OutDir)" />
<Exec Command="..\packages\squirrel.windows.1.9.0\tools\Squirrel.exe --releasify $(OutDir)BililiveRecorder.$([System.IO.File]::ReadAllText('../VERSION')).nupkg -r $(SquirrelBuildTarget) --framework-version net462 --no-msi" />
2018-11-07 17:36:19 +08:00
</Target>
2018-03-12 18:57:20 +08:00
</Project>