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
MattFinlay commented
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
- open a new folder in VS code:
- view terminal
- dotnet new console --framework net8.0 --use-program-main
- dotnet add package Catalyst
- Add "using Catalyst; using Catalyst.Models;"
- 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
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.
MattFinlay commented
Sorry i missed the section on installing the English models.