Error starting the php site for the first time
Posted: July 29th, 2014, 7:07 pm
I just started a phalanger project in visual studio. When I start the website in a site I get the following error:
[A]PHP.Core.PhpConfigurationContext cannot be cast to [B]PHP.Core.PhpConfigurationContext. Type A originates from 'PhpNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0a8e8c4c76728c71' in the context 'Default' at location 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PhpNetCore\v4.0_3.0.0.0__0a8e8c4c76728c71\PhpNetCore.dll'. Type B originates from 'PhpNetCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0a8e8c4c76728c71' in the context 'Default' at location 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PhpNetCore\v4.0_4.0.0.0__0a8e8c4c76728c71\PhpNetCore.dll'.
Any ideas?
[A]PHP.Core.PhpConfigurationContext cannot be cast to [B]PHP.Core.PhpConfigurationContext. Type A originates from 'PhpNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0a8e8c4c76728c71' in the context 'Default' at location 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PhpNetCore\v4.0_3.0.0.0__0a8e8c4c76728c71\PhpNetCore.dll'. Type B originates from 'PhpNetCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0a8e8c4c76728c71' in the context 'Default' at location 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PhpNetCore\v4.0_4.0.0.0__0a8e8c4c76728c71\PhpNetCore.dll'.
Any ideas?