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

.Net: Bug: Update packages to .NET 9 #9802

Closed
sant11h opened this issue Nov 25, 2024 · 2 comments
Closed

.Net: Bug: Update packages to .NET 9 #9802

sant11h opened this issue Nov 25, 2024 · 2 comments
Assignees
Labels
bug Something isn't working .NET Issue or Pull requests regarding .NET code

Comments

@sant11h
Copy link

sant11h commented Nov 25, 2024

Hello guys!
I was upgrading our project to the latest .NET version and I found that you have dependency on packages from version 8.. for that reason we cannot upgrade. Below I state the error that I have. Thanks!

Describe the bug
Application.csproj: Warning NU1608 : Detected package version outside of dependency constraint: Microsoft.SemanticKernel.Prompty 1.30.0-alpha requires Microsoft.Extensions.FileProviders.Physical (>= 8.0.0 && < 9.0.0) but version Microsoft.Extensions.FileProviders.Physical 9.0.0 was resolved.

Expected behavior
The solution should build.

@sant11h sant11h added the bug Something isn't working label Nov 25, 2024
@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code triage labels Nov 25, 2024
@github-actions github-actions bot changed the title Bug: Update packages to .NET 9 .Net: Bug: Update packages to .NET 9 Nov 25, 2024
@evchaki
Copy link
Contributor

evchaki commented Nov 25, 2024

@sant11h - you should see a fix for this in this week's package 1.31.0. Thanks for reporting it. @markwallace-microsoft is going to work on this.

@evchaki evchaki removed the triage label Nov 25, 2024
@stephentoub
Copy link
Member

Setting upper bounds on package references like this is very much discouraged:

<PackageVersion Include="Microsoft.Extensions.FileProviders.Physical" Version="[8.0.0, 9.0.0)" />
<PackageVersion Include="Microsoft.Extensions.FileProviders.Embedded" Version="[8.0.0, 9.0.0)" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working .NET Issue or Pull requests regarding .NET code
Projects
Status: Sprint: Done
Development

Successfully merging a pull request may close this issue.

4 participants