Skip to content

dnu restore linux PlatformNotSupportedException #559

@worfox

Description

@worfox

$ 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.<

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()

This is running 1.0.0-beta5-11624, there is the same problem with 11682 with the coreclr and on arch x64. I am using Arch Linux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions