Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks done
kirk-marple opened this issue Jan 11, 2025 · 1 comment
Open
3 tasks done

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

kirk-marple opened this issue Jan 11, 2025 · 1 comment
Assignees
Labels

Comments

@kirk-marple
Copy link

Check The Docs

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

Verify Issue Source

  • I verified the issue was caused by Discord.Net.

Check your intents

  • 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

@Misha-133
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants