MichalStrehovsky / iltrim

MIT License
9 stars 1 forks source link

Implement analyzing and writing manifest resources #112

Closed vitek-karas closed 2 years ago

vitek-karas commented 2 years ago

Add a node for manifest resource (it's a handle after all). Implement analysis and writing for it. Add ability to token nodes to decide to not write themselves to the output (they can bring in other dependencies still). Use this mechanism to special case linker descriptor resource, which is processed as a normal resource node, but it doesn't write itself to the output.

Added simple tests.

Fixes https://github.com/MichalStrehovsky/iltrim/issues/88

vitek-karas commented 2 years ago

There seems to be a problem still - ILSpy says that "resource stream length is invalid". I'll have to look into that some more.