Files
BinaryObjectScanner/BinaryObjectScanner/BinaryObjectScanner.csproj

86 lines
4.2 KiB
XML
Raw Normal View History

2023-09-17 23:28:27 -04:00
<Project Sdk="Microsoft.NET.Sdk">
2023-09-17 23:35:59 -04:00
<PropertyGroup>
<!-- Assembly Properties -->
2023-11-22 12:22:01 -05:00
<TargetFrameworks>net20;net35;net40;net452;net462;net472;net48;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
2023-11-08 22:51:47 -05:00
<RuntimeIdentifiers>win-x86;win-x64;win-arm64;linux-x64;linux-arm64;osx-x64;osx-arm64</RuntimeIdentifiers>
2023-09-17 23:35:59 -04:00
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
2023-11-21 10:59:29 -05:00
<CheckEolTargetFramework>false</CheckEolTargetFramework>
2023-11-08 11:59:50 -05:00
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
2023-11-14 23:48:35 -05:00
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
2023-11-08 11:59:50 -05:00
<!-- <TreatWarningsAsErrors>true</TreatWarningsAsErrors> --> <!-- Can't be enabled because of external code -->
2023-11-22 13:28:56 -05:00
<Version>3.0.2</Version>
2023-09-17 23:28:27 -04:00
2023-09-17 23:35:59 -04:00
<!-- Package Properties -->
<Authors>Matt Nadareski</Authors>
2023-09-18 13:56:07 -04:00
<Description>Protection scanning library</Description>
2023-09-17 23:53:14 -04:00
<Copyright>Copyright (c)2018-2023 Matt Nadareski</Copyright>
2023-09-17 23:35:59 -04:00
<PackageProjectUrl>https://github.com/SabreTools/</PackageProjectUrl>
2023-11-08 11:37:27 -05:00
<RepositoryUrl>https://github.com/SabreTools/BinaryObjectScanner</RepositoryUrl>
2023-09-17 23:35:59 -04:00
<RepositoryType>git</RepositoryType>
2023-09-18 13:56:07 -04:00
<PackageTags>protection copy-protection scanning packer</PackageTags>
2023-09-17 23:35:59 -04:00
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
2023-11-15 11:26:00 -05:00
<!-- Exclude certain parts of external modules for .NET Framework 4.5.2 and above -->
<PropertyGroup Condition="$(TargetFramework.StartsWith(`net4`)) AND !$(TargetFramework.StartsWith(`net40`))">
2023-09-18 12:52:42 -04:00
<DefaultItemExcludes>
$(DefaultItemExcludes);
**\AssemblyInfo.cs;
_EXTERNAL\stormlibsharp\lib\**;
_EXTERNAL\stormlibsharp\src\TestConsole\**
</DefaultItemExcludes>
</PropertyGroup>
2023-09-17 23:35:59 -04:00
2023-11-22 10:48:08 -05:00
<!-- Exclude all external modules for .NET Framework 2.0, .NET Framework 3.5, .NET Framework 4.0, .NET Core and modern .NET -->
2023-11-14 16:10:10 -05:00
<PropertyGroup Condition="!$(TargetFramework.StartsWith(`net4`)) OR $(TargetFramework.StartsWith(`net40`))">
2023-10-27 00:58:03 -04:00
<DefaultItemExcludes>
$(DefaultItemExcludes);
_EXTERNAL\**;
</DefaultItemExcludes>
</PropertyGroup>
2023-09-18 13:56:07 -04:00
<!-- These are needed for dealing with native Windows DLLs -->
2023-11-14 16:10:10 -05:00
<ItemGroup Condition="$(TargetFramework.StartsWith(`net4`)) AND !$(TargetFramework.StartsWith(`net40`))">
2023-09-18 14:15:51 -04:00
<Content Include="*.dll">
<Pack>true</Pack>
<PackagePath>contentFiles;content</PackagePath>
<IncludeInPackage>true</IncludeInPackage>
<CopyToOutput>true</CopyToOutput>
<BuildAction>Content</BuildAction>
<copyToOutput>true</copyToOutput>
2023-09-18 13:56:07 -04:00
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<CopyToPublishDirectory>Always</CopyToPublishDirectory>
2023-09-18 14:15:51 -04:00
</Content>
2023-09-18 13:56:07 -04:00
</ItemGroup>
2023-11-21 10:17:25 -05:00
<!-- Support for old .NET versions -->
2023-11-22 10:48:08 -05:00
<ItemGroup Condition="$(TargetFramework.StartsWith(`net2`)) OR $(TargetFramework.StartsWith(`net3`)) OR $(TargetFramework.StartsWith(`net40`))">
<PackageReference Include="MinThreadingBridge" Version="0.11.2" />
2023-11-22 12:22:01 -05:00
<PackageReference Include="MinTasksExtensionsBridge" Version="0.3.2" />
</ItemGroup>
<ItemGroup Condition="!$(TargetFramework.StartsWith(`net2`)) AND !$(TargetFramework.StartsWith(`net3`))">
<PackageReference Include="OpenMcdf" Version="2.3.0" />
<PackageReference Include="UnshieldSharp" Version="1.7.1" />
2023-11-15 00:24:47 -05:00
</ItemGroup>
2023-11-22 10:48:08 -05:00
<ItemGroup Condition="!$(TargetFramework.StartsWith(`net2`)) AND !$(TargetFramework.StartsWith(`net3`)) AND !$(TargetFramework.StartsWith(`net40`)) AND !$(TargetFramework.StartsWith(`net452`))">
<PackageReference Include="SharpCompress" Version="0.34.2" />
2023-10-26 00:00:34 -04:00
<PackageReference Include="SharpZipLib" Version="1.4.2" />
2023-11-22 10:48:08 -05:00
<PackageReference Include="System.Text.Encoding.CodePages" Version="8.0.0" />
2023-09-17 23:35:59 -04:00
</ItemGroup>
2023-11-14 16:10:10 -05:00
<ItemGroup Condition="$(TargetFramework.StartsWith(`net4`)) AND !$(TargetFramework.StartsWith(`net40`))">
2023-09-17 23:53:14 -04:00
<PackageReference Include="System.Memory" Version="4.5.5" />
</ItemGroup>
2023-11-21 10:17:25 -05:00
<ItemGroup>
2023-11-22 10:48:08 -05:00
<PackageReference Include="SabreTools.Compression" Version="0.3.0" />
<PackageReference Include="SabreTools.IO" Version="1.3.0" />
<PackageReference Include="SabreTools.Matching" Version="1.3.0" />
<PackageReference Include="SabreTools.Models" Version="1.3.0" />
<PackageReference Include="SabreTools.Serialization" Version="1.3.0" />
<PackageReference Include="WiseUnpacker" Version="1.3.0" />
2023-11-21 10:17:25 -05:00
</ItemGroup>
2023-09-17 23:35:59 -04:00
</Project>