通过命令行执行netcore编译过程中xml文档的问题处理

在netcore下面我们默认情况下面在vs里面将xml进行输出就行了,但是在使用命令行dotnet build -c release/debug 的过程中间我们的xml描述性文档就不输出了.

碰到该问题的话是怎么回事儿呢?

直接在项目文件的csproj文件通过记事本或者vscode等第三方工具打开.

在PropertyGroup节点下面设置生成文档文件的属性这是为true,如下:<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <DocumentationFile>bin\doc\Bailun.FrontService.API.xml</DocumentationFile

阅读全文: http://gitbook.cn/gitchat/activity/5d674c246f0bab4795c42260

您还可以下载 **** 旗下精品原创内容社区 GitChat App ,阅读更多 GitChat 专享技术内容哦。

通过命令行执行netcore编译过程中xml文档的问题处理