Latests Phalanger version is broken - Dynamic Wrapper is invalid
kripper opened this issue · comments
I tested a clean git clone, compiled in Debug and Release mode, tested in Windows and Mono/Linux and the problem is always the same:
Library assembly 'PhpNet.ClassLibrary' could not be loaded. The dynamic wrapper for the library, file 'PhpNet.ClassLibrary.dynamic.dll', is invalid. Delete the wrapper file so that it could be regenerated automatically during the next request.
To test:
- Create a test.php file inside Deployment\Debug or Deployment\Release folder with content:
<?
echo getcwd();
- Create a web.config file with content:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<phpNet>
<classLibrary>
<add assembly="mscorlib" />
<add assembly="PhpNet.ClassLibrary" />
</classLibrary>
</phpNet>
</configuration>
- Compile with command:
phpc /config:web.config test.php
Anyone?