发布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>

猜你喜欢

转载自www.cnblogs.com/ShaYeBlog/p/9503212.html