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

netcore2.1 win10无法debug #237

Open
jefth opened this issue Jun 1, 2020 · 1 comment
Open

netcore2.1 win10无法debug #237

jefth opened this issue Jun 1, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jefth
Copy link

jefth commented Jun 1, 2020

Describe the bug
· win10企业版vscode里无法Local Run和Local Debug
· mac 环境 vscode 正常

To Reproduce
Steps to reproduce the behavior:
1.新建netcore2.1的函数
2. 函数右键 Local Debug
3.终端提示function compute app listening on port 8000!
4.点击访问连接,终端报错

Expected behavior
Failed to initialize CoreCLR, HRESULT: 0x80004005
2020/06/01 06:53:41 exit status 137

大部分都提示这个错误,有时候也会有no such container.
通过docker 清理image后,重新调试也无法解决。

Screenshots
1590994788(1)

Desktop (please complete the following information):

  • OS: win10 ent

  • VSCode Version:1.27.11

  • Aliyun Serverless Extension Version [e.g. 1.2.0]

  • fun: 3.6.13

  • image:
    aliyunfc/runtime-dotnetcore2.1 1.9.5
    registry.cn-beijing.aliyuncs.com/aliyunfc/runtime-dotnetcore2.1 1.9.5

Additional context
ROSTemplateFormatVersion: '2015-09-01'
Transform: 'Aliyun::Serverless-2018-04-03'
Resources:
mywebfuns:
Type: 'Aliyun::Serverless::Service'
Properties:
Description: This is mywebfuns service
myfun01:
Type: 'Aliyun::Serverless::Function'
Properties:
Handler: 'project::example.App::HandleRequest'
Runtime: dotnetcore2.1
Timeout: 60
MemorySize: 512
CodeUri: mywebfuns\myfun01
Events:
httpTrigger:
Type: HTTP
Properties:
AuthType: ANONYMOUS
Methods:
- GET
- POST
myfun02:
Type: 'Aliyun::Serverless::Function'
Properties:
Handler: 'project::example.App::HandleRequest'
Runtime: dotnetcore2.1
Timeout: 60
MemorySize: 512
CodeUri: mywebfuns/myfun02
Events:
httpTrigger:
Type: HTTP
Properties:
AuthType: ANONYMOUS
Methods:
- GET
- POST
myfun03:
Type: 'Aliyun::Serverless::Function'
Properties:
Handler: 'project::example.App::HandleRequest'
Runtime: dotnetcore2.1
Timeout: 60
MemorySize: 512
CodeUri: mywebfuns\myfun03
Events:
httpTrigger:
Type: HTTP
Properties:
AuthType: ANONYMOUS
Methods:
- GET
- POST

@jefth jefth added the bug Something isn't working label Jun 1, 2020
@jefth
Copy link
Author

jefth commented Jul 6, 2020

有跟进么?这bug有什么临时办法可以解决么?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants