2024-11-04 14:38:23 -05:00
<Project Sdk= "Microsoft.NET.Sdk" >
<PropertyGroup >
2024-11-13 04:26:24 -05:00
<TargetFrameworks > net20;net35;net40;net452;net462;net472;net48;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
<OutputType > Exe</OutputType>
<CheckEolTargetFramework > false</CheckEolTargetFramework>
<IncludeSourceRevisionInInformationalVersion > false</IncludeSourceRevisionInInformationalVersion>
<LangVersion > latest</LangVersion>
<Nullable > enable</Nullable>
<SuppressTfmSupportBuildWarnings > true</SuppressTfmSupportBuildWarnings>
<TreatWarningsAsErrors > true</TreatWarningsAsErrors>
2024-11-04 14:38:23 -05:00
</PropertyGroup>
2024-11-13 04:26:24 -05:00
2024-11-04 14:38:23 -05:00
<!-- Support All Frameworks -->
<PropertyGroup Condition= "$(TargetFramework.StartsWith(`net2`)) OR $(TargetFramework.StartsWith(`net3`)) OR $(TargetFramework.StartsWith(`net4`))" >
2024-11-13 04:26:24 -05:00
<RuntimeIdentifiers > win-x86;win-x64</RuntimeIdentifiers>
2024-11-04 14:38:23 -05:00
</PropertyGroup>
<PropertyGroup Condition= "$(TargetFramework.StartsWith(`netcoreapp`)) OR $(TargetFramework.StartsWith(`net5`))" >
2024-11-13 04:26:24 -05:00
<RuntimeIdentifiers > win-x86;win-x64;win-arm64;linux-x64;linux-arm64;osx-x64</RuntimeIdentifiers>
2024-11-04 14:38:23 -05:00
</PropertyGroup>
2024-11-13 04:26:24 -05:00
<PropertyGroup Condition= "$(TargetFramework.StartsWith(`net6`)) OR $(TargetFramework.StartsWith(`net7`)) OR $(TargetFramework.StartsWith(`net8`)) OR $(TargetFramework.StartsWith(`net9`))" >
<RuntimeIdentifiers > win-x86;win-x64;win-arm64;linux-x64;linux-arm64;osx-x64;osx-arm64</RuntimeIdentifiers>
2024-11-04 14:38:23 -05:00
</PropertyGroup>
<PropertyGroup Condition= "$(RuntimeIdentifier.StartsWith(`osx-arm`))" >
2024-11-13 04:26:24 -05:00
<TargetFrameworks > net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
2024-11-04 14:38:23 -05:00
</PropertyGroup>
2024-11-13 04:26:24 -05:00
2024-11-04 14:38:23 -05:00
<!-- Set a build flag for Windows specifically -->
<PropertyGroup Condition= "'$(RuntimeIdentifier)'=='win-x86'" >
2024-11-13 04:26:24 -05:00
<DefineConstants > $(DefineConstants);WIN</DefineConstants>
2024-11-04 14:38:23 -05:00
</PropertyGroup>
2024-11-13 04:26:24 -05:00
2024-11-04 14:38:23 -05:00
<ItemGroup >
2024-11-13 04:26:24 -05:00
<ProjectReference Include= "..\BinaryObjectScanner\BinaryObjectScanner.csproj" />
2024-11-04 14:38:23 -05:00
</ItemGroup>
2024-11-13 04:26:24 -05:00
</Project>