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

Support .NET 6 Release Candidate 1 #4088

Closed
sergey-tihon opened this issue Sep 23, 2021 · 7 comments · Fixed by #4089
Closed

Support .NET 6 Release Candidate 1 #4088

sergey-tihon opened this issue Sep 23, 2021 · 7 comments · Fixed by #4089

Comments

@sergey-tihon
Copy link
Member

Description

paket fails when dotnet 6.0.100-rc.1.21463.6 is installed

Repro steps

image

Actual behavior

Failed to initialize CoreCLR, HRESULT: 0x80004005

Known workarounds

I think CLI tool should be compiled with

<RollForward>LatestMajor</RollForward>

as it is done in fsdocs & fslex

@JonCanning
Copy link
Contributor

I'm getting this with RC2, does it need to be recompiled?

@forki
Copy link
Member

forki commented Oct 30, 2021

#4089 (comment)

@sergey-tihon
Copy link
Member Author

I've fixed it by reinstalling .net
fsprojects/FAKE#2604 (comment)

@RussBaz
Copy link

RussBaz commented Nov 21, 2021

I am having the same issue on the released dotnet. Is reinstalling the only working option?

@cgravill
Copy link
Member

cgravill commented Dec 10, 2021

We had a similar issue with Paket using .NET 6.0.100, on a macOS that worked with .NET 5.0.403 (and worked on both with at least Windows). We just fixed by reinstalling everything - thanks for the pointer @sergey-tihon

In case it helps others this dotnet-core-uninstall https://docs.microsoft.com/en-us/dotnet/core/additional-tools/uninstall-tool?tabs=macos with --all makes it a quick task.

@sergey-tihon
Copy link
Member Author

sergey-tihon commented Dec 29, 2021

Happened again to me after VS4Mac 2019 update installation.

Maybe it worth to compile paket for NET 6.0 instead of netcoreapp2.1 ?

@eglyph
Copy link

eglyph commented Mar 30, 2022

Reinstalling everything works, but please note paket 7.1.3 still requires .NET 3.1 installed, even when your project is on higher SDK versions. Otherwise it will give the Failed to initialize CoreCLR, HRESULT: 0x80004005 error.

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

Successfully merging a pull request may close this issue.

6 participants