From 38d729026c2bccd361bb64a61f2e806ab245fb6d Mon Sep 17 00:00:00 2001 From: Phillip Hoff Date: Wed, 29 Apr 2026 09:46:17 -0700 Subject: [PATCH] Multi-target NuGet libraries for net8.0 and net10.0 Add net8.0 alongside net10.0 as a target framework for the three NuGet-published libraries (EncDotNet.Iso8211, EncDotNet.S57, and EncDotNet.Noaa) to broaden consumer reach to .NET 8 LTS. The ChartViewer, Console, Benchmarks, and UnitTests projects continue to target net10.0 only. The libraries' source already uses only APIs and language features available in .NET 8, so no source changes or #if guards are required. TargetFramework is explicitly cleared in each csproj to override the single-TFM default inherited from Directory.Build.props. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/EncDotNet.Iso8211/EncDotNet.Iso8211.csproj | 2 ++ src/EncDotNet.Noaa/EncDotNet.Noaa.csproj | 2 ++ src/EncDotNet.S57/EncDotNet.S57.csproj | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/EncDotNet.Iso8211/EncDotNet.Iso8211.csproj b/src/EncDotNet.Iso8211/EncDotNet.Iso8211.csproj index 7c31525..1f3f5a6 100644 --- a/src/EncDotNet.Iso8211/EncDotNet.Iso8211.csproj +++ b/src/EncDotNet.Iso8211/EncDotNet.Iso8211.csproj @@ -1,6 +1,8 @@  + + net8.0;net10.0 A .NET parser for the ISO/IEC 8211 binary container format, the underlying encoding used by IHO S-57 electronic navigational charts and other geospatial data standards. iso8211;iso-8211;binary-parser;s57;s-57;enc;nautical-chart;hydrographic;geospatial;maritime README.md diff --git a/src/EncDotNet.Noaa/EncDotNet.Noaa.csproj b/src/EncDotNet.Noaa/EncDotNet.Noaa.csproj index 387b5c8..23f5ef5 100644 --- a/src/EncDotNet.Noaa/EncDotNet.Noaa.csproj +++ b/src/EncDotNet.Noaa/EncDotNet.Noaa.csproj @@ -1,6 +1,8 @@  + + net8.0;net10.0 A .NET client for the NOAA ENC product catalog, for discovering and downloading U.S. electronic navigational chart data. noaa;enc;nautical-chart;s57;s-57;hydrographic;maritime;navigation;chart-data;geospatial README.md diff --git a/src/EncDotNet.S57/EncDotNet.S57.csproj b/src/EncDotNet.S57/EncDotNet.S57.csproj index 213502c..5c22dda 100644 --- a/src/EncDotNet.S57/EncDotNet.S57.csproj +++ b/src/EncDotNet.S57/EncDotNet.S57.csproj @@ -1,6 +1,8 @@ + + net8.0;net10.0 A .NET library for reading and working with IHO S-57 Electronic Navigational Charts (ENCs), including feature records, vector topology, exchange sets, and incremental updates. s57;s-57;enc;nautical-chart;hydrographic;maritime;navigation;iho;electronic-navigational-chart;geospatial;gis README.md