sschmid / Entitas

Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
MIT License
7k stars 1.11k forks source link

Error running dotnet Jenny/Jenny.Generator.Cli.dll gen -v command - System.IO.FileNotFoundException #1086

Closed dharmeshmp closed 5 months ago

dharmeshmp commented 5 months ago

Describe the bug When running the dotnet Jenny/Jenny.Generator.Cli.dll gen -v command, the following error occurs:

System.IO.FileNotFoundException: Could not load file or assembly 'UnityEditor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

To Reproduce Steps to reproduce the behavior:

  1. Clone the repository: https://github.com/sschmid/Match-One.git
  2. Navigate to the project directory: cd Match-One
  3. Run the command: dotnet Jenny/Jenny.Generator.Cli.dll gen -v

Expected behavior The command should run successfully without any file not found errors.

Additional context

Please let me know if there are any specific steps or configurations needed to resolve this issue.

Screenshots

Screenshot 2024-01-29 at 11 22 03 AM Screenshot 2024-01-29 at 11 23 12 AM

dharmeshmp commented 5 months ago

Issue resolved! 🎉 I managed to fix the problem by uninstalling the Homebrew-installed dotnet and opting for the official installation from the .NET website. Also, somehow, Jenny.properties was changed, so I reverted it back to the original configuration.