Error on generate in new project
See original GitHub issueHi, 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:
- Created 6 years ago
- Comments:11 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Yes, that’s standard error dialog, but it could probably be improved. Maybe something like this:
And for project files:
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.
Added ValidateProjectPathPreProcessor to throw an error which will hint to the solution