在我的 .NET Framework (C#) 解决方案中,我使用一些 Roslyn 分析器,我在 .editorconfig 文件中调整了其设置。
当我在 VS 2019 中本地构建解决方案时,我没有收到来自分析器的警告。
当我在 Azure DevOps 管道任务中构建解决方案时,会生成 Roslyn 相关警告:
在我看来,DevOps 管道任务会忽略 .editorconfig 文件中的设置。如何使管道任务考虑 .editorconfig 文件设置?
msbuild editorconfig azure-devops azure-pipelines
azure-devops ×1
azure-pipelines ×1
editorconfig ×1
msbuild ×1