问题描述
亲爱的支持,
当我们使用构建选项"XML文档文件"在.net核心API中创建项目时;检查(例如swagger),我们发布到Azure App或本地发布,不复制xml文件。 xml位于bin文件夹中,但在wwwroot文件夹中不显示
。
我在visual studio 2015中尝试了相同的选项 - >它正在运行。
然后使用VS2017,我们必须手动将xml复制到wwwroot文件夹。
提前致谢
Xavier
Dear Support,
when we create a project in .net core API with the buil option "XML documentation file" checked (for swagger for example), and we publish to Azure App or in a local publishment, the xml file isn't copied. The xml is in the bin folder but not present in the wwwroot folder.
I tried the same option in visual studio 2015 --> It's working.
Then with VS2017 we must copy the xml manually to the wwwroot folder.
Do you have any ideas to resolve the issue?
Thanks in advance
Xavier
这篇关于VS2017 + Project .net核心XML文档文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!