Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Latests Phalanger version is broken - Dynamic Wrapper is invalid #85

Open
kripper opened this issue Mar 16, 2018 · 2 comments
Open

Latests Phalanger version is broken - Dynamic Wrapper is invalid #85

kripper opened this issue Mar 16, 2018 · 2 comments

Comments

@kripper
Copy link

kripper commented Mar 16, 2018

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:

  1. Create a test.php file inside Deployment\Debug or Deployment\Release folder with content:
<?
echo getcwd();
  1. 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>
  1. Compile with command:

phpc /config:web.config test.php

@kripper
Copy link
Author

kripper commented Mar 23, 2018

Anyone?

@bfistein
Copy link
Contributor

@kripper Phalanger's development is mostly discontinued in favor of PeachPie, the more modern compiler and runtime that also targets .NET Core. Please feel free to give that a try.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants