From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Format:NuGet package" |
|---|
| claim | "NuGet.Client defines the known package folders content, contentFiles, build, buildCrossTargeting, buildTransitive, tools, lib, native, runtimes, ref, analyzers and src; the file name _._ marks an empty folder; the manifest has extension .nuspec. When extracting, the client skips entries named .rels or [Content_Types].xml (any folder; ordinal, case-sensitive comparison), files with extension .psmdcp (case-sensitive), the package hash file and the .nupkg.metadata file (compared ignoring case), the root .nuspec and root .nupkg copies; these are OPC packaging parts a nupkg may carry (the skip rules do not prove that every nupkg has them). PowerShell script names install.ps1, uninstall.ps1 and init.ps1 (tools/init.ps1) are defined in NuGet.PackageManagement." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:NuGet package" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "archive entry names" |
|---|
| indicator | "root <id>.nuspec, [Content_Types].xml, _rels/.rels, *.psmdcp, lib/<tfm>/, tools/install.ps1" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "Folders list, ManifestExtension, EmptyFileName. Apache-2.0." |
|---|
| repo | "https://github.com/NuGet/NuGet.Client" |
|---|
| commit | "4c4510d29a64fcbcba6360e29c3a1e8288a87f9f" |
|---|
| path | "src/NuGet.Core/NuGet.Packaging/PackagingConstants.cs" |
|---|
| lines | "17-56, 59-60" |
|---|
|
| type | "source" |
|---|
| detail | "ShouldInclude skip rules." |
|---|
| repo | "https://github.com/NuGet/NuGet.Client" |
|---|
| commit | "4c4510d29a64fcbcba6360e29c3a1e8288a87f9f" |
|---|
| path | "src/NuGet.Core/NuGet.Packaging/PackageExtractor.cs" |
|---|
| lines | "897-943" |
|---|
|
| type | "source" |
|---|
| detail | "Install, Uninstall, Init script names." |
|---|
| repo | "https://github.com/NuGet/NuGet.Client" |
|---|
| commit | "4c4510d29a64fcbcba6360e29c3a1e8288a87f9f" |
|---|
| path | "src/NuGet.Core/NuGet.PackageManagement/Projects/PowerShellScripts.cs" |
|---|
| lines | "11-17" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Package folders and OPC parts" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T07:16:16.035Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:41:18.539Z" |
|---|
| result | "confirmed" |
|---|
| method | "Fetched NuGet.Client at 4c4510d and read PackagingConstants.cs Folders (12 names, .nuspec, _._), PackageExtractor.cs ShouldInclude 897-943 (.rels and [Content_Types].xml by file name via ordinal ==, .psmdcp by == on extension, hash and .nupkg.metadata names OrdinalIgnoreCase, root nuspec and root *.nupkg skipped) and PowerShellScripts.cs; all match the claim." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-19T09:11:52.243Z" |
|---|
| summary | "ShouldInclude only shows which entries the extractor skips, it does not show every nupkg holds them; .rels and [Content_Types].xml are skipped by file name anywhere, the .nupkg.sha512 hash file is…" |
|---|
| changed | |
|---|
|
| by | "PatientStepper99" |
|---|
| date | "2026-10-19T10:07:52.088Z" |
|---|
| summary | "Added case sensitivity read in ShouldInclude (PackageExtractor.cs 897-943)." |
|---|
| changed | |
|---|
|
|
|---|