Just did a clean clone (branch dev) and executed ./build.sh. Got an error during BuildTest task.
Downloading NuGet...
Feeds used:
/Users/d12frosted/.local/share/NuGet/Cache
/Users/d12frosted/.nuget/packages/
https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json
https://api.nuget.org/v3/index.json
Restoring NuGet package Cake.0.10.1.
Adding package 'Cake.0.10.1' to folder '/Users/d12frosted/Developer/Other/omnisharp-roslyn/.tools'
Added package 'Cake.0.10.1' to folder '/Users/d12frosted/Developer/Other/omnisharp-roslyn/.tools'
Restoring NuGet package Newtonsoft.Json.8.0.3.
Adding package 'Newtonsoft.Json.8.0.3' to folder '/Users/d12frosted/Developer/Other/omnisharp-roslyn/.tools'
Added package 'Newtonsoft.Json.8.0.3' to folder '/Users/d12frosted/Developer/Other/omnisharp-roslyn/.tools'
Analyzing build script...
Processing build script...
Installing addins...
Compiling build script...
========================================
Cleanup
========================================
Executing task: Cleanup
Finished executing task: Cleanup
========================================
BuildEnvironment
========================================
Executing task: BuildEnvironment
dotnet-install: Downloading https://dotnetcli.blob.core.windows.net/dotnet/preview/Binaries/1.0.0-preview2-003131/dotnet-dev-osx-x64.1.0.0-preview2-003131.tar.gz
dotnet-install: Extracting zip
dotnet-install: Adding to current process PATH: /Users/d12frosted/Developer/Other/omnisharp-roslyn/.dotnet. Note: This change will be visible only when sourcing script.
dotnet-install: Installation finished successfully.
.NET Command Line Tools (1.0.0-preview2-003131)
Product Information:
Version: 1.0.0-preview2-003131
Commit SHA-1 hash: 635cf40e58
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.12
OS Platform: Darwin
RID: osx.10.12-x64
Feeds used:
https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json
https://api.nuget.org/v3/index.json
Attempting to gather dependencies information for package 'xunit.runner.console.2.2.0-beta3-build3402' with respect to project '/Users/d12frosted/Developer/Other/omnisharp-roslyn/.tools', targeting 'Any,Version=v0.0'
Attempting to resolve dependencies for package 'xunit.runner.console.2.2.0-beta3-build3402' with DependencyBehavior 'Lowest'
Resolving actions to install package 'xunit.runner.console.2.2.0-beta3-build3402'
Resolved actions to install package 'xunit.runner.console.2.2.0-beta3-build3402'
Adding package 'xunit.runner.console.2.2.0-beta3-build3402' to folder '/Users/d12frosted/Developer/Other/omnisharp-roslyn/.tools'
Added package 'xunit.runner.console.2.2.0-beta3-build3402' to folder '/Users/d12frosted/Developer/Other/omnisharp-roslyn/.tools'
Successfully installed 'xunit.runner.console 2.2.0-beta3-build3402' to /Users/d12frosted/Developer/Other/omnisharp-roslyn/.tools
Finished executing task: BuildEnvironment
========================================
PopulateRuntimes
========================================
Executing task: PopulateRuntimes
Finished executing task: PopulateRuntimes
========================================
Setup
========================================
Executing task: Setup
Finished executing task: Setup
========================================
Restore
========================================
Executing task: Restore
Restoring packages in /Users/d12frosted/Developer/Other/omnisharp-roslyn....
Package restore successful!
Finished executing task: Restore
========================================
BuildTest
========================================
Executing task: BuildTest
Building OmniSharp.MSBuild.Tests on netcoreapp1.0...
Building OmniSharp.Roslyn.CSharp.Tests on netcoreapp1.0...
Building OmniSharp.Stdio.Tests on netcoreapp1.0...
Building OmniSharp.Stdio.Tests on net46...
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(19,14): error DOTNET1011: Framework not installed: .NETFramework,Version=v4.6 in
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(21,28): error NU1001: The dependency System.Runtime could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(22,30): error NU1001: The dependency System.Threading could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(23,36): error NU1001: The dependency System.Threading.Tasks could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(24,32): error NU1001: The dependency System.Collections could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(25,25): error NU1001: The dependency System.Linq could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(26,34): error NU1001: The dependency System.Text.Encoding could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(27,31): error NU1001: The dependency System.Reflection could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(28,29): error NU1001: The dependency System.Security could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(29,34): error NU1001: The dependency System.Globalization could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(30,24): error NU1001: The dependency System.Xml could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency System.Xml could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(30,24): error NU1001: The dependency System.Xml could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency System.Xml could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(31,29): error NU1001: The dependency System.Xml.Linq could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency System.Xml.Linq could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(31,29): error NU1001: The dependency System.Xml.Linq could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency System.Xml.Linq could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency mscorlib could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(12,56): error NU1001: The dependency mscorlib could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency mscorlib could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(12,56): error NU1001: The dependency mscorlib could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency System could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(10,50): error NU1001: The dependency System could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(11,49): error NU1001: The dependency System could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(12,56): error NU1001: The dependency System could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(14,51): error NU1001: The dependency System could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency System could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(10,50): error NU1001: The dependency System could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(11,49): error NU1001: The dependency System could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(12,56): error NU1001: The dependency System could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(14,51): error NU1001: The dependency System could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency System.Core could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(10,50): error NU1001: The dependency System.Core could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(11,49): error NU1001: The dependency System.Core could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(12,56): error NU1001: The dependency System.Core could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(14,51): error NU1001: The dependency System.Core could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency System.Core could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(10,50): error NU1001: The dependency System.Core could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(11,49): error NU1001: The dependency System.Core could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(12,56): error NU1001: The dependency System.Core could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(14,51): error NU1001: The dependency System.Core could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency System.ComponentModel.Composition could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(10,50): error NU1001: The dependency System.ComponentModel.Composition could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(11,49): error NU1001: The dependency System.ComponentModel.Composition could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(12,56): error NU1001: The dependency System.ComponentModel.Composition could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(14,51): error NU1001: The dependency System.ComponentModel.Composition could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency System.Numerics could not be resolved.
An error occured when executing task 'BuildTest'.
Error: Building test OmniSharp.Stdio.Tests failed for net46.
Am I doing something wrong?
Hmmm... maybe try git clean -xdf and run ./build.sh again? I'm researching the issue.
Actually, it may be that you need to update Mono on your machine to build against net46. What version do you have installed? You can run mono --version to find out.
It's a clean clone. But anyways, even if I clean everything after first execution it still fails.
Output of git clean -xdf
Removing .dotnet/
Removing .tools/
Removing artifacts/
Removing src/OmniSharp.Abstractions/bin/
Removing src/OmniSharp.Abstractions/obj/
Removing src/OmniSharp.Abstractions/project.lock.json
Removing src/OmniSharp.DotNet/project.lock.json
Removing src/OmniSharp.DotNetTest/project.lock.json
Removing src/OmniSharp.Host/bin/
Removing src/OmniSharp.Host/obj/
Removing src/OmniSharp.Host/project.lock.json
Removing src/OmniSharp.MSBuild/bin/
Removing src/OmniSharp.MSBuild/obj/
Removing src/OmniSharp.MSBuild/project.lock.json
Removing src/OmniSharp.Nuget/bin/
Removing src/OmniSharp.Nuget/obj/
Removing src/OmniSharp.Nuget/project.lock.json
Removing src/OmniSharp.Plugins/bin/
Removing src/OmniSharp.Plugins/obj/
Removing src/OmniSharp.Plugins/project.lock.json
Removing src/OmniSharp.Roslyn.CSharp/bin/
Removing src/OmniSharp.Roslyn.CSharp/obj/
Removing src/OmniSharp.Roslyn.CSharp/project.lock.json
Removing src/OmniSharp.Roslyn/bin/
Removing src/OmniSharp.Roslyn/obj/
Removing src/OmniSharp.Roslyn/project.lock.json
Removing src/OmniSharp.ScriptCs/project.lock.json
Removing src/OmniSharp.Stdio/bin/
Removing src/OmniSharp.Stdio/obj/
Removing src/OmniSharp.Stdio/project.lock.json
Removing src/OmniSharp/project.lock.json
Removing tests/OmniSharp.DotNet.Tests/project.lock.json
Removing tests/OmniSharp.DotNetTest.Tests/project.lock.json
Removing tests/OmniSharp.MSBuild.Tests/bin/
Removing tests/OmniSharp.MSBuild.Tests/obj/
Removing tests/OmniSharp.MSBuild.Tests/project.lock.json
Removing tests/OmniSharp.Roslyn.CSharp.Tests/bin/
Removing tests/OmniSharp.Roslyn.CSharp.Tests/obj/
Removing tests/OmniSharp.Roslyn.CSharp.Tests/project.lock.json
Removing tests/OmniSharp.Stdio.Tests/bin/
Removing tests/OmniSharp.Stdio.Tests/obj/
Removing tests/OmniSharp.Stdio.Tests/project.lock.json
Removing tests/OmniSharp.Tests/project.lock.json
Removing tests/TestCommon/bin/
Removing tests/TestCommon/obj/
Removing tests/TestCommon/project.lock.json
Removing tests/TestSamples/BasicTestProjectSample01/project.lock.json
Removing tests/TestSamples/ProjectSearchSample01/project.lock.json
Removing tests/TestSamples/ProjectSearchSample03/src/Project1/project.lock.json
Removing tests/TestSamples/ProjectSearchSample04/project.lock.json
Removing tests/TestSamples/ProjectSearchSample05/src/Project1/project.lock.json
Removing tests/TestSamples/ProjectSearchSample05/src/Project2/Embed/project.lock.json
Removing tests/TestSamples/ProjectSearchSample05/src/Project2/project.lock.json
Removing tests/TestSamples/ProjectSearchSample05/test/Test01/project.lock.json
Removing tests/TestSamples/ProjectSearchSample06/src/Project1/project.lock.json
Removing tests/TestSamples/ProjectSearchSample06/src/Project2/Embed/project.lock.json
Removing tests/TestSamples/ProjectSearchSample06/src/Project2/project.lock.json
Removing tests/TestSamples/ProjectSearchSample06/tests/Test1/project.lock.json
Removing tests/TestSamples/ProjectSearchSample07/src/Project1/project.lock.json
Removing tests/TestSamples/ProjectSearchSample07/src/Project2/Embed/project.lock.json
Removing tests/TestSamples/ProjectSearchSample07/src/Project2/project.lock.json
Removing tests/TestSamples/ProjectSearchSample07/tests/Test1/project.lock.json
Removing tests/TestUtility/bin/
Removing tests/TestUtility/obj/
Removing tests/TestUtility/project.lock.json
Output of ./build.sh
Downloading NuGet...
Feeds used:
/Users/d12frosted/.local/share/NuGet/Cache
/Users/d12frosted/.nuget/packages/
https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json
https://api.nuget.org/v3/index.json
Restoring NuGet package Cake.0.10.1.
Adding package 'Cake.0.10.1' to folder '/Users/d12frosted/Developer/Other/omnisharp-roslyn/.tools'
Added package 'Cake.0.10.1' to folder '/Users/d12frosted/Developer/Other/omnisharp-roslyn/.tools'
Restoring NuGet package Newtonsoft.Json.8.0.3.
Adding package 'Newtonsoft.Json.8.0.3' to folder '/Users/d12frosted/Developer/Other/omnisharp-roslyn/.tools'
Added package 'Newtonsoft.Json.8.0.3' to folder '/Users/d12frosted/Developer/Other/omnisharp-roslyn/.tools'
Analyzing build script...
Processing build script...
Installing addins...
Compiling build script...
========================================
Cleanup
========================================
Executing task: Cleanup
Finished executing task: Cleanup
========================================
BuildEnvironment
========================================
Executing task: BuildEnvironment
dotnet-install: Downloading https://dotnetcli.blob.core.windows.net/dotnet/preview/Binaries/1.0.0-preview2-003131/dotnet-dev-osx-x64.1.0.0-preview2-003131.tar.gz
dotnet-install: Extracting zip
dotnet-install: Adding to current process PATH: /Users/d12frosted/Developer/Other/omnisharp-roslyn/.dotnet. Note: This change will be visible only when sourcing script.
dotnet-install: Installation finished successfully.
.NET Command Line Tools (1.0.0-preview2-003131)
Product Information:
Version: 1.0.0-preview2-003131
Commit SHA-1 hash: 635cf40e58
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.12
OS Platform: Darwin
RID: osx.10.12-x64
Feeds used:
https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json
https://api.nuget.org/v3/index.json
Attempting to gather dependencies information for package 'xunit.runner.console.2.2.0-beta3-build3402' with respect to project '/Users/d12frosted/Developer/Other/omnisharp-roslyn/.tools', targeting 'Any,Version=v0.0'
Attempting to resolve dependencies for package 'xunit.runner.console.2.2.0-beta3-build3402' with DependencyBehavior 'Lowest'
Resolving actions to install package 'xunit.runner.console.2.2.0-beta3-build3402'
Resolved actions to install package 'xunit.runner.console.2.2.0-beta3-build3402'
Adding package 'xunit.runner.console.2.2.0-beta3-build3402' to folder '/Users/d12frosted/Developer/Other/omnisharp-roslyn/.tools'
Added package 'xunit.runner.console.2.2.0-beta3-build3402' to folder '/Users/d12frosted/Developer/Other/omnisharp-roslyn/.tools'
Successfully installed 'xunit.runner.console 2.2.0-beta3-build3402' to /Users/d12frosted/Developer/Other/omnisharp-roslyn/.tools
Finished executing task: BuildEnvironment
========================================
PopulateRuntimes
========================================
Executing task: PopulateRuntimes
Finished executing task: PopulateRuntimes
========================================
Setup
========================================
Executing task: Setup
Finished executing task: Setup
========================================
Restore
========================================
Executing task: Restore
Restoring packages in /Users/d12frosted/Developer/Other/omnisharp-roslyn....
Package restore successful!
Finished executing task: Restore
========================================
BuildTest
========================================
Executing task: BuildTest
Building OmniSharp.MSBuild.Tests on netcoreapp1.0...
Building OmniSharp.Roslyn.CSharp.Tests on netcoreapp1.0...
Building OmniSharp.Stdio.Tests on netcoreapp1.0...
Building OmniSharp.Stdio.Tests on net46...
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(19,14): error DOTNET1011: Framework not installed: .NETFramework,Version=v4.6 in
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(21,28): error NU1001: The dependency System.Runtime could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(22,30): error NU1001: The dependency System.Threading could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(23,36): error NU1001: The dependency System.Threading.Tasks could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(24,32): error NU1001: The dependency System.Collections could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(25,25): error NU1001: The dependency System.Linq could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(26,34): error NU1001: The dependency System.Text.Encoding could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(27,31): error NU1001: The dependency System.Reflection could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(28,29): error NU1001: The dependency System.Security could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(29,34): error NU1001: The dependency System.Globalization could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(30,24): error NU1001: The dependency System.Xml could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency System.Xml could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(30,24): error NU1001: The dependency System.Xml could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency System.Xml could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(31,29): error NU1001: The dependency System.Xml.Linq could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency System.Xml.Linq could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(31,29): error NU1001: The dependency System.Xml.Linq could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency System.Xml.Linq could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency mscorlib could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(12,56): error NU1001: The dependency mscorlib could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency mscorlib could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(12,56): error NU1001: The dependency mscorlib could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency System could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(10,50): error NU1001: The dependency System could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(11,49): error NU1001: The dependency System could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(12,56): error NU1001: The dependency System could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(14,51): error NU1001: The dependency System could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency System could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(10,50): error NU1001: The dependency System could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(11,49): error NU1001: The dependency System could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(12,56): error NU1001: The dependency System could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(14,51): error NU1001: The dependency System could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency System.Core could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(10,50): error NU1001: The dependency System.Core could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(11,49): error NU1001: The dependency System.Core could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(12,56): error NU1001: The dependency System.Core could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(14,51): error NU1001: The dependency System.Core could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency System.Core could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(10,50): error NU1001: The dependency System.Core could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(11,49): error NU1001: The dependency System.Core could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(12,56): error NU1001: The dependency System.Core could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(14,51): error NU1001: The dependency System.Core could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency System.ComponentModel.Composition could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(10,50): error NU1001: The dependency System.ComponentModel.Composition could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(11,49): error NU1001: The dependency System.ComponentModel.Composition could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(12,56): error NU1001: The dependency System.ComponentModel.Composition could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(14,51): error NU1001: The dependency System.ComponentModel.Composition could not be resolved.
/Users/d12frosted/Developer/Other/omnisharp-roslyn/src/OmniSharp.Abstractions/project.json(8,43): error NU1001: The dependency System.Numerics could not be resolved.
An error occured when executing task 'BuildTest'.
Error: Building test OmniSharp.Stdio.Tests failed for net46.
Update
Oh, let me update mono then. It's not maintained by It seems to be up to date.brew, so harder to get updates. I'll post results once I update.
Update 2
And just for reference, my current version is following.
$ mono --version
Mono JIT compiler version 4.6.1 (Stable 4.6.1.5/ef43c15 Tue Oct 18 11:06:44 BST 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: normal
SIGSEGV: altstack
Notification: kqueue
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
馃槥
Sorry for confusion around my mono version. It seems to be up to date and updates are handled via brew.
I'm surprised that didn't do the trick for you and I wonder if there's a path issue or something causing the issue.
When I first submitted the PR to move OmniSharp from net451 to net46, I got the exact same error in Travis: https://travis-ci.org/OmniSharp/omnisharp-roslyn/jobs/170815359. Then, I submitted this commit the problem: https://github.com/OmniSharp/omnisharp-roslyn/pull/652/commits/2ecd5e1c1b0831544ff4eaaae5141f409b62388f
Well, I just printed version of mono from scripts/cake-bootstrap.sh (where it does something using mono) and it seems to be exactly the same version.
right, but the errors are coming from the .NET CLI when running this code: https://github.com/OmniSharp/omnisharp-roslyn/blob/dev/build.cake#L222-L228
Was a OmniSharp.Stdio.Tests-net46-build.log produced?
At least not in artifactis/logs/
$ ll artifacts/logs/
total 24
-rw-r--r-- 1 d12frosted staff 1.1K 2 Nov 11:40 OmniSharp.MSBuild.Tests-netcoreapp1.0-build.log
-rw-r--r-- 1 d12frosted staff 1.0K 2 Nov 11:40 OmniSharp.Roslyn.CSharp.Tests-netcoreapp1.0-build.log
-rw-r--r-- 1 d12frosted staff 309B 2 Nov 11:40 OmniSharp.Stdio.Tests-netcoreapp1.0-build.log
I was just curious. From the code I linked to, it seemed like it wouldn't get produced, but I wanted to be sure since I'm not 100% familiar with Cake scripts.
I'm getting the same errors as above, but trying to build on a windows box (vm, actually). I've VS2013 installed, and .net 4.6.1 is also installed. Forgive me if I'm missing something obvious - this is my first attempt at doing anything with .net.
FYI, still getting this error on 5ea0fd0357f3b93c24aa3e5848ff51b094ac5af3.
I work with sbroberg and I can build just fine and he can't. The difference between our environments (AFAICT) is that I run VS 2015 while sbroberg runs 2013. Not sure if that's an issue or not, but thought I'd mention it.
I expect it is. @sbroberg will need to install the .NET Framework 4.6 targeting pack: http://getdotnet.azurewebsites.net/target-dotnet-platforms.html#
I got the complete same errors on Windows, although I have VS2015 and .NET framework 4.6.2 pack.
mono --version
Mono JIT compiler version 4.6.2 (Visual Studio built mono)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: normal
SIGSEGV: normal
Notification: Thread + polling
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
Mono version shouldn't matter on Windows.
Do you have the following folder on your machine? C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.6? If not, you'll need the .NET Framework 4.6 pack.
Thanks, the problem was solved when I moved the reference assemblies from D to C drive.
I'm going to go ahead and close this. OmniSharp has changed significantly since moving from project.json to .csproj. Please let me know if you still experience these issues with the latest OmniSharp 'dev' branch.