InternalsVisibleTo attribute isn't working

后端 未结 19 2514
眼角桃花
眼角桃花 2020-11-27 13:51

I am trying to use the InternalsVisibleTo assembly attribute to make my internal classes in a .NET class library visible to my unit test project. For some reas

19条回答
  •  悲&欢浪女
    2020-11-27 14:11

    I just resolved a similar problem with the InternalsVisibleTo Attribute. Everything seemed right and I couldn't figure out why the internal class I was aiming still wasn't accessible.

    Changing the case of the key from upper to lower case fixed the problem.

提交回复
热议问题