question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error on generate in new project

See original GitHub issue

Hi, getting this error on hitting generate in empty project, Entitas 0.47.9, Unity 2017.1.2f1

Could not find file "/..../TestEntitas/Assembly-CSharp.csproj".

In Entitas 0.42.3 it was possible to avoid this error by unchecking Update .csproj in Tools->Entitas->Preferences->PostProcessors. Unchecking this option in new Entitas versions doesn’t help

Is this error expected behaviour for new Entitas versions or a regression?

Error gets fixed by opening any .cs file in IDE which generates csproj file

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
IsaiahKellycommented, Jan 25, 2018

Yes, that’s standard error dialog, but it could probably be improved. Maybe something like this:

Assembly file not found! Please open your project (Assets>Open C# Project) and ensure the assemblies path in Entitas preferences is set correctly. [ More Info ] [ Ok ]

And for project files:

Project file not found! Please open your project (Assets>Open C# Project) and ensure the project path in Entitas preferences is set correctly. [ More Info ] [ Ok ]

It would probably be ideal if @sschmid could make Entitas automatically open the C# project whenever you run Auto Import or Generate and Entitas detects that the project file and/or script assemblies are missing, or at least upon first run. Just showing a button to open the C# project from the error message doesn’t seem all that helpful because it doesn’t actually elaborate on the issue.

Not sure if we can actually detect project file naming issues, but adding a More Info or Help button to the error message itself, that links to the FAQ or other documentation, would be a very helpful too.

0reactions
sschmidcommented, Mar 1, 2018

Added ValidateProjectPathPreProcessor to throw an error which will hint to the solution

Read more comments on GitHub >

github_iconTop Results From Across the Web

An error when creating new project in android studio
Start Android Studio, close any open project. On the right side, click on Configure -> Settings. On the left side, in Compiler->Gradle set ......
Read more >
compilation error while creating new project. 2021.1.20f1
I downloaded Unity 2021.1.20f1 and tried to create a new project, but then a error pops up saying "The project you are opening...
Read more >
Getting an error while creating a new project in VS2019
After integration with ClearCase, when we create a new project, we are getting a error message dialog of Visual Studio. The error says...
Read more >
"Failed to create new project" when ...
This error occurs when the PipeBendDefaultValues.txt file is missing from the project's root directory. Corrupted AutoCAD installation. Solution ...
Read more >
how to fix: Asp.Net Core : There Was An Error Running The ...
To the Generator error, first you can try rebuilding the application to make sure it has no compilation errors. You can check it...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found