Skip to content
This repository was archived by the owner on Jun 10, 2023. It is now read-only.
This repository was archived by the owner on Jun 10, 2023. It is now read-only.

System.TypeInitializationException during runtime when embedding Unmanaged Assemblies #5

@chrisbbe

Description

@chrisbbe

While embedding unmanaged assemblies, the following exception is thrown during startup of the application.

Application: XXX.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidProgramException
   at PostSharp.Community.Packer.Templates.ILTemplateWithUnmanagedHandler..cctor()

Exception Info: System.TypeInitializationException
   at PostSharp.Community.Packer.Templates.ILTemplateWithUnmanagedHandler.Attach()
   at <Module>..cctor()

Exception Info: System.TypeInitializationException

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions