Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSBuild warnings when building runtime test projects #70658

Closed
SingleAccretion opened this issue Jun 13, 2022 · 4 comments · Fixed by #80573
Closed

MSBuild warnings when building runtime test projects #70658

SingleAccretion opened this issue Jun 13, 2022 · 4 comments · Fixed by #80573

Comments

@SingleAccretion
Copy link
Contributor

Reproduction:

# Any non-merged runtime test should do
runtime> dotnet build src\tests\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro.csproj -c Release

Expected result: test builds without warnings.

Actual result: a couple of MSB4011 warnings are issued:

Build succeeded.

C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro\Vector256_ro.csproj.nuget.g.props(17,5):
  warning MSB4011: "C:\Users\Accretion\.nuget\packages\microsoft.net.illink.tasks\7.0.100-1.22308.1\build\Microsoft.NET.ILLink.Tasks.props" cannot be imported again.
  It was already imported at "C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\Common\test_dependencies\test_dependencies\test_dependencies.csproj.nuget.g.props (16,5)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Accretion\source\dotnet\runtime\src\tests\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro.csproj]
C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro\Vector256_ro.csproj.nuget.g.props(18,5):
  warning MSB4011: "C:\Users\Accretion\.nuget\packages\microsoft.net.compilers.toolset\4.3.0-3.22281.14\build\Microsoft.Net.Compilers.Toolset.props" cannot be imported again.
  It was already imported at "C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\Common\test_dependencies\test_dependencies\test_dependencies.csproj.nuget.g.props (17,5)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Accretion\source\dotnet\runtime\src\tests\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro.csproj]
C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro\Vector256_ro.csproj.nuget.g.props(17,5):
  warning MSB4011: "C:\Users\Accretion\.nuget\packages\microsoft.net.illink.tasks\7.0.100-1.22308.1\build\Microsoft.NET.ILLink.Tasks.props" cannot be imported again.
  It was already imported at "C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\Common\test_dependencies\test_dependencies\test_dependencies.csproj.nuget.g.props (16,5)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Accretion\source\dotnet\runtime\src\tests\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro.csproj]
C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro\Vector256_ro.csproj.nuget.g.props(18,5):
  warning MSB4011: "C:\Users\Accretion\.nuget\packages\microsoft.net.compilers.toolset\4.3.0-3.22281.14\build\Microsoft.Net.Compilers.Toolset.props" cannot be imported again.
  It was already imported at "C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\Common\test_dependencies\test_dependencies\test_dependencies.csproj.nuget.g.props (17,5)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Accretion\source\dotnet\runtime\src\tests\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro.csproj]
    4 Warning(s)
    0 Error(s)

This is a "quality of life" issue; the build still succeeds and everything works.

@ghost
Copy link

ghost commented Jun 13, 2022

Tagging subscribers to this area: @hoyosjs
See info in area-owners.md if you want to be subscribed.

Issue Details

Reproduction:

# Any non-merged runtime test should do
runtime> dotnet build src\tests\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro.csproj -c Release

Expected result: test builds without warnings.

Actual result: a couple of MSB4011 warnings are issued:

Build succeeded.

C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro\Vector256_ro.csproj.nuget.g.props(17,5):
  warning MSB4011: "C:\Users\Accretion\.nuget\packages\microsoft.net.illink.tasks\7.0.100-1.22308.1\build\Microsoft.NET.ILLink.Tasks.props" cannot be imported again.
  It was already imported at "C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\Common\test_dependencies\test_dependencies\test_dependencies.csproj.nuget.g.props (16,5)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Accretion\source\dotnet\runtime\src\tests\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro.csproj]
C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro\Vector256_ro.csproj.nuget.g.props(18,5):
  warning MSB4011: "C:\Users\Accretion\.nuget\packages\microsoft.net.compilers.toolset\4.3.0-3.22281.14\build\Microsoft.Net.Compilers.Toolset.props" cannot be imported again.
  It was already imported at "C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\Common\test_dependencies\test_dependencies\test_dependencies.csproj.nuget.g.props (17,5)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Accretion\source\dotnet\runtime\src\tests\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro.csproj]
C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro\Vector256_ro.csproj.nuget.g.props(17,5):
  warning MSB4011: "C:\Users\Accretion\.nuget\packages\microsoft.net.illink.tasks\7.0.100-1.22308.1\build\Microsoft.NET.ILLink.Tasks.props" cannot be imported again.
  It was already imported at "C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\Common\test_dependencies\test_dependencies\test_dependencies.csproj.nuget.g.props (16,5)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Accretion\source\dotnet\runtime\src\tests\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro.csproj]
C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro\Vector256_ro.csproj.nuget.g.props(18,5):
  warning MSB4011: "C:\Users\Accretion\.nuget\packages\microsoft.net.compilers.toolset\4.3.0-3.22281.14\build\Microsoft.Net.Compilers.Toolset.props" cannot be imported again.
  It was already imported at "C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\Common\test_dependencies\test_dependencies\test_dependencies.csproj.nuget.g.props (17,5)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Accretion\source\dotnet\runtime\src\tests\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro.csproj]
    4 Warning(s)
    0 Error(s)

This is a "quality of life" issue; the build still succeeds and everything works.

Author: SingleAccretion
Assignees: -
Labels:

area-Infrastructure-coreclr

Milestone: -

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Jun 13, 2022
@agocke agocke added area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI and removed area-Infrastructure-coreclr labels Jul 1, 2022
@ghost
Copy link

ghost commented Jul 1, 2022

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Issue Details

Reproduction:

# Any non-merged runtime test should do
runtime> dotnet build src\tests\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro.csproj -c Release

Expected result: test builds without warnings.

Actual result: a couple of MSB4011 warnings are issued:

Build succeeded.

C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro\Vector256_ro.csproj.nuget.g.props(17,5):
  warning MSB4011: "C:\Users\Accretion\.nuget\packages\microsoft.net.illink.tasks\7.0.100-1.22308.1\build\Microsoft.NET.ILLink.Tasks.props" cannot be imported again.
  It was already imported at "C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\Common\test_dependencies\test_dependencies\test_dependencies.csproj.nuget.g.props (16,5)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Accretion\source\dotnet\runtime\src\tests\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro.csproj]
C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro\Vector256_ro.csproj.nuget.g.props(18,5):
  warning MSB4011: "C:\Users\Accretion\.nuget\packages\microsoft.net.compilers.toolset\4.3.0-3.22281.14\build\Microsoft.Net.Compilers.Toolset.props" cannot be imported again.
  It was already imported at "C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\Common\test_dependencies\test_dependencies\test_dependencies.csproj.nuget.g.props (17,5)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Accretion\source\dotnet\runtime\src\tests\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro.csproj]
C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro\Vector256_ro.csproj.nuget.g.props(17,5):
  warning MSB4011: "C:\Users\Accretion\.nuget\packages\microsoft.net.illink.tasks\7.0.100-1.22308.1\build\Microsoft.NET.ILLink.Tasks.props" cannot be imported again.
  It was already imported at "C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\Common\test_dependencies\test_dependencies\test_dependencies.csproj.nuget.g.props (16,5)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Accretion\source\dotnet\runtime\src\tests\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro.csproj]
C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro\Vector256_ro.csproj.nuget.g.props(18,5):
  warning MSB4011: "C:\Users\Accretion\.nuget\packages\microsoft.net.compilers.toolset\4.3.0-3.22281.14\build\Microsoft.Net.Compilers.Toolset.props" cannot be imported again.
  It was already imported at "C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\Common\test_dependencies\test_dependencies\test_dependencies.csproj.nuget.g.props (17,5)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Accretion\source\dotnet\runtime\src\tests\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro.csproj]
    4 Warning(s)
    0 Error(s)

This is a "quality of life" issue; the build still succeeds and everything works.

Author: SingleAccretion
Assignees: -
Labels:

area-CodeGen-coreclr, untriaged

Milestone: -

@jakobbotsch
Copy link
Member

@agocke this happens when building all runtime tests, not just JIT tests. I think the previous label was the right one.

@agocke agocke added area-Infrastructure-coreclr and removed area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI area-Infrastructure-coreclr labels Jul 1, 2022
@ghost
Copy link

ghost commented Jul 1, 2022

Tagging subscribers to this area: @hoyosjs
See info in area-owners.md if you want to be subscribed.

Issue Details

Reproduction:

# Any non-merged runtime test should do
runtime> dotnet build src\tests\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro.csproj -c Release

Expected result: test builds without warnings.

Actual result: a couple of MSB4011 warnings are issued:

Build succeeded.

C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro\Vector256_ro.csproj.nuget.g.props(17,5):
  warning MSB4011: "C:\Users\Accretion\.nuget\packages\microsoft.net.illink.tasks\7.0.100-1.22308.1\build\Microsoft.NET.ILLink.Tasks.props" cannot be imported again.
  It was already imported at "C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\Common\test_dependencies\test_dependencies\test_dependencies.csproj.nuget.g.props (16,5)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Accretion\source\dotnet\runtime\src\tests\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro.csproj]
C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro\Vector256_ro.csproj.nuget.g.props(18,5):
  warning MSB4011: "C:\Users\Accretion\.nuget\packages\microsoft.net.compilers.toolset\4.3.0-3.22281.14\build\Microsoft.Net.Compilers.Toolset.props" cannot be imported again.
  It was already imported at "C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\Common\test_dependencies\test_dependencies\test_dependencies.csproj.nuget.g.props (17,5)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Accretion\source\dotnet\runtime\src\tests\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro.csproj]
C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro\Vector256_ro.csproj.nuget.g.props(17,5):
  warning MSB4011: "C:\Users\Accretion\.nuget\packages\microsoft.net.illink.tasks\7.0.100-1.22308.1\build\Microsoft.NET.ILLink.Tasks.props" cannot be imported again.
  It was already imported at "C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\Common\test_dependencies\test_dependencies\test_dependencies.csproj.nuget.g.props (16,5)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Accretion\source\dotnet\runtime\src\tests\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro.csproj]
C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro\Vector256_ro.csproj.nuget.g.props(18,5):
  warning MSB4011: "C:\Users\Accretion\.nuget\packages\microsoft.net.compilers.toolset\4.3.0-3.22281.14\build\Microsoft.Net.Compilers.Toolset.props" cannot be imported again.
  It was already imported at "C:\Users\Accretion\source\dotnet\runtime\artifacts\tests\coreclr\packages\Common\test_dependencies\test_dependencies\test_dependencies.csproj.nuget.g.props (17,5)". This is most likely a build authoring error. This subsequent import will be ignored. [C:\Users\Accretion\source\dotnet\runtime\src\tests\JIT\HardwareIntrinsics\General\Vector256\Vector256_ro.csproj]
    4 Warning(s)
    0 Error(s)

This is a "quality of life" issue; the build still succeeds and everything works.

Author: SingleAccretion
Assignees: -
Labels:

area-Infrastructure-coreclr, untriaged

Milestone: -

@agocke agocke removed the untriaged New issue has not been triaged by the area owner label Jul 11, 2022
@agocke agocke added this to the 8.0.0 milestone Jul 11, 2022
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Jan 12, 2023
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Feb 27, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Mar 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants