We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug · Win10 环境 (估计mac没这个问题)
To Reproduce Steps to reproduce the behavior:
Expected behavior FunctionCompute dotnetcore2.1 runtime inited. FC Invoke Start RequestId: ba3cd554-a795-4081-9db2-62a858d50baf 2020-07-07T03:41:00.318Z ba3cd554-a795-4081-9db2-62a858d50baf [ERROR] System.IO.FileNotFoundException: project.dll cannot be found.
Screenshots
Desktop (please complete the following information):
Additional context yml片段参考: testfun03-netcore: Type: 'Aliyun::Serverless::Function' Properties: Handler: 'project::example.App::HandleRequest' Runtime: dotnetcore2.1 Timeout: 60 MemorySize: 512 InstanceConcurrency: 1 EnvironmentVariables: LD_LIBRARY_PATH: >- /code/.fun/root/usr/local/lib:/code/.fun/root/usr/lib:/code/.fun/root/usr/lib/x86_64-linux-gnu:/code/.fun/root/usr/lib64:/code/.fun/root/lib:/code/.fun/root/lib/x86_64-linux-gnu:/code:/code/lib:/usr/local/lib NODE_PATH: '/code/node_modules:/usr/local/lib/node_modules' PATH: >- /code/.fun/root/usr/local/bin:/code/.fun/root/usr/local/sbin:/code/.fun/root/usr/bin:/code/.fun/root/usr/sbin:/code/.fun/root/sbin:/code/.fun/root/bin:/code:/code/node_modules/.bin:/code/.fun/python/bin:/code/.fun/node_modules/.bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/sbin:/bin PYTHONUSERBASE: /code/.fun/python CodeUri: ./service-demo/testfun03-netcore
The text was updated successfully, but these errors were encountered:
CodeUri: ./service-demo/testfun03-netcore --> CodeUri: ./service-demo/testfun03-netcore/bin/Debug/netcoreapp2.1
直接改为编译目录就能执行。(就是麻烦点,每次都要文件系统里先dotnet build,然后再到serverless 的local run) nodejs是目录一致的,dotnet是有bin目录的。
Sorry, something went wrong.
ChanDaoH
No branches or pull requests
Describe the bug
· Win10 环境 (估计mac没这个问题)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
FunctionCompute dotnetcore2.1 runtime inited.
FC Invoke Start RequestId: ba3cd554-a795-4081-9db2-62a858d50baf
2020-07-07T03:41:00.318Z ba3cd554-a795-4081-9db2-62a858d50baf [ERROR] System.IO.FileNotFoundException: project.dll cannot be found.
Screenshots
Desktop (please complete the following information):
Additional context
yml片段参考:
testfun03-netcore:
Type: 'Aliyun::Serverless::Function'
Properties:
Handler: 'project::example.App::HandleRequest'
Runtime: dotnetcore2.1
Timeout: 60
MemorySize: 512
InstanceConcurrency: 1
EnvironmentVariables:
LD_LIBRARY_PATH: >-
/code/.fun/root/usr/local/lib:/code/.fun/root/usr/lib:/code/.fun/root/usr/lib/x86_64-linux-gnu:/code/.fun/root/usr/lib64:/code/.fun/root/lib:/code/.fun/root/lib/x86_64-linux-gnu:/code:/code/lib:/usr/local/lib
NODE_PATH: '/code/node_modules:/usr/local/lib/node_modules'
PATH: >-
/code/.fun/root/usr/local/bin:/code/.fun/root/usr/local/sbin:/code/.fun/root/usr/bin:/code/.fun/root/usr/sbin:/code/.fun/root/sbin:/code/.fun/root/bin:/code:/code/node_modules/.bin:/code/.fun/python/bin:/code/.fun/node_modules/.bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/sbin:/bin
PYTHONUSERBASE: /code/.fun/python
CodeUri: ./service-demo/testfun03-netcore
The text was updated successfully, but these errors were encountered: