-
Notifications
You must be signed in to change notification settings - Fork 791
Closed
Labels
ecosystem:dotnetrelating to the .NET / nuget ecosystemrelating to the .NET / nuget ecosystemenhancementNew feature or requestNew feature or request
Description
What would you like to be added:
Modern .net app, you can publish your app as a single self-contained file using PublishSingleFile, it packs everything inside including deps.json.
Why is this needed:
syft doesn't pick up the embedded deps.json in single-file executables, so it misses dependency info for .net apps built this way.
Additional context:
t deps.json file is baked into the singlefile bundle as a bin resource, so to get it out you gotta read the executables resource section and parse the data, adding this would let syft report deps more accurately for modern .net apps
build with
--self-contained true \
-p:PublishSingleFile=true
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ecosystem:dotnetrelating to the .NET / nuget ecosystemrelating to the .NET / nuget ecosystemenhancementNew feature or requestNew feature or request
Type
Projects
Status
Done