Page 1 of 1

Where i can get Mysql extension for phalanger 4 ?

PostPosted: March 16th, 2015, 12:25 pm
by IvanPanfilov
I trying to compiling that project from

in VS community edition 2013

but got some errors

Warning 1 'PHP.Library.Data.PhpMyDbConnection.Connection' hides inherited member 'PHP.Library.Data.PhpDbConnection.Connection'. Use the new keyword if hiding was intended. C:\bin\PhalangerMySql\Extension\PhpMyDbConnection.cs 39 28 MySql

Warning 2 Could not resolve this reference. Could not locate the assembly "PhpNetCore.Parsers". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. MySql

Error 3 The command ""C:\bin\PhalangerMySql\Tools\gacutil" /u PhpNetMySql 1>nul

"C:\bin\PhalangerMySql\Tools\gacutil" -f -i "C:\bin\PhalangerMySql\Extension\\..\MySql.Data\MySql.Data.dll"
"C:\bin\PhalangerMySql\Tools\gacutil" -f -i "C:\bin\PhalangerMySql\Extension\bin\Release\PhpNetMySql.dll"

if Release == Release (
xcopy /q /y "C:\bin\PhalangerMySql\Extension\..\\MySql.Data.dll" "C:\bin\PhalangerMySql\Deployment\Bin" 1>nul
xcopy /q /y "C:\bin\PhalangerMySql\Extension\bin\Release\PhpNetMySql.*" "C:\bin\PhalangerMySql\Deployment\Bin" 1>nul

if Release == Debug (
xcopy /q /y "C:\bin\PhalangerMySql\Extension\..\\MySql.Data.dll" "C:\bin\PhalangerMySql\Deployment\Debug" 1>nul
xcopy /q /y "C:\bin\PhalangerMySql\Extension\bin\Release\PhpNetMySql.*" "C:\bin\PhalangerMySql\Deployment\Debug" 1>nul
)" exited with code 2. MySql