-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
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
5.6.0 dotnet lambda package does not copy all files from publish folder #248
Comments
@stpanzer Looks like in
I do see in your log that you are using Needs review with the team. Thanks, |
@stpanzer sorry for breaking your debug workflow. I'll work on getting a fix out quickly. For background we have been working on adding Native AOT support and we wanted to not bundle the |
@normj @ashishdhingra Thanks for the quick responses! Given the code linked above, I assume there isn't a workaround for 5.6.0? Unfortunately, I've been looking at patching the sam cli locally to stop this behavior but it's a bit more complicated than I'd hoped, and I'm no python dev 😄. |
Fix issue #248 where excluding pdb files from publishing broke SAM debugging
The code is in the pipeline for release, so unless something unusual happens the fix should be out within the next couple hours. Only work around till then I can think of is if you pull 5.5.0 into a local folder and set the folder up as a NuGet feed. Then put a nuget.config file that only has the local feed. |
Version 5.6.1 of Amazon.Lambda.Tools is out. Sorry again for the regression and thanks for letting us know. |
Closing since the fix has been released. |
|
Describe the bug
When running
dotnet lambda package
, the zip stage skips the PDB file. This breaks local debugging for SAM applications.I've confirmed the previous behavior in 5.5.0 (see repro steps) was to copy the PDB file.
Expected Behavior
The PDB file to be copied into the zip.
Current Behavior
PDB file was not copied.
Reproduction Steps
Note that this works fine on 5.5.0:
Possible Solution
No response
Additional Information/Context
No response
Targeted .NET platform
6.0.302
CLI extension version
Environment details (OS name and version, etc.)
WSL ubuntu
The text was updated successfully, but these errors were encountered: