• <bdo id='KxpiB'></bdo><ul id='KxpiB'></ul>
      <i id='KxpiB'><tr id='KxpiB'><dt id='KxpiB'><q id='KxpiB'><span id='KxpiB'><b id='KxpiB'><form id='KxpiB'><ins id='KxpiB'></ins><ul id='KxpiB'></ul><sub id='KxpiB'></sub></form><legend id='KxpiB'></legend><bdo id='KxpiB'><pre id='KxpiB'><center id='KxpiB'></center></pre></bdo></b><th id='KxpiB'></th></span></q></dt></tr></i><div id='KxpiB'><tfoot id='KxpiB'></tfoot><dl id='KxpiB'><fieldset id='KxpiB'></fieldset></dl></div>

        <tfoot id='KxpiB'></tfoot>
      1. <legend id='KxpiB'><style id='KxpiB'><dir id='KxpiB'><q id='KxpiB'></q></dir></style></legend>

        <small id='KxpiB'></small><noframes id='KxpiB'>

        带有 VSTS 的 SonarCloud 有错误 Duplicate ProjectGuid: &quot;00

        SonarCloud with VSTS has error Duplicate ProjectGuid: quot;00000000-0000-0000-0000-000000000000quot;(带有 VSTS 的 SonarCloud 有错误 Duplicate ProjectGuid: quot;00000000-0000-0000-0000-000000000000quot;)
          <tbody id='TiPkd'></tbody>

          • <i id='TiPkd'><tr id='TiPkd'><dt id='TiPkd'><q id='TiPkd'><span id='TiPkd'><b id='TiPkd'><form id='TiPkd'><ins id='TiPkd'></ins><ul id='TiPkd'></ul><sub id='TiPkd'></sub></form><legend id='TiPkd'></legend><bdo id='TiPkd'><pre id='TiPkd'><center id='TiPkd'></center></pre></bdo></b><th id='TiPkd'></th></span></q></dt></tr></i><div id='TiPkd'><tfoot id='TiPkd'></tfoot><dl id='TiPkd'><fieldset id='TiPkd'></fieldset></dl></div>

            <legend id='TiPkd'><style id='TiPkd'><dir id='TiPkd'><q id='TiPkd'></q></dir></style></legend>

            1. <tfoot id='TiPkd'></tfoot>

              <small id='TiPkd'></small><noframes id='TiPkd'>

                <bdo id='TiPkd'></bdo><ul id='TiPkd'></ul>

                  本文介绍了带有 VSTS 的 SonarCloud 有错误 Duplicate ProjectGuid: &quot;00000000-0000-0000-0000-000000000000&quot;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我们将 SonarCloud 添加到大型解决方案的构建管道中.我们的解决方案中只分析了一个项目,但我们看到了这个警告

                  We added SonarCloud to the build pipeline of a large solution. Only one project in our solution is analyzed but we see this warning

                  警告:以下项目没有有效的 ProjectGuid,并且不是使用有效的解决方案 (.sln) 构建的,因此将从分析中跳过...
                  D:a1sMyAppMyApp.EntitiesMyApp.Entities.csproj, D:a1sMyAppMyApp.CoreMyApp.Core.csproj, D:a1sMyAppMyApp.Mobile.BackendMyApp.Mobile.Backend.csproj, D:a1sMyAppMyApp.EntitiesMyApp.Entities.csproj, D:a1sMyAppMyApp.CoreMyApp.Core.csproj, D:a1sMyAppMyApp.WebMyApp.Web.csproj
                  警告:重复的 ProjectGuid:00000000-0000-0000-0000-000000000000".SonarQube 不会分析该项目.项目文件:D:a1sMyAppMyApp.EntitiesMyApp.Entities.csproj"
                  警告:重复的 ProjectGuid:00000000-0000-0000-0000-000000000000".SonarQube 不会分析该项目.项目文件:D:a1sMyAppMyApp.CoreMyApp.Core.csproj"
                  警告:重复的 ProjectGuid:00000000-0000-0000-0000-000000000000".SonarQube 不会分析该项目.项目文件:D:a1sMyAppMyApp.Mobile.BackendMyApp.Mobile.Backend.csproj"
                  警告:重复的 ProjectGuid:00000000-0000-0000-0000-000000000000".SonarQube 不会分析该项目.项目文件:D:a1sMyAppMyApp.WebMyApp.Web.csproj"

                  WARNING: The following projects do not have a valid ProjectGuid and were not built using a valid solution (.sln) thus will be skipped from analysis...
                  D:a1sMyAppMyApp.EntitiesMyApp.Entities.csproj, D:a1sMyAppMyApp.CoreMyApp.Core.csproj, D:a1sMyAppMyApp.Mobile.BackendMyApp.Mobile.Backend.csproj, D:a1sMyAppMyApp.EntitiesMyApp.Entities.csproj, D:a1sMyAppMyApp.CoreMyApp.Core.csproj, D:a1sMyAppMyApp.WebMyApp.Web.csproj
                  WARNING: Duplicate ProjectGuid: "00000000-0000-0000-0000-000000000000". The project will not be analyzed by SonarQube. Project file: "D:a1sMyAppMyApp.EntitiesMyApp.Entities.csproj"
                  WARNING: Duplicate ProjectGuid: "00000000-0000-0000-0000-000000000000". The project will not be analyzed by SonarQube. Project file: "D:a1sMyAppMyApp.CoreMyApp.Core.csproj"
                  WARNING: Duplicate ProjectGuid: "00000000-0000-0000-0000-000000000000". The project will not be analyzed by SonarQube. Project file: "D:a1sMyAppMyApp.Mobile.BackendMyApp.Mobile.Backend.csproj"
                  WARNING: Duplicate ProjectGuid: "00000000-0000-0000-0000-000000000000". The project will not be analyzed by SonarQube. Project file: "D:a1sMyAppMyApp.WebMyApp.Web.csproj"

                  项目结构是

                  推荐答案

                    <PropertyGroup>
                      <TargetFramework>netstandard2.0</TargetFramework>
                       <ProjectGuid>{fc2f0da6-ddfe-67b2-8dae-eb292f55436f}</ProjectGuid>
                    </PropertyGroup>

                  您需要执行以下操作:-->为您的文件添加标签或标签ProjectGuid",扩展名为 .csproj,每个文件都有不同的 Guid.

                  You need to do the following: --> Add tag or label 'ProjectGuid ' to your files with .csproj extension with a different Guid for each file.

                  查看代码(此代码不可执行)

                  VIEW CODE (this code is not executable)

                  -->对于生成 Guid,您可以从https://www.guidgenerator.com/online-guid-generator.aspx

                  --> And for generate Guid, you can do it from https://www.guidgenerator.com/online-guid-generator.aspx

                  这篇关于带有 VSTS 的 SonarCloud 有错误 Duplicate ProjectGuid: &quot;00000000-0000-0000-0000-000000000000&quot;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Adding and removing users from Active Directory groups in .NET(在 .NET 中的 Active Directory 组中添加和删除用户)
                  set equality in linq(在 linq 中设置相等)
                  HashSet conversion to List(HashSet 转换为 List)
                  How to set timeout for webBrowser navigate event(如何为 webBrowser 导航事件设置超时)
                  Test whether two IEnumerablelt;Tgt; have the same values with the same frequencies(测试两个IEnumerablelt;Tgt;具有相同频率的相同值)
                  How do you determine if two HashSets are equal (by value, not by reference)?(您如何确定两个 HashSet 是否相等(按值,而不是按引用)?)
                1. <tfoot id='CmoUa'></tfoot>
                  1. <legend id='CmoUa'><style id='CmoUa'><dir id='CmoUa'><q id='CmoUa'></q></dir></style></legend>

                      <bdo id='CmoUa'></bdo><ul id='CmoUa'></ul>

                            <tbody id='CmoUa'></tbody>
                          <i id='CmoUa'><tr id='CmoUa'><dt id='CmoUa'><q id='CmoUa'><span id='CmoUa'><b id='CmoUa'><form id='CmoUa'><ins id='CmoUa'></ins><ul id='CmoUa'></ul><sub id='CmoUa'></sub></form><legend id='CmoUa'></legend><bdo id='CmoUa'><pre id='CmoUa'><center id='CmoUa'></center></pre></bdo></b><th id='CmoUa'></th></span></q></dt></tr></i><div id='CmoUa'><tfoot id='CmoUa'></tfoot><dl id='CmoUa'><fieldset id='CmoUa'></fieldset></dl></div>

                            <small id='CmoUa'></small><noframes id='CmoUa'>