question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RC2 error in VS 2015 - Failed to initialize CoreCLR, HRESULT: 0x80131500

See original GitHub issue

Steps to reproduce

Install RC2 on a machine that previously had RC1 installed and removed through Add/Remove Programs. Open VS 2015 and create a new.net core console/web or library template.

Expected behavior

New solution created successfully.

Actual behavior

I get the following error:

image

If I try building i get the following error:

Failed to initialize CoreCLR, HRESULT: 0x80131500 And it points to: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Common.Targets (line 241) which is below:

<Dnx RuntimeExe="$(SDKToolingExe)" Condition="'$(_DesignTimeHostBuild)' != 'true'" ProjectFolder="$(MSBuildProjectDirectory)" Arguments="$(_BuildArguments)" />

Environment data

dotnet --info output:

Product Information: Version: 1.0.0-preview1-002702 Commit Sha: 6cde21225e

Runtime Environment: OS Name: Windows OS Version: 10.0.10586 OS Platform: Windows RID: win10-x64

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:17 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
TheRealPiotrPcommented, Nov 10, 2016

We’ve spent time hardening the installer against these sorts of issues and fixing up the host to provide better messages. We should not see this sort of frustration moving forward.

1reaction
sisovin045commented, Jun 3, 2016

@marspd, thank you. I follows your issue to remove Terelik’s JustMock, which had conflict with RC2, then is working fine, I have resolved the issues as you, have the best trip over the weekend.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix exception "Failed to initialize CoreCLR, HRESULT
Hi! I have OS Linux 4.18.0-348.12.2.el8_5.x86_64 x86_64, rocky. I published my project with target platform linux-x64, file [PROJECT_NAME].deps ...
Read more >
Issue with VSTS Agent on Ubuntu – Failed to initialize ...
Failed to initialize CoreCLR, HRESULT: 0x80131500. I received this error message when trying to run the “config.sh” command ;.
Read more >
Announcing .NET Core 1.0
We are excited to announce the release of .NET Core 1.0, ASP.NET Core 1.0 and Entity Framework 1.0, available on Windows, OS X...
Read more >
2016 2 - Paneque's Technology Blog
Unable to start the process. Failed to initialize CoreCLR, HRESULT: 0x80131500 I just installed ASP.NET Core RC2 and was able to get it ......
Read more >
GCP - Failed to initialize CoreCLR, HRESULT: 0x80131500
I'm trying to go through the App Engine Quickstart tutorial for .Net and running into a problem with the dotnet cli.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found