dotnet / dotnet/docs

The sample can not run well and it prints coreclr_create_delegate failed - status: 0x80070002

Open
#21,827 12 comments 0 reactions 1 assignee Assigned to @vitek-karas View on GitHub
:mag: Needs Research dotnet-fundamentals/svc okr-quality
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
15h 21m
Merged PRs (30d)
370

Description

We can not run the sample well.

The code is in https://github.com/dotnet/samples/blob/f0e5dc7cfdf88a03ef1517c33544c46831cdf143/core/hosting/HostWithCoreClrHost/

And we can find the build.bat file.

We can use build.bat file to build the project. But it can not run well and it prints coreclr_create_delegate failed - status: 0x80070002

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 83da7030-b5f1-72ad-71f6-424ff45b8b7f
* Version Independent ID: a98926cc-64ab-2911-e4b8-1eaf4573dfe4
* Content: [Write a custom .NET Core runtime host - .NET Core](https://docs.microsoft.com/en-us/dotnet/core/tutorials/netcore-hosting)
* Content Source: [docs/core/tutorials/netcore-hosting.md](https://github.com/dotnet/docs/blob/master/docs/core/tutorials/netcore-hosting.md)
* Product: **dotnet-fundamentals**
* GitHub Login: @mjrousos
* Microsoft Alias: **tdykstra**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.