I tried the same code snippet in the Baikal renderer BaikalTest project main.
And it it's WORKING ! There is no exception.
I changed the path of my custom project in case of permissions error but it does not solve it.
Whats wrong ?
I finally use the binaries from the Baikal renderer.