This repository was archived by the owner on Dec 18, 2017. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork 223
This repository was archived by the owner on Dec 18, 2017. It is now read-only.
dnu restore exception on osx yosemite #1768
Copy link
Copy link
Closed
Description
I am trying to run a dnu restore on Mac for a very simple dnxcore50 project. When executing the command at prompt in the project directory, I receive the following exception:
dnu restore System.TypeInitializationException: The type initializer for 'Microsoft.Framework.Runtime.Common.CommandLine.AnsiConsole' threw an exception. ---> System.PlatformNotSupportedException: This platform does not support getting the current color. at System.ConsolePal.get_ForegroundColor() at Microsoft.Framework.Runtime.Common.CommandLine.AnsiConsole..ctor(TextWriter writer) at Microsoft.Framework.Runtime.Common.CommandLine.AnsiConsole..cctor() --- End of inner exception stack trace --- at Microsoft.Framework.PackageManager.Program.CreateReports(Boolean verbose, Boolean quiet) at Microsoft.Framework.PackageManager.Program.<>c__DisplayClass3_1.<<Main>b__2>d.MoveNext() System.PlatformNotSupportedException: This platform does not support getting the current color. at System.ConsolePal.get_ForegroundColor() at Microsoft.Framework.Runtime.Common.CommandLine.AnsiConsole..ctor(TextWriter writer) at Microsoft.Framework.Runtime.Common.CommandLine.AnsiConsole..cctor()The project is configured under the following runtime:
dnvm list Active Version Runtime Arch Location Alias ------ ------- ------- ---- -------- ----- * 1.0.0-beta5-11682 coreclr x64 ~/.dnx/runtimes 1.0.0-beta4 mono ~/.dnx/runtimes defaultAny suggestion on how to do the package restore?
Thanks,
Robert
Metadata
Metadata
Assignees
Labels
No labels