2025-08-28 15:11:21 -04:00
<Project Sdk= "Microsoft.NET.Sdk" >
<PropertyGroup >
2025-11-14 09:06:59 -05:00
<TargetFrameworks > net20;net35;net40;net452;net462;net472;net48;netcoreapp3.1;net5.0;net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
2025-08-28 15:11:21 -04:00
<OutputType > Exe</OutputType>
<CheckEolTargetFramework > false</CheckEolTargetFramework>
2025-08-29 12:59:33 -04:00
<IncludeNativeLibrariesForSelfExtract > true</IncludeNativeLibrariesForSelfExtract>
2025-08-28 15:11:21 -04:00
<IncludeSourceRevisionInInformationalVersion > false</IncludeSourceRevisionInInformationalVersion>
<LangVersion > latest</LangVersion>
<Nullable > enable</Nullable>
<SuppressTfmSupportBuildWarnings > true</SuppressTfmSupportBuildWarnings>
<TreatWarningsAsErrors > true</TreatWarningsAsErrors>
2026-03-15 20:23:35 -04:00
<Version > 2.3.0</Version>
2025-08-28 15:11:21 -04:00
</PropertyGroup>
<!-- Support All Frameworks -->
<PropertyGroup Condition= "$(TargetFramework.StartsWith(`net2`)) OR $(TargetFramework.StartsWith(`net3`)) OR $(TargetFramework.StartsWith(`net4`))" >
<RuntimeIdentifiers > win-x86;win-x64</RuntimeIdentifiers>
</PropertyGroup>
<PropertyGroup Condition= "$(TargetFramework.StartsWith(`netcoreapp`)) OR $(TargetFramework.StartsWith(`net5`))" >
<RuntimeIdentifiers > win-x86;win-x64;win-arm64;linux-x64;linux-arm64;osx-x64</RuntimeIdentifiers>
</PropertyGroup>
2025-11-14 09:06:59 -05:00
<PropertyGroup Condition= "$(TargetFramework.StartsWith(`net6`)) OR $(TargetFramework.StartsWith(`net7`)) OR $(TargetFramework.StartsWith(`net8`)) OR $(TargetFramework.StartsWith(`net9`)) OR $(TargetFramework.StartsWith(`net10`))" >
2025-08-28 15:11:21 -04:00
<RuntimeIdentifiers > win-x86;win-x64;win-arm64;linux-x64;linux-arm64;osx-x64;osx-arm64</RuntimeIdentifiers>
</PropertyGroup>
<PropertyGroup Condition= "$(RuntimeIdentifier.StartsWith(`osx-arm`))" >
2025-11-14 09:06:59 -05:00
<TargetFrameworks > net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
2025-08-28 15:11:21 -04:00
</PropertyGroup>
<!-- These are needed for dealing with native Windows DLLs -->
2025-08-29 13:29:15 -04:00
<ItemGroup Condition= "'$(RuntimeIdentifier)'=='win-x86'" >
2026-03-21 16:41:09 -04:00
<ContentWithTargetPath Include= "..\runtimes\win-x86\native\StormLib.dll" >
2025-08-28 15:11:21 -04:00
<CopyToOutputDirectory > Always</CopyToOutputDirectory>
<CopyToPublishDirectory > Always</CopyToPublishDirectory>
<TargetPath > StormLib.dll</TargetPath>
</ContentWithTargetPath>
</ItemGroup>
<ItemGroup Condition= "'$(RuntimeIdentifier)'=='win-x64'" >
2026-03-21 16:41:09 -04:00
<ContentWithTargetPath Include= "..\runtimes\win-x64\native\StormLib.dll" >
2025-08-28 15:11:21 -04:00
<CopyToOutputDirectory > Always</CopyToOutputDirectory>
<CopyToPublishDirectory > Always</CopyToPublishDirectory>
<TargetPath > StormLib.dll</TargetPath>
</ContentWithTargetPath>
2025-08-29 13:29:15 -04:00
</ItemGroup>
2025-08-28 15:11:21 -04:00
<ItemGroup >
2026-03-21 16:41:09 -04:00
<ProjectReference Include= "..\SabreTools.Wrappers\SabreTools.Wrappers.csproj" />
2025-08-28 15:11:21 -04:00
</ItemGroup>
<ItemGroup >
2025-11-14 09:06:59 -05:00
<PackageReference Include= "SabreTools.CommandLine" Version= "[1.4.0]" />
2026-03-24 18:02:49 -04:00
<PackageReference Include= "SabreTools.IO" Version= "[2.0.0]" />
2026-03-05 11:27:45 -05:00
<PackageReference Include= "System.Text.Encoding.CodePages" Version= "10.0.3" Condition= "!$(TargetFramework.StartsWith(`net2`)) AND !$(TargetFramework.StartsWith(`net3`)) AND !$(TargetFramework.StartsWith(`net40`)) AND !$(TargetFramework.StartsWith(`net452`))" />
2025-08-28 15:11:21 -04:00
</ItemGroup>
</Project>