Closed thygrrr closed 2 months ago
The same error exists trying to generate on a different volume e.g.
The error appears related to dashes in the project names; dots, for example, do not raise this error.
However, using dots (even though parts of KNI itself uses dots) in the project name leads to the generation of broken source code.
(to run all this way away from Unity, only to find my designs foiled once again... by DOTS...)
Expectation: All legal input characters should be appropriately escaped by the template script, all illegal ones rejected before generation starts.
The problem is that the templates use $safeprojectname$ in some places and $projectname$ in other...
As for the problems with dots in the project name, it looks like using custom class names isn't really supported, and we have to revert back to a fixed name, like Game1
.
I am going to ignore this problem, and revisit it once we move to new dotNet templates. https://github.com/kniEngine/kni/issues/1617
Trying to create the multiplatform template results in an empty / configuration-less project. During the creation process, Visual Studio gives me a series of errors.
I attached the generated project files for reference. repro-project-as-generated.zip
This is my general dev system and I just installed basically all workloads to make sure it's not something missing on my end. (maybe it still is, but at this point I'm stumped)
It has literally no configurations and only the shared project (not sure what's expected, but I would have assumed some additional .csproj files). The mentioned path in the error messages apparently exists (see attached zip and following screenshots)
There's no suitable project to set as startup...
... and Rider finds it equally barren.
What version of KNI does the bug occur on:
What operating system are you using:
What KNI platform are you using: