1. 程式人生 > >發布WebApi項目時包含XML文檔文件

發布WebApi項目時包含XML文檔文件

out element you color style XML directory each rect

Open your publishprofile (*.pubxml) and include this code into "Project" element:

<ItemGroup>
    <Content Include="bin\yourDocumentationFile.xml">
        <CopyToOutputDirectory>true</CopyToOutputDirectory>
    </Content>
    <!-- Include a content to each documentation file 
--> </ItemGroup>

發布WebApi項目時包含XML文檔文件