舊版架構的程式庫支援
不再支援將核心程式庫套件安裝至其目標架構早於下列版本的專案:
- .NET Framework 4.6.2
- .NET 6
- .NET Standard 2.0
先前的行為
支援屬於「.NET 6」波段的最新非發行前版本核心程式庫封裝使用自以 .NET Framework 4.6.1 或更新版本、.NET Core 3.1 和更新版本或 .NET 標準 2.0 或更新版本為目標的專案。
新的行為
支援 .NET 7 核心程式庫封裝使用於以 .NET Framework 4.6.2 和更新版本、.NET 6 和更新版本或 .NET 標準 2.0 或更新版本為目標的專案。
導入的版本
.NET 7
中斷性變更的類型
變更原因
針對所有現有架構建置套件會增加套件的複雜度和大小。 下列架構現在已不受支援,我們將不再建置這些架構的套件:
- .NET Framework 4.6.1
- .NET Core 3.1
- .NET 5
建議的動作
如果您的專案不再演進而且只進行維護,則不要升級受影響的套件。
如果積極開發您的專案,則請將其升級為下列其中一個架構:
- .NET Framework 4.6.2
- .NET Core 6
- .NET Standard 2.0
受影響的 API
下列套件不會再送出舊版架構:
- Microsoft.Bcl.AsyncInterfaces
- Microsoft.Extensions.Caching.Abstractions
- Microsoft.Extensions.Caching.Memory
- Microsoft.Extensions.Configuration
- Microsoft.Extensions.Configuration.Abstractions
- Microsoft.Extensions.Configuration.Binder
- Microsoft.Extensions.Configuration.CommandLine
- Microsoft.Extensions.Configuration.EnvironmentVariables
- Microsoft.Extensions.Configuration.FileExtensions
- Microsoft.Extensions.Configuration.Ini
- Microsoft.Extensions.Configuration.Json
- Microsoft.Extensions.Configuration.UserSecrets
- Microsoft.Extensions.Configuration.Xml
- Microsoft.Extensions.DependencyInjection
- Microsoft.Extensions.DependencyInjection.Abstractions
- Microsoft.Extensions.DependencyInjection.Specification.Tests
- Microsoft.Extensions.DependencyModel
- Microsoft.Extensions.FileProviders.Abstractions
- Microsoft.Extensions.FileProviders.Composite
- Microsoft.Extensions.FileProviders.Physical
- Microsoft.Extensions.FileSystemGlobbing
- Microsoft.Extensions.Hosting
- Microsoft.Extensions.Hosting.Abstractions
- Microsoft.Extensions.Hosting.Systemd
- Microsoft.Extensions.Hosting.WindowsServices
- Microsoft.Extensions.Http
- Microsoft.Extensions.Logging
- Microsoft.Extensions.Logging.Abstractions
- Microsoft.Extensions.Logging.Configuration
- Microsoft.Extensions.Logging.Console
- Microsoft.Extensions.Logging.Debug
- Microsoft.Extensions.Logging.EventLog
- Microsoft.Extensions.Logging.EventSource
- Microsoft.Extensions.Logging.TraceSource
- Microsoft.Extensions.Options
- Microsoft.Extensions.Options.ConfigurationExtensions
- Microsoft.Extensions.Options.DataAnnotations
- Microsoft.Extensions.Primitives
- Microsoft.NET.WebAssembly.Threading
- Microsoft.NETCore.Platforms
- Microsoft.Win32.Registry.AccessControl
- Microsoft.Win32.SystemEvents
- Microsoft.Windows.Compatibility
- Microsoft.XmlSerializer.Generator
- System.CodeDom
- System.Collections.Immutable
- System.ComponentModel.Composition
- System.ComponentModel.Composition.Registration
- System.Composition
- System.Composition.AttributedModel
- System.Composition.Convention
- System.Composition.Hosting
- System.Composition.Runtime
- System.Composition.TypedParts
- System.Configuration.ConfigurationManager
- System.Data.Odbc
- System.Data.OleDb
- System.Diagnostics.DiagnosticSource
- System.Diagnostics.EventLog
- System.Diagnostics.PerformanceCounter
- System.DirectoryServices
- System.DirectoryServices.AccountManagement
- System.DirectoryServices.Protocols
- System.Drawing.Common
- System.Formats.Asn1
- System.Formats.Cbor
- System.IO.Hashing
- System.IO.Packaging
- System.IO.Pipelines
- System.IO.Ports
- System.Management
- System.Memory.Data
- System.Net.Http.Json
- System.Net.Http.WinHttpHandler
- System.Numerics.Tensors
- System.Reflection.Context
- System.Reflection.Metadata
- System.Reflection.MetadataLoadContext
- System.Resources.Extensions
- System.Runtime.Caching
- System.Runtime.Serialization.Schema
- System.Security.Cryptography.Cose
- System.Security.Cryptography.Pkcs
- System.Security.Cryptography.ProtectedData
- System.Security.Cryptography.Xml
- System.Security.Permissions
- System.ServiceModel.Syndication
- System.ServiceProcess.ServiceController
- System.Speech
- System.Text.Encoding.CodePages
- System.Text.Encodings.Web
- System.Text.Json
- System.Threading.AccessControl
- System.Threading.Channels
- System.Threading.RateLimiting
- System.Threading.Tasks.Dataflow
- System.Windows.Extensions