为了账号安全,请及时绑定邮箱和手机立即绑定

升级到.Net Core 2.0之后,打包期间出现“执行Lambda打包的未知错误”错误

升级到.Net Core 2.0之后,打包期间出现“执行Lambda打包的未知错误”错误

C#
眼眸繁星 2021-04-03 14:11:14
我在.Net Core Lambda项目中将目标框架从netcoreapp1.0更改为netcoreapp2.0。打包lambda时,执行命令时出错dotnet lambda package -c Release -f netcoreapp2.0:执行Lambda打包时发生未知错误:找不到路径的一部分dotnet lambda package -c Release -f netcoreapp2.0Executing publish commandDeleted previous publish folder... invoking 'dotnet publish', working folder 'C:\Source\\Project.Lambda\bin\Release\netcoreapp2.0\publish'... publish: Microsoft (R) Build Engine version 15.5.180.51428 for .NET Core... publish: Copyright (C) Microsoft Corporation. All rights reserved.... publish:   Restore completed in 32.96 ms for C:\Source\Project\Project.csproj.... publish:   Restore completed in 50.69 ms for C:\Source\Project.Lambda\Project.Lambda.csproj.... publish:   Restore completed in 80.61 ms for C:\Source\Project.Lambda\Project.Lambda.csproj.... publish:   Project -> C:\Source\Project\bin\Release\netcoreapp2.0\Project.dll... publish:   Project.Lambda -> C:\Source\Project.Lambda\bin\Release\netcoreapp2.0\Project.Lambda.dll... publish:   Project.Lambda -> C:\Source\Project.Lambda\bin\Release\netcoreapp2.0\publish\Flattening platform specific dependencies... flatten: runtime/unix/lib/_._
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 144 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信