Is it necessary to deploy the XML file in a class library?

后端 未结 2 1898
刺人心
刺人心 2020-12-18 19:13

I have developed a lot of class library projects in VS 2012 to be used in Windows Forms and Web forms applications.

The question is simple. Do I need to deploy the D

相关标签:
2条回答
  • 2020-12-18 19:37

    No, in most cases you do not need it. If there is an external DLL that needs to be copied local and referenced using the config, then you might need to, but that is somewhat rare.

    0 讨论(0)
  • 2020-12-18 19:39

    The XML file contains the doc comments for the public types & members in the assembly.

    You only need it if you want Visual Studio to show documentation in IntelliSense.

    If you're deploying a consumer-facing app (as opposed to a developer-facing reusable library), you do not need it.

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