Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Linux build warnings #1194

Closed
Closed

Description

@manu-st

When compiling the managed part you get some warnings.

This one is also present on Windows:

ILCompiler.DependencyAnalysisFramework -> /home/manus/local/Microsoft/corert/bin/Product/Linux.x64.Debug/ILCompiler.DependencyAnalysisFramework/ILCompiler.DependencyAnalysisFramework.dll
/home/manus/local/Microsoft/corert/Tools/Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. [/home/manus/local/Microsoft/corert/src/ILCompiler.DependencyAnalysisFramework/tests/ILCompiler.DependencyAnalysisFramework.Tests.csproj]

Those are Linux specifics:

ILCompiler.DependencyAnalysisFramework.Tests -> /home/manus/local/Microsoft/corert/bin/Product/Linux.x64.Debug/ILCompiler.DependencyAnalysisFramework.Tests/ILCompiler.DependencyAnalysisFramework.Tests.dll
/home/manus/local/Microsoft/corert/Tools/publishtest.targets(48,5): warning : Your project.json doesn't list 'ubuntu.14.04-x64' as a targeted runtime. You should add '"ubuntu.14.04-x64": { }' inside your "runtimes" section in your project.json, and then re-run NuGet restore. [/home/manus/local/Microsoft/corert/src/ILCompiler.DependencyAnalysisFramework/tests/ILCompiler.DependencyAnalysisFramework.Tests.csproj]
/home/manus/local/Microsoft/corert/Tools/publishtest.targets(48,5): warning : Your project.json doesn't list 'ubuntu.14.04-x64' as a targeted runtime. You should add '"ubuntu.14.04-x64": { }' inside your "runtimes" section in your project.json, and then re-run NuGet restore. [/home/manus/local/Microsoft/corert/src/ILCompiler.DependencyAnalysisFramework/tests/ILCompiler.DependencyAnalysisFramework.Tests.csproj]
  chmod: cannot access ‘/home/manus/local/Microsoft/corert/bin/tests/Linux.x64.Debug/ILCompiler.DependencyAnalysisFramework.Tests/dnxcore50/corerun’: No such file or directory

System.Private.Reflection -> /home/manus/local/Microsoft/corert/bin/Product/Linux.x64.Debug/System.Private.Reflection/System.Private.Reflection.dll
/home/manus/local/Microsoft/corert/Tools/Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. [/home/manus/local/Microsoft/corert/src/System.Private.Reflection.Metadata/tests/System.Private.Reflection.Metadata.Tests.csproj]


System.Private.Reflection.Execution -> /home/manus/local/Microsoft/corert/bin/Product/Linux.x64.Debug/System.Private.Reflection.Execution/System.Private.Reflection.Execution.dll
/home/manus/local/Microsoft/corert/Tools/Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. [/home/manus/local/Microsoft/corert/src/ILCompiler/src/ILCompiler.csproj]


ILCompiler -> /home/manus/local/Microsoft/corert/bin/Product/Linux.x64.Debug/ILCompiler/ilc.exe
/home/manus/local/Microsoft/corert/Tools/Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. [/home/manus/local/Microsoft/corert/src/ILCompiler.MetadataTransform/tests/ILCompiler.MetadataTransform.Tests.csproj]


ILCompiler.MetadataTransform.Tests -> /home/manus/local/Microsoft/corert/bin/Product/Linux.x64.Debug/ILCompiler.MetadataTransform.Tests/ILCompiler.MetadataTransform.Tests.dll
/home/manus/local/Microsoft/corert/Tools/publishtest.targets(48,5): warning : Your project.json doesn't list 'ubuntu.14.04-x64' as a targeted runtime. You should add '"ubuntu.14.04-x64": { }' inside your "runtimes" section in your project.json, and then re-run NuGet restore. [/home/manus/local/Microsoft/corert/src/ILCompiler.MetadataTransform/tests/ILCompiler.MetadataTransform.Tests.csproj]
/home/manus/local/Microsoft/corert/Tools/publishtest.targets(48,5): warning : Your project.json doesn't list 'ubuntu.14.04-x64' as a targeted runtime. You should add '"ubuntu.14.04-x64": { }' inside your "runtimes" section in your project.json, and then re-run NuGet restore. [/home/manus/local/Microsoft/corert/src/ILCompiler.MetadataTransform/tests/ILCompiler.MetadataTransform.Tests.csproj]
  chmod: cannot access ‘/home/manus/local/Microsoft/corert/bin/tests/Linux.x64.Debug/ILCompiler.MetadataTransform.Tests/dnxcore50/corerun’: No such file or directory

Activity

  1. manu-st commented on Apr 25, 2016

    @manu-st
    Author

    For the ubuntu.14.04-x64 related warnings, it is due to a missing "ubuntu.14.04-x64" entry in the list of runtimes in the project.json files. Most files only refer to win7-x86 and win7-x64. Only src/ILCompiler/src/project.json lists way more runtimes. Should all project.json files mimic that one and thus lists:

      "runtimes": {
        "win7-x86": {},
        "win7-x64": {},
        "ubuntu.14.04-x64": {},
        "osx.10.10-x64": {},
        "centos.7-x64": {},
        "rhel.7-x64": {},
        "debian.8.2-x64": {}
      }
    

    ?

  2. manu-st commented on Apr 25, 2016

    @manu-st
    Author

    Adding the entry in the json files also removes the chmod errors.

  3. manu-st commented on May 9, 2016

    @manu-st
    Author

    Updating the report with warnings you get from commit 60d56f4

    /home/local/Microsoft/corert/Tools/Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. [/home/local/Microsoft/corert/src/ILCompiler.DependencyAnalysisFramework/tests/ILCompiler.DependencyAnalysisFramework.Tests.csproj]
    
    /home/local/Microsoft/corert/Tools/Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. [/home/local/Microsoft/corert/src/System.Private.Reflection.Metadata/tests/System.Private.Reflection.Metadata.Tests.csproj]
    
    /home/local/Microsoft/corert/Tools/Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. [/home/local/Microsoft/corert/src/ILCompiler.MetadataTransform/src/ILCompiler.MetadataTransform.csproj]
    
    /home/local/Microsoft/corert/Tools/Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. [/home/local/Microsoft/corert/src/ILCompiler.Compiler/src/ILCompiler.Compiler.csproj]
    
    /home/local/Microsoft/corert/Tools/Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. [/home/local/Microsoft/corert/src/ILCompiler/src/ILCompiler.csproj]
    
    /home/local/Microsoft/corert/Tools/Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3277: Found conflicts between different versions of the same dependent assembly that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. [/home/local/Microsoft/corert/src/ILCompiler.MetadataTransform/tests/ILCompiler.MetadataTransform.Tests.csproj]
    
  4. added this to the milestone on Oct 20, 2016
  5. added a commit that references this issue on Jan 7, 2018
    904efae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions