To reference a DLL outside a project, follow these steps to display the comments in the Class Library:
- The method or variable uses summary to add comments, such as: // <summary> send POST request // </Summary>
/// <Param name = "url"> request URL </param>
/// <Param name = "poststring"> for example, "name = xhan & Password = 1231" </param>
/// <Param name = "encoding"> encoding used to send and receive data </param>
/// <Returns> Server Response string </returns>
Public static string sendpostrequest (string URL, string poststring, encoding ){
Return "tempstr ";
} 2. "properties" of the project --> "generate" --> "output": Select "XML document file ". 3. Copy the generated DLL file and XML file with the same name as the project to "public folder referenced by the project ". 4. Re-generate the project to reference the DLL (ensure that the XML is copied to the binfile ).