How to debug Unity resolution?

后端 未结 3 1954
离开以前
离开以前 2021-02-19 01:42

In a WPF project(with prism) we are using Unity as DI framework.

Recently, after we merged two big branches, we were not able to start our application, we w

3条回答
  •  孤独总比滥情好
    2021-02-19 02:04

    You can configure the Assembly binding log viewer Fusion Log to help diagnose problematic Unity resolutions.

    It's installed with Visual Studio and you can just type "fuslogvw" into the VS command prompt to launch.

    Otherwise, this may help with configuring the logger: How do I enable assembly bind failure logging (Fusion) in .NET?

提交回复
热议问题