Skip to content

Commit

Permalink
Changed target framework from netstandard20 to net462.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Dec 15, 2024
1 parent 3a54b41 commit 985bb3d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion publish/Magick.NET.AvaloniaMediaImaging.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<copyright>Copyright 2013-2024 Dirk Lemstra</copyright>
<tags>ImageMagick Magick.NET Image Convert Resize Draw Effects</tags>
<dependencies>
<group targetFramework=".NETStandard2.0">
<group targetFramework=".NETFramework4.6.2">
<dependency id="Magick.NET.Core" version="14.2.0" />
<dependency id="Avalonia" version="11.2.0" />
</group>
Expand Down
2 changes: 1 addition & 1 deletion publish/publish.library.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ param (
function createMagickNetLibraryNuGetPackage($library, $version, $commit) {
$xml = loadAndInitNuSpec $library $version $commit

if ($library -eq "Magick.NET.SystemWindowsMedia") {
if ($library -eq "Magick.NET.SystemWindowsMedia" -or $library -eq "Magick.NET.AvaloniaMediaImaging") {
addLibrary $xml $library "" "AnyCPU" "net462"
addLibrary $xml $library "" "AnyCPU" "net8.0"
} elseif ($library -eq "Magick.NET.SystemDrawing") {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0;netstandard20</TargetFrameworks>
<TargetFrameworks>net8.0;net462</TargetFrameworks>
<Platforms>AnyCPU</Platforms>
<AssemblyVersion>1.0.0</AssemblyVersion>
<FileVersion>1.0.0</FileVersion>
Expand Down

0 comments on commit 985bb3d

Please sign in to comment.