curiosity-ai/catalyst

The type or namespace name 'English' does not exist in the namespace 'Catalyst.Models' (are you missing an assembly reference?)CS0234

MattFinlay opened this issue · 1 comments

Describe the bug
Created a C# ConsoleApp in visual studio code. Was following the provided examples. VS code is reporting "The type or namespace name 'English' does not exist in the namespace 'Catalyst.Models' (are you missing an assembly reference?)CS0234:".

To Reproduce

  1. open a new folder in VS code:
  2. view terminal
  3. dotnet new console --framework net8.0 --use-program-main
  4. dotnet add package Catalyst
  5. Add "using Catalyst; using Catalyst.Models;"
  6. Copy line from documentation "Catalyst.Models.English.Register(); //You need to pre-register each language (and install the respective NuGet Packages)
    "
    Expected behavior
    no errors

Screenshots
Screen Shot 2024-01-27 at 8 49 10 pm

Additional context
the rest of the package seems to compile ok but it seems line i need to Pre-Register the English Language before i can start.

Sorry i missed the section on installing the English models.