Reputation: 33
While I’m deploying .Net 6 console application into the Pseudo Server, I’m getting this error. The same runtime has been installed in the test server and it works fine.
Enabled trace to see more info about this error.
CoreCLR path = ‘C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.8\coreclr.dll’, CoreCLR dir = ‘C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.8’ Loaded library from C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.8\coreclr.dll Failed to create CoreCLR, HRESULT: 0x80004005
Could use some help to resolve this issue?
Upvotes: 3
Views: 10016
Reputation: 1
I fixed the problem by change the .NET target runtime.
You can do this like the following:
In your Solution Explorer, right-click your project, and select Properties
In Properties, go to the Application option on the side menu
Locate the Target framework dropdown and select the framework version you need
Upvotes: -2
Reputation: 106
For anyone having this issue, I have solved this error on my computer by simply:
Upvotes: 8