From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Library:Costura.Fody" |
|---|
| claim | "Costura embeds each dependency as a managed resource named costura.<lowercased file name>; references taken from runtime folders (IncludeRuntimeReferences) get the folder as dotted infix (costura.<dir>.<name>) and satellite resource assemblies the culture folder (costura.<culture>.<name>). .compressed is appended unless DisableCompression is set (default false, so compressed by default); a .pdb is embedded alongside when IncludeDebugSymbols is on. costura.metadata, the index, is always written. Native libraries named in the config's unmanaged-assembly lists get the prefix costura_win_x86., costura_win_x64. or costura_win_arm64. instead of costura.; the older costura32./costura64. prefixes are only recognised when already present as resources (with a warning), not written by this version. Compressed content is a raw DeflateStream." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:Costura.Fody" |
|---|
| observed_in | |
|---|
|
|---|
| data | | prefix | "costura." |
|---|
| suffix_compressed | ".compressed" |
|---|
| metadata_resource | "costura.metadata" |
|---|
| compression | "raw DEFLATE (System.IO.Compression.DeflateStream)" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "resource name parsing" |
|---|
| repo | "https://github.com/Fody/Costura" |
|---|
| commit | "f2b799eb539226f12efcd2b815cfa139c833daa5" |
|---|
| path | "src/Costura.Fody/ResourceNameFinder.cs" |
|---|
| lines | "20-86" |
|---|
|
| type | "source" |
|---|
| detail | "resource name and .compressed suffix at embed time" |
|---|
| repo | "https://github.com/Fody/Costura" |
|---|
| commit | "f2b799eb539226f12efcd2b815cfa139c833daa5" |
|---|
| path | "src/Costura.Fody/ResourceEmbedder.cs" |
|---|
| lines | "506-523" |
|---|
|
| type | "source" |
|---|
| detail | "runtime LoadStream inflates with DeflateStream" |
|---|
| repo | "https://github.com/Fody/Costura" |
|---|
| commit | "f2b799eb539226f12efcd2b815cfa139c833daa5" |
|---|
| path | "src/Costura.Template/Common.cs" |
|---|
| lines | "199-211" |
|---|
|
| type | "source" |
|---|
| detail | "GetResourceNamePrefix adds RelativePrefix (runtime reference folder) and the culture folder for resources assemblies." |
|---|
| repo | "https://github.com/Fody/Costura" |
|---|
| commit | "f2b799eb539226f12efcd2b815cfa139c833daa5" |
|---|
| path | "src/Costura.Fody/Reference.cs" |
|---|
| lines | "94-125" |
|---|
|
| type | "source" |
|---|
| detail | "Native loop assigns the three costura_win_* prefixes from config lists; EmbedMetadata always adds costura.metadata." |
|---|
| repo | "https://github.com/Fody/Costura" |
|---|
| commit | "f2b799eb539226f12efcd2b815cfa139c833daa5" |
|---|
| path | "src/Costura.Fody/ResourceEmbedder.cs" |
|---|
| lines | "40-190" |
|---|
|
| type | "source" |
|---|
| detail | "DisableCompression defaults to false." |
|---|
| repo | "https://github.com/Fody/Costura" |
|---|
| commit | "f2b799eb539226f12efcd2b815cfa139c833daa5" |
|---|
| path | "src/Costura.Fody/Configuration.cs" |
|---|
| lines | "19" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Resource naming" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T20:03:21.847Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T07:02:24.025Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read Costura at f2b799e Reference.cs 85-130 (GetResourceNamePrefix with RelativePrefix and culture folder, lowercased), ResourceEmbedder.cs (pdb under IncludeDebugSymbols, native costura_win_x86./x64./arm64. prefixes, costura.metadata, .compressed at ~523) and ResourceNameFinder.cs (costura32/costura64 only recognised with a warning). Matches." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T04:14:02.799Z" |
|---|
| summary | "Added the missed name parts: runtime-reference and satellite-assembly infixes, DisableCompression, and that costura32/costura64 are read but never written. Read ResourceEmbedder, Reference and…" |
|---|
| changed | |
|---|
|
|
|---|