sam build --template serverless.template --build-dir C:/JNKNS/Organization
上面的命令产生类似
的输出... zipping: Microsoft.VisualStudio.Web.CodeGeneration.Core.dll
... zipping: Microsoft.VisualStudio.Web.CodeGeneration.dll
... zipping: Failed to compress file: open Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.dll: The system cannot find the path specified.
Lambda project successfully packaged: C:\JNKNS\Organization\GetOrganizationToAssociate\LearningMate.Products.Organization.zip
Build Succeeded
Built Artifacts : ..\..\..\..\..\..\..\JNKNS\Organization
Built Template : ..\..\..\..\..\..\..\JNKNS\Organization\template.yaml
我注意到,此 Microsoft.VisualStudio.Web.CodeGeneration.EntityFrameworkCore.dll 并未在构建工件目录中生成。