Skip to content

Null reference exception if binary has no version info #1

@Rast1234

Description

@Rast1234

I tried to generate proxy and Spartacus failed with null reference exception. Reason: my DLL has no version info. After including dummy resource as suggested here, everything worked fine. I believe this can be fixed in GenerateResourceFile to expect null versionInfo or its fields:
https://github.com/sadreck/Spartacus/blob/main/Spartacus/Modes/PROXY/SolutionGenerator.cs#L130

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions