Discord.Net
Discord.Net copied to clipboard
[Bug]: v3.17.0 now has .NET 9 assembly dependencies
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
Hello Thank you for the report.
The intent was to bump it to 8.0.x builds, which still support net6. I apologize for this, will push a fix for it next weekend hopefully.
Should be close-able now