System.Type.GetCustomAttributes on an assembly loaded from a network share is not showing all attributes

后端 未结 1 1371
慢半拍i
慢半拍i 2021-01-23 09:19

I have a managed dll – repro.dll, which contains class TestModuleCommand decorated with 2 attributes: System.ObsoleteAttribute and System.Management.Automation.CmdletAttribute (

1条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-23 09:46

    This is the answer that I found: Haibo Luo - My Attribute Disappears

    0 讨论(0)
提交回复
热议问题