You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to configure a projeny project. I however always get a "Projeny validation failed" error when opening the generated project with unity.
I had a look at the validation function in the projeny.dll source code, and it seems to me like it expects everything in Assets/* and Assets/Plugins/* to be a junction. For me this is not the case since:
I use PluginsFolder: MyApp/MyPlugins in my ProjenyProject.yaml, causing the Assets/MyApp/MyPlugins folder to be created (which is not a junction)
I have dependencies of the form MyRepository/General/MyPlugin, which also cause the directory to appear at top level in Assets (again, not as junction).
Another detail which might be important is that I define the PackageFolders as '[ProjectRoot]/../../../'
At this point I am wondering why the project creation succeeded, but the validation failed. Am I using Projeny wrong, or is the validation not aligned to the directory layouts projeny can produce?
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered:
decden
changed the title
Projeny validation Fails when paths are involved
Projeny validation fails when paths are involved
Aug 14, 2018
Projeny was written with the assumption that the values given to PluginsFolder: and AssetsFolder: are package names and not paths. Which is why it assumes that all the junctions should be directly under Assets and Plugins
Thanks for the hints. I have restructured my project, so that I no longer use paths for PluginsFolder, AssetsFolder and Dependencies and the validation now succeeds.
It would be nice though to get an error/warning during project creation instead.
Hello
I am trying to configure a projeny project. I however always get a "Projeny validation failed" error when opening the generated project with unity.
I had a look at the validation function in the projeny.dll source code, and it seems to me like it expects everything in
Assets/*
andAssets/Plugins/*
to be a junction. For me this is not the case since:PluginsFolder: MyApp/MyPlugins
in myProjenyProject.yaml
, causing theAssets/MyApp/MyPlugins
folder to be created (which is not a junction)MyRepository/General/MyPlugin
, which also cause the directory to appear at top level inAssets
(again, not as junction).Another detail which might be important is that I define the PackageFolders as
'[ProjectRoot]/../../../'
At this point I am wondering why the project creation succeeded, but the validation failed. Am I using Projeny wrong, or is the validation not aligned to the directory layouts projeny can produce?
Thanks in advance for your help.
The text was updated successfully, but these errors were encountered: