This repository was archived by the owner on Nov 13, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 13, 2026. It is now read-only.
Linux build warnings #1194
Copy link
Copy link
Closed
Milestone
Description
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
Metadata
Metadata
Assignees
Labels
No labels
Activity
manu-st commentedon Apr 25, 2016
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:
?
manu-st commentedon Apr 25, 2016
Adding the entry in the json files also removes the chmod errors.
manu-st commentedon May 9, 2016
Updating the report with warnings you get from commit 60d56f4
Fix build and VS warnings (#5223)