构建定义中的问题。 VS2017 .Net Core [英] Issue in build definition. VS2017 .Net Core

查看:67
本文介绍了构建定义中的问题。 VS2017 .Net Core的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team,

创建构建时我遇到了一个问题。 .Net Core的构建定义。以下链接中提到的步骤"https://docs.microsoft.com/en-us/vsts/build-release/apps/aspnet/build-aspnet-core?tabs = gitvsts%2Cweb%2Cdeploy-windows"。

I'm facing one issue while creating build. Build Definition for .Net Core. Following Steps mentioned in link "https://docs.microsoft.com/en-us/vsts/build-release/apps/aspnet/build-aspnet-core?tabs=gitvsts%2Cweb%2Cdeploy-windows".

场景 - 需要使用声纳代码分析。在运行代码分析中,Build会因以下问题而失败。在线使用VSTS。 Sonarqube版本是6.7。 

Scenario - Need to use sonarqube code analysis. The Build is getting fail at Run Code Analysis with below issue. Using VSTS online. Sonarqube version is 6.7. 


2018-03-13T13:34:04.4059764Z ## [section]开始:运行代码分析

推荐答案

Hi Sumeet Gill,

Hi Sumeet Gill,

感谢您在此发帖。

您是否检查过日志中可能的原因?你的MSBuild的版本是什么?您可以升级MSBuild并定位编译所需的版本。

Have you check the possible causes in the log? What is the version of your MSBuild? You could upgrade MSBuild and target the version you need for compile.

如果可能,您可以查看以下文档以获取帮助:

If possible, you can check following documents for helps:

https: //blogs.msdn.microsoft.com/devops/2015/09/28/quickstart-analyzing-net-projects-with-sonarqube-msbuild-or-visual-studio-online-and-third-party-analyzers-stylecop- resharper /

http ://www.dotnetcurry.com/visualstudio/1306/sonarcube-visual-studio-2015-tfs-build

如果以上不能解决您的问题,请分享您的配置关于VSTS给我们。

If above not resolve your question, please share your configuration on VSTS to us.


这篇关于构建定义中的问题。 VS2017 .Net Core的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆