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

Installing .Net 6 and .Net 8 on the same machine errors #72

Open
rohitk710 opened this issue Feb 20, 2024 · 1 comment
Open

Installing .Net 6 and .Net 8 on the same machine errors #72

rohitk710 opened this issue Feb 20, 2024 · 1 comment

Comments

@rohitk710
Copy link

When I try to install .NET 6 and .NET 8 on the same windows server using
choco install dotnet-6.0-windowshosting --version=6.0.21 -y &
choco install dotnet-8.0-windowshosting --version=8.0.2 -y

The .Net 6 installation goes fine but .Net 8 errors out with:

Failures
 - dotnet-8.0-windowshosting - Unable to resolve dependency: Unable to find a version of 'chocolatey-core.exten
sion' that is compatible with 'dotnet-8.0-aspnetruntime 8.0.2 constraint: chocolatey-core.extension (>= 1.4.0)'
, 'dotnet-8.0-runtime 8.0.2 constraint: chocolatey-core.extension (>= 1.4.0)', 'dotnet-aspnetcoremodule-v2 16.0
.23196 constraint: chocolatey-core.extension (>= 1.4.0)'.

I can see that this package which it is complaining about is installed and has version 1..4.0

@rohitk710
Copy link
Author

So, it's because of this: https://docs.chocolatey.org/en-us/guides/upgrading-to-chocolatey-v2-v6#side-by-side-installs-have-been-removed-1

but the error is so misleading. :(

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

No branches or pull requests

1 participant