123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <Project Sdk="Microsoft.NET.Sdk">
- <PropertyGroup>
- <TargetFrameworks>net8.0</TargetFrameworks>
- <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
- <GenerateDocumentationFile>true</GenerateDocumentationFile>
- <AssemblyName>OpenCvSharp</AssemblyName>
- <SignAssembly>true</SignAssembly>
- <PublicSign Condition=" '$(OS)' != 'Windows_NT' ">true</PublicSign>
- <PackageId>OpenCvSharp</PackageId>
- <GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
- <GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
- <GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
- <Configurations>Debug;Release</Configurations>
- <LangVersion>12</LangVersion>
- <ImplicitUsings>enable</ImplicitUsings>
- <Nullable>enable</Nullable>
- <PublishRepositoryUrl>true</PublishRepositoryUrl>
- <IncludeSymbols>true</IncludeSymbols>
- <RepositoryUrl>https://github.com/shimat/opencvsharp.git</RepositoryUrl>
- <RepositoryType>git</RepositoryType>
- <SymbolPackageFormat>snupkg</SymbolPackageFormat>
- </PropertyGroup>
- <PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
- <AnalysisMode>AllEnabledByDefault</AnalysisMode>
- </PropertyGroup>
-
- <ItemGroup>
- <PackageReference Include="System.Memory" Version="4.5.5" />
- </ItemGroup>
- <ItemGroup>
- <None Update="OpenCvSharp.dll.config">
- <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
- </None>
- </ItemGroup>
- <ItemGroup Condition=" '$(TargetFramework)' == 'net48'">
- <Reference Include="System.Security" />
- <Reference Include="System.Web" />
- <Reference Include="System" />
- <Reference Include="Microsoft.CSharp" />
- <PackageReference Include="System.ValueTuple" Version="4.5.0" />
- </ItemGroup>
- <PropertyGroup Condition="'$(TargetFramework)' == 'net48'">
- <DefineConstants>$(DefineConstants);DOTNET_FRAMEWORK;</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="$(TargetFramework.Contains('netstandard')) Or $(TargetFramework.Contains('netcoreapp')) ">
- <DefineConstants>TRACE;DOTNETCORE;WINRT</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="$(TargetFramework.Contains('net6.0')) ">
- <DefineConstants>TRACE;DOTNETCORE;</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition=" '$(Configuration)' == 'Release-JP' ">
- <DefineConstants>$(DefineConstants);LANG_JP</DefineConstants>
- </PropertyGroup>
- <PropertyGroup>
- <NoWarn>1701;1702;CA1303;CA1707;CA1814;CA1401;CA1720;CA2213;</NoWarn>
- <PlatformTarget>x64</PlatformTarget>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|net480|AnyCPU'">
- <DefineConstants>$(DefineConstants);DOTNET_FRAMEWORK</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net480|AnyCPU'">
- <DefineConstants>$(DefineConstants);DOTNET_FRAMEWORK</DefineConstants>
- </PropertyGroup>
- </Project>
|