summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.Interop/HandBrake.Interop.csproj
diff options
context:
space:
mode:
authorDavid Rickard <[email protected]>2019-05-08 13:31:41 -0700
committerScott <[email protected]>2019-05-08 21:31:41 +0100
commit7bd675b67fbadc193750377f7f2fc4b60a1ca193 (patch)
tree896a112621aae9572e18bfd3f8e8b42d691ced87 /win/CS/HandBrake.Interop/HandBrake.Interop.csproj
parentbafd0c3dfd1e6a23da7389b1d9c783d3b489861c (diff)
Updated HandBrake.Interop to .NET Standard 2.0 and the new SDK project style. (#2068)
Updated solution to VS 2019
Diffstat (limited to 'win/CS/HandBrake.Interop/HandBrake.Interop.csproj')
-rw-r--r--win/CS/HandBrake.Interop/HandBrake.Interop.csproj207
1 files changed, 8 insertions, 199 deletions
diff --git a/win/CS/HandBrake.Interop/HandBrake.Interop.csproj b/win/CS/HandBrake.Interop/HandBrake.Interop.csproj
index a4aff67fe..e6bb24056 100644
--- a/win/CS/HandBrake.Interop/HandBrake.Interop.csproj
+++ b/win/CS/HandBrake.Interop/HandBrake.Interop.csproj
@@ -1,203 +1,12 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+<Project Sdk="Microsoft.NET.Sdk">
+
<PropertyGroup>
- <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
- <Platform Condition=" '$(Platform)' == '' ">x64</Platform>
- <ProjectGuid>{087A2BA8-BAC2-4577-A46F-07FF9D420016}</ProjectGuid>
- <OutputType>Library</OutputType>
- <AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>HandBrake.Interop</RootNamespace>
- <AssemblyName>HandBrake.Interop</AssemblyName>
- <TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
- <FileAlignment>512</FileAlignment>
- <FileUpgradeFlags>
- </FileUpgradeFlags>
- <UpgradeBackupLocation />
- <TargetFrameworkProfile>
- </TargetFrameworkProfile>
+ <TargetFramework>netstandard2.0</TargetFramework>
+ <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
</PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
- <PlatformTarget>x64</PlatformTarget>
- <OutputPath>bin\Debug\</OutputPath>
- <DefineConstants>TRACE;DEBUG</DefineConstants>
- <UseVSHostingProcess>true</UseVSHostingProcess>
- <Prefer32Bit>false</Prefer32Bit>
- <CodeAnalysisRuleSet>..\HandBrake.ruleset</CodeAnalysisRuleSet>
- <NoWarn>0649</NoWarn>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
- <PlatformTarget>x64</PlatformTarget>
- <OutputPath>bin\Release\</OutputPath>
- <DefineConstants>DEBUG;TRACE</DefineConstants>
- <Optimize>true</Optimize>
- <DebugType>pdbonly</DebugType>
- <DebugSymbols>true</DebugSymbols>
- <Prefer32Bit>false</Prefer32Bit>
- </PropertyGroup>
- <ItemGroup>
- <Reference Include="GongSolutions.WPF.DragDrop, Version=2.0.0.0, Culture=neutral, PublicKeyToken=91f1945125b7a587, processorArchitecture=MSIL">
- <HintPath>..\packages\gong-wpf-dragdrop.2.0.1\lib\net47\GongSolutions.WPF.DragDrop.dll</HintPath>
- </Reference>
- <Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
- <HintPath>..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
- </Reference>
- <Reference Include="System" />
- <Reference Include="System.Core">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Xml.Linq">
- <RequiredTargetFramework>3.5</RequiredTargetFramework>
- </Reference>
- <Reference Include="System.Data" />
- <Reference Include="System.Xml" />
- </ItemGroup>
- <ItemGroup>
- <Compile Include="Attributes\DisplayName.cs" />
- <Compile Include="Attributes\DisplayNameLocalized.cs" />
- <Compile Include="Attributes\ShortName.cs" />
- <Compile Include="Interop\EventArgs\EncodeCompletedEventArgs.cs" />
- <Compile Include="Interop\EventArgs\EncodeProgressEventArgs.cs" />
- <Compile Include="Interop\EventArgs\MessageLoggedEventArgs.cs" />
- <Compile Include="Interop\EventArgs\ScanProgressEventArgs.cs" />
- <Compile Include="Interop\HandBrakeEncoderHelpers.cs" />
- <Compile Include="Interop\HandBrakeFilterHelpers.cs" />
- <Compile Include="Interop\HandBrakeInstance.cs" />
- <Compile Include="Interop\HandBrakeLanguagesHelper.cs" />
- <Compile Include="Interop\HandBrakePresetService.cs" />
- <Compile Include="Interop\HandBrakeUnitConversionHelpers.cs" />
- <Compile Include="Interop\HandBrakeUtils.cs" />
- <Compile Include="Interop\HbLib\HBDelegates.cs" />
- <Compile Include="Interop\HbLib\HbFunctions.cs" />
- <Compile Include="Interop\HbLib\hb_anamorphic_mode_t.cs" />
- <Compile Include="Interop\HbLib\hb_container_s.cs" />
- <Compile Include="Interop\HbLib\hb_encoder_s.cs" />
- <Compile Include="Interop\HbLib\hb_error_code.cs" />
- <Compile Include="Interop\HbLib\hb_filter_ids.cs" />
- <Compile Include="Interop\HbLib\hb_geometry.cs" />
- <Compile Include="Interop\HbLib\hb_image_s.cs" />
- <Compile Include="Interop\HbLib\hb_mixdown_s.cs" />
- <Compile Include="Interop\HbLib\hb_rate_s.cs" />
- <Compile Include="Interop\HbLib\hb_subtitle.cs" />
- <Compile Include="Interop\HbLib\iso639_lang_t.cs" />
- <Compile Include="Interop\HbLib\NativeConstants.cs" />
- <Compile Include="Interop\Helpers\InteropUtilities.cs" />
- <Compile Include="Interop\Helpers\NativeList.cs" />
- <Compile Include="Interop\Helpers\Utilities.cs" />
- <Compile Include="Interop\Interfaces\IEncodeInstance.cs" />
- <Compile Include="Interop\Interfaces\IHandBrakeInstance.cs" />
- <Compile Include="Interop\Json\Anamorphic\AnamorphicGeometry.cs" />
- <Compile Include="Interop\Json\Anamorphic\DestSettings.cs" />
- <Compile Include="Interop\Json\Encode\QSV.cs" />
- <Compile Include="Interop\Json\Filters\PresetTune.cs" />
- <Compile Include="Interop\Json\Presets\AudioList.cs" />
- <Compile Include="Interop\Json\Presets\HBPreset.cs" />
- <Compile Include="Interop\Json\Presets\PresetCategory.cs" />
- <Compile Include="Interop\Json\Presets\PresetTransportContainer.cs" />
- <Compile Include="Interop\Json\Queue\Task.cs" />
- <Compile Include="Interop\Json\Scan\AudioAttributes.cs" />
- <Compile Include="Interop\Json\Scan\SubtitleAttributes.cs" />
- <Compile Include="Interop\Json\Shared\PAR.cs" />
- <Compile Include="Interop\Json\Encode\Audio.cs" />
- <Compile Include="Interop\Json\Encode\AudioTrack.cs" />
- <Compile Include="Interop\Json\Encode\Chapter.cs" />
- <Compile Include="Interop\Json\Encode\Destination.cs" />
- <Compile Include="Interop\Json\Encode\Filters.cs" />
- <Compile Include="Interop\Json\Encode\Filter.cs" />
- <Compile Include="Interop\Json\Encode\JsonEncodeObject.cs" />
- <Compile Include="Interop\Json\Encode\Metadata.cs" />
- <Compile Include="Interop\Json\Encode\Mp4Options.cs" />
- <Compile Include="Interop\Json\Encode\Range.cs" />
- <Compile Include="Interop\Json\Encode\SubtitleSearch.cs" />
- <Compile Include="Interop\Json\Encode\Source.cs" />
- <Compile Include="Interop\Json\Encode\SubImport.cs" />
- <Compile Include="Interop\Json\Encode\Subtitles.cs" />
- <Compile Include="Interop\Json\Encode\SubtitleTrack.cs" />
- <Compile Include="Interop\Json\Encode\Video.cs" />
- <Compile Include="Interop\Factories\AnamorphicFactory.cs" />
- <Compile Include="Interop\Json\State\TaskState.cs" />
- <Compile Include="Interop\Model\Encoding\CombDetect.cs" />
- <Compile Include="Interop\Model\Encoding\DeinterlaceFilter.cs" />
- <Compile Include="Interop\Model\Encoding\Denoise.cs" />
- <Compile Include="Interop\Model\Encoding\Detelecine.cs" />
- <Compile Include="Interop\Model\Encoding\HBPresetTune.cs" />
- <Compile Include="Interop\Model\Encoding\Sharpen.cs" />
- <Compile Include="Interop\Model\Preview\RawPreviewData.cs" />
- <Compile Include="Properties\AssemblyInfo.cs" />
- <Compile Include="Interop\Json\Scan\SourceAudioTrack.cs" />
- <Compile Include="Interop\Json\Scan\SourceChapter.cs" />
- <Compile Include="Interop\Json\Scan\Color.cs" />
- <Compile Include="Interop\Json\Scan\Duration.cs" />
- <Compile Include="Interop\Json\Scan\FrameRate.cs" />
- <Compile Include="Interop\Json\Shared\Geometry.cs" />
- <Compile Include="Interop\Json\Scan\JsonScanObject.cs" />
- <Compile Include="Interop\Json\Scan\SourceMetadata.cs" />
- <Compile Include="Interop\Json\Scan\SourceSubtitleTrack.cs" />
- <Compile Include="Interop\Json\Scan\SourceTitle.cs" />
- <Compile Include="Interop\Json\State\JsonState.cs" />
- <Compile Include="Interop\Json\State\Scanning.cs" />
- <Compile Include="Interop\Json\State\WorkDone.cs" />
- <Compile Include="Interop\Json\State\Working.cs" />
- <Compile Include="Interop\Model\BitrateLimits.cs" />
- <Compile Include="Interop\Model\Cropping.cs" />
- <Compile Include="Interop\Model\Encoding\Anamorphic.cs" />
- <Compile Include="Interop\Model\Encoding\Container.cs" />
- <Compile Include="Interop\Model\Encoding\HBAudioEncoder.cs" />
- <Compile Include="Interop\Model\Encoding\HBContainer.cs" />
- <Compile Include="Interop\Model\Encoding\HBMixdown.cs" />
- <Compile Include="Interop\Model\Encoding\HBRate.cs" />
- <Compile Include="Interop\Model\Encoding\HBVideoEncoder.cs" />
- <Compile Include="Interop\Model\Encoding\PictureRotation.cs" />
- <Compile Include="Interop\Model\Encoding\ScaleMethod.cs" />
- <Compile Include="Interop\Model\Encoding\VideoEncoder.cs" />
- <Compile Include="Interop\Model\Encoding\VideoEncodeRateType.cs" />
- <Compile Include="Interop\Model\Language.cs" />
- <Compile Include="Interop\Model\Preview\PreviewSettings.cs" />
- <Compile Include="Interop\Model\RangeLimits.cs" />
- <Compile Include="Interop\Model\Size.cs" />
- <Compile Include="Interop\Model\SourceVideoInfo.cs" />
- <Compile Include="Interop\Model\VideoQualityLimits.cs" />
- <Compile Include="Model\HBConfiguration.cs" />
- <Compile Include="Model\VideoScaler.cs" />
- <Compile Include="Utilities\SystemInfo.cs" />
- <Compile Include="Utilities\VersionHelper.cs" />
- <Compile Include="Properties\Resources.Designer.cs">
- <AutoGen>True</AutoGen>
- <DesignTime>True</DesignTime>
- <DependentUpon>Resources.resx</DependentUpon>
- </Compile>
- <Compile Include="Utilities\CharCodesUtilities.cs" />
- <Compile Include="Utilities\LanguageUtilities.cs" />
- </ItemGroup>
- <ItemGroup>
- <AdditionalFiles Include="..\stylecop.json">
- <Link>stylecop.json</Link>
- </AdditionalFiles>
- <None Include="app.config" />
- <None Include="packages.config" />
- </ItemGroup>
- <ItemGroup>
- <None Include="HandBrake.Interop.nuspec" />
- </ItemGroup>
+
<ItemGroup>
- <EmbeddedResource Include="Properties\Resources.resx">
- <Generator>ResXFileCodeGenerator</Generator>
- <LastGenOutput>Resources.Designer.cs</LastGenOutput>
- <SubType>Designer</SubType>
- </EmbeddedResource>
+ <PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
</ItemGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- <PropertyGroup>
- <TargetFrameworkSDKToolsDirectory Condition=" '$(Platform)' == 'x64'">$(TargetFrameworkSDKToolsDirectory)$(Platform)\</TargetFrameworkSDKToolsDirectory>
- </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">
- </Target>
- -->
- <PropertyGroup>
- <PreBuildEvent>
- </PreBuildEvent>
- </PropertyGroup>
-</Project> \ No newline at end of file
+
+</Project>