Discord.Net icon indicating copy to clipboard operation
Discord.Net copied to clipboard

[Bug]: v3.17.0 now has .NET 9 assembly dependencies

Open kirk-marple opened this issue 9 months ago • 2 comments

Check The Docs

  • [x] I double checked the docs and couldn't find any useful information.

Verify Issue Source

  • [x] I verified the issue was caused by Discord.Net.

Check your intents

  • [x] I double checked that I have the required intents.

Description

Not sure if intentional or not, but it looks like 3.17.0 now takes dependencies on "9.0.0" versions of some System.* assemblies.

This causes some issues when upgrading to this version, when using with a .NET 6.0 application, specification with an in-process Azure Function which can't take on anything > .NET 6.0 version.

Version

3.17.0

Working Version

3.16.0

Logs

##[warning]D:\a\1\.nuget\packages\system.collections.immutable\9.0.0\buildTransitive\netcoreapp2.0\System.Collections.Immutable.targets(4,5): Warning : System.Collections.Immutable 9.0.0 doesn't support net6.0 and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk.
D:\a\1\.nuget\packages\system.collections.immutable\9.0.0\buildTransitive\netcoreapp2.0\System.Collections.Immutable.targets(4,5): warning : System.Collections.Immutable 9.0.0 doesn't support net6.0 and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk. [D:\a\1\s\src\Graphlit.Functions.Feeds\Graphlit.Functions.Feeds.csproj]
##[warning]D:\a\1\.nuget\packages\microsoft.extensions.dependencyinjection.abstractions\9.0.0\buildTransitive\netcoreapp2.0\Microsoft.Extensions.DependencyInjection.Abstractions.targets(4,5): Warning : Microsoft.Extensions.DependencyInjection.Abstractions 9.0.0 doesn't support net6.0 and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk.
D:\a\1\.nuget\packages\microsoft.extensions.dependencyinjection.abstractions\9.0.0\buildTransitive\netcoreapp2.0\Microsoft.Extensions.DependencyInjection.Abstractions.targets(4,5): warning : Microsoft.Extensions.DependencyInjection.Abstractions 9.0.0 doesn't support net6.0 and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk. [D:\a\1\s\src\Graphlit.Functions.Feeds\Graphlit.Functions.Feeds.csproj]
##[warning]D:\a\1\.nuget\packages\system.collections.immutable\9.0.0\buildTransitive\netcoreapp2.0\System.Collections.Immutable.targets(4,5): Warning : System.Collections.Immutable 9.0.0 doesn't support net6.0 and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk.
D:\a\1\.nuget\packages\system.collections.immutable\9.0.0\buildTransitive\netcoreapp2.0\System.Collections.Immutable.targets(4,5): warning : System.Collections.Immutable 9.0.0 doesn't support net6.0 and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk. [D:\a\1\s\src\Graphlit.Functions.Knowledge.DurableTask\Graphlit.Functions.Knowledge.DurableTask.csproj::TargetFramework=net6.0]
##[warning]D:\a\1\.nuget\packages\microsoft.extensions.dependencyinjection.abstractions\9.0.0\buildTransitive\netcoreapp2.0\Microsoft.Extensions.DependencyInjection.Abstractions.targets(4,5): Warning : Microsoft.Extensions.DependencyInjection.Abstractions 9.0.0 doesn't support net6.0 and has not been tested with it. Consider upgrading your TargetFramework to net8.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk.

Sample

No response

Packages

Discord.Net

Environment

Windows 11 .NET 8.0

kirk-marple avatar Jan 11 '25 03:01 kirk-marple