发布WebApi项目时,提示未包含bin\yourDocumentationFile.xml文档文件

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>

 

posted @ 2018-08-19 23:16  沙耶  阅读(769)  评论(0编辑  收藏  举报