sdk: RC2 error in VS 2015 - Failed to initialize CoreCLR, HRESULT: 0x80131500
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:

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
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 17 (1 by maintainers)
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.
@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.