spectreconsole / spectre.console

A .NET library that makes it easier to create beautiful console applications.
https://spectreconsole.net
MIT License
9.17k stars 471 forks source link

The type or namespace name 'TextPath' could not be found #776

Closed kgnfth closed 2 years ago

kgnfth commented 2 years ago

spectre.console version 0.43.0 Im getting this error The type or namespace name 'TextPath' could not be found

image

using Spectre.Console;

namespace ProxyScraper
{
    static class Program
    {
        static void Main()
        {
             var path = new TextPath("C:/This/Path/Is/Too/Long/To/Fit/In/The/Area.txt");
            AnsiConsole.Write(path);
        }
    }
}
patriksvensson commented 2 years ago

This feature will not be released until 0.44. You will have to reference the latest preview version for this.

phil-scott-78 commented 2 years ago

You'll need one of the more recent preview releases to use TextPath.

Any feedback on it would be appreciated before we turn it live in the 0.44 release!

kgnfth commented 2 years ago

@patriksvensson @phil-scott-78 Aha okey, I did not know.