Page 1 of 1

Composer + Autoload + Phalanger

PostPosted: November 14th, 2016, 2:31 pm
by gianx80
Hi to all! If I try to compile a simple php phalanger project all goes smooth. If I try to use, in my project, a composer library I get an error at runtime, when trying to include composer autoload:

Code: Select all
require_once('vendor/autoload.php');

Eccezione di tipo 'PHP.Core.PhpException' in PhpNetCore.dll non gestita nel codice utente

Ulteriori informazioni: Script 'C:\Users\***\documents\visual studio 2015\Projects\***\***\bin\Debug\vendor/composer/autoload_real.php' inclusion failed. Cause: Script cannot be included with current configuration. Search paths: include_path is '.', working directory is 'C:\Users\***\Documents\Visual Studio 2015\Projects\***\***'


I'm using VS2015 Community. I can't find any reference to this issue through Google. Can you help me?