Skip to content

Commit 534efa7

Browse files
authored
[#18] Correctly reference WindowsBase for net48 framework for OpenXXML validation support (#20)
[#18] Correctly reference WindowsBase for net48 framework for OpenXML validation support
1 parent 002688e commit 534efa7

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

Directory.Version.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project>
22
<PropertyGroup>
3-
<VersionPrefix>1.1.1</VersionPrefix>
3+
<VersionPrefix>1.1.2</VersionPrefix>
44
</PropertyGroup>
55
</Project>

src/ByteGuard.FileValidator/ByteGuard.FileValidator.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;net8.0;net9.0;net10.0</TargetFrameworks>
4+
<TargetFrameworks>netstandard2.0;net48;net8.0;net9.0;net10.0</TargetFrameworks>
55
<Authors>ByteGuard Contributors, detilium</Authors>
66
<Description>ByteGuard File Validator is a security-focused .NET library for validating user-supplied files, providing a configurable API to help you enforce safe and consistent file handling across your applications.</Description>
77
<PackageProjectUrl>https://github.com/ByteGuard-HQ/byteguard-file-validator-net</PackageProjectUrl>
@@ -14,7 +14,8 @@
1414
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1515
</PropertyGroup>
1616

17-
<ItemGroup Condition="'$(TargetFramework)' == 'net48'">
17+
<ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
18+
<Reference Include="WindowsBase" />
1819
<Reference Include="System.IO.Compression" />
1920
</ItemGroup>
2021

0 commit comments

Comments
 (0)