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

后端 未结 2 1903
刺人心
刺人心 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: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.

提交回复
热议问题