SonarCloud with VSTS has error Duplicate ProjectGuid: “00000000-0000-0000-0000-000000000000”

前端 未结 1 1624
花落未央
花落未央 2021-01-24 12:53

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

WARNING: The following

相关标签:
1条回答
  • 2021-01-24 13:56

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

    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)

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

    0 讨论(0)
提交回复
热议问题