我在.Net Core Lambda项目中将目标框架从netcoreapp1.0更改为netcoreapp2.0。
打包lambda时,执行命令时出错dotnet lambda package -c Release -f netcoreapp2.0:
执行Lambda打包时发生未知错误:找不到路径的一部分
dotnet lambda package -c Release -f netcoreapp2.0
Executing publish command
Deleted 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/_._
相关分类