I just did a little example project on my own kind of following the layout you describe (
shaders/FooBar_TextureFX.sdsl) and the good news is that I get an export error as well:
Exec: : ERROR EXEC(0,0): [AssetCompiler] Assets [C:/Users/elias/Documents/vvvv/gamma/Exports/src/LibraryA.vl/Assets/FooBar_TextureFX.sdsl] with location [Assets/FooBar_TextureFX] from Package [C:/Users/elias/Documents/vvvv/gamma/Exports/src/Root/Root.sdpkg] is already loaded from package [C:/Users/elias/Documents/vvvv/gamma/Exports/src/LibraryA.vl/LibraryA.vl.sdpkg]
So it seems that the export adds the same shader to both of the generated project files. This should be considered a bug.
Trying a different layout now (
LibraryA/shaders/FooBar_TextureFX.sdsl) and getting the same error. Again the shader was added to both generated project files. With project files I mean if you inspect the
src folder generated by the export. Again, bug on our side.
So before we come up with a fix, workarounds would be
- Everything goes into the
Root.vl file, no libraries
- Or, after the failed export go to
Explore Output ->
Root and delete the
Assets folder and open and build the solution
Root.sln file manually with Visual Studio