Skip to content

Cannot running .NET 8.0 version on .NET 472 version of app #19

@kant2002

Description

@kant2002

When processing .NET FW 4.7.2 version using .NET 8.0 Confuser, it incorrectly import System.UInt32 from System.Runtime/System.Private.CoreLib which unavalilable in .NET FW 4.7.2

That happens during calls to dnlib.DotNet.Importer which copy from assembly in runtime. I think Confuser.Runtime should be loaded in separate assembly context for better management of the dependencies.

Probably Confuser.CLI / ConfuserEx application should have 2 version of runtime assemblies, for each runtime target, and select based on the target application configuration. For MSBuild task, there should be just one assembly, corresponding to the version of the TFM under which task is built.

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