Skip to content

[Bug]: “ReactiveUI.ViewForMixins”的类型初始值设定项引发异常 #3934

Open
@yangl1025

Description

@yangl1025

Describe the bug 🐞

System.TypeInitializationException: “ReactiveUI.ViewForMixins”的类型初始值设定项引发异常。 ---> System.BadImageFormatException: 未能加载文件或程序集“System.ValueTuple, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51”或它的某一个依赖项。不应出于执行的目的加载引用程序集。只能在仅限反射的加载程序上下文中加载引用程序集。 (异常来自 HRESULT:0x80131058) ---> System.BadImageFormatException: 无法加载引用程序集来执行。

Step to reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Reproduction repository

https://github.com/reactiveui/ReactiveUI

Expected behavior

when i run the vs ,it's ok。but I use the setup program ,when I install the msi ,the program throw exception。

Screenshots 🖼️

No response

IDE

Visual Studio 2022

Operating system

windows

Version

11

Device

windows

ReactiveUI Version

19.6.1

Additional information ℹ️

No response

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