mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 03:32:20 +08:00
327 lines
13 KiB
XML
327 lines
13 KiB
XML
<?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>
|
|
<LangVersion>9.0</LangVersion>
|
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
|
<NuGetPackageImportStamp>
|
|
</NuGetPackageImportStamp>
|
|
</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>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<StartupObject>BililiveRecorder.WPF.Program</StartupObject>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<GenerateManifests>false</GenerateManifests>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<ApplicationIcon>ico.ico</ApplicationIcon>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<SignAssembly>false</SignAssembly>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Configuration" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Deployment" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.Runtime.Remoting" />
|
|
<Reference Include="System.Runtime.Serialization" />
|
|
<Reference Include="System.ServiceModel" />
|
|
<Reference Include="System.Transactions" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
<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" />
|
|
<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\PerRoomSettingsDialog.xaml.cs">
|
|
<DependentUpon>PerRoomSettingsDialog.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Controls\RoomCard.xaml.cs">
|
|
<DependentUpon>RoomCard.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Controls\SettingWithDefault.xaml.cs">
|
|
<DependentUpon>SettingWithDefault.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Controls\TaskbarIconControl.xaml.cs">
|
|
<DependentUpon>TaskbarIconControl.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Controls\WorkDirectorySelectorDialog.xaml.cs">
|
|
<DependentUpon>WorkDirectorySelectorDialog.xaml</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Converters\ClipEnabledToBooleanConverter.cs" />
|
|
<Compile Include="Converters\EnumToBooleanConverter.cs" />
|
|
<Compile Include="Converters\IsNullToVisibilityConverter.cs" />
|
|
<Compile Include="Converters\ShortRoomIdToVisibilityConverter.cs" />
|
|
<Compile Include="Converters\ValueConverterGroup.cs" />
|
|
<Compile Include="Models\Commands.cs" />
|
|
<Compile Include="Models\LogModel.cs" />
|
|
<Compile Include="Models\RootModel.cs" />
|
|
<Compile Include="Pages\AnnouncementPage.xaml.cs">
|
|
<DependentUpon>AnnouncementPage.xaml</DependentUpon>
|
|
</Compile>
|
|
<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" />
|
|
<Compile Include="CommandLineOption.cs" />
|
|
<Compile Include="Program.cs" />
|
|
<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\PerRoomSettingsDialog.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="Controls\RoomCard.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="Controls\SettingWithDefault.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="Controls\TaskbarIconControl.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="Controls\WorkDirectorySelectorDialog.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<Page Include="Pages\AnnouncementPage.xaml">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<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>
|
|
<Compile Include="App.xaml.cs">
|
|
<DependentUpon>App.xaml</DependentUpon>
|
|
<SubType>Code</SubType>
|
|
</Compile>
|
|
<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">
|
|
<SubType>Designer</SubType>
|
|
<Generator>MSBuild:Compile</Generator>
|
|
</Page>
|
|
<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>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<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>
|
|
<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>
|
|
<None Include="Properties\app.manifest" />
|
|
<Resource Include="ico.ico" />
|
|
<Content Include="NLog.config">
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
</Content>
|
|
<None Include="NLog.Release.config" />
|
|
<None Include="NLog.Debug.config" />
|
|
</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>
|
|
<ProjectReference Include="..\BililiveRecorder.FlvProcessor\BililiveRecorder.FlvProcessor.csproj">
|
|
<Project>{51748048-1949-4218-8ded-94014abe7633}</Project>
|
|
<Name>BililiveRecorder.FlvProcessor</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<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>
|
|
<PackageReference Include="NLog.Config">
|
|
<Version>4.7.6</Version>
|
|
</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>
|
|
<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 />
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
<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>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<SquirrelBuildTarget Condition=" '$(SquirrelBuildTarget)' == '' ">.\SquirrelRelease</SquirrelBuildTarget>
|
|
</PropertyGroup>
|
|
<Target Name="AfterBuild" Condition=" '$(Configuration)' == 'Release'">
|
|
<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" />
|
|
</Target>
|
|
</Project> |