Closed kyl3t closed 1 month ago
As mentioned by @normj in this discussion - "code-mount-directory"
can be set in the aws-lambda-tools-defaults.json
to reference a path that the dotnet lambda command eventually uses.
Resolving this issue assuming this is already resolved in the other thread above. Please let us know if you have any other questions.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Hi, I have a question regarding running
sam build
on a .NET 8 Serverless NativeAOT project with project references referencing an adjacent directory.My project structure is as below, building worked fine when building only the Cwoc.Lambda project but ever since including shared projects from the shared folder, the
docker run
command that is eventually called is not able to locate these files as they aren't mounted.Please let me know of any workarounds or options to address this. Thanks