VS12 PhpNetCore error on startup

Discussion about the open-source Phalanger [?] project.

VS12 PhpNetCore error on startup

Postby jayinatlanta » September 13th, 2012, 9:06 pm

Hey, hopefully this is an easy answer. I did search the forums first and couldn't determine if anyone had my same error (saw one that was similar but couldn't follow the chain).

Just installed Phalanger for the first time to give it a try. I already have PHP Tools for VS. I'm using VS12 final (MSDN/BizSpark).

But VS won't even launch without the error: Could not load file or assembly 'PhpNetCore, Version = 3.0.0.0, Culture=neutral, PublicKeyToken=...'...

Is this something I can fix by downloading a DLL from somewhere and putting it in the right path?

Thanks, :?:

Jay
jayinatlanta
 
Posts: 5
Joined: September 13th, 2012, 9:02 pm

Re: VS12 PhpNetCore error on startup

Postby Jakub Misek » September 13th, 2012, 9:21 pm

Hi Jay,

Phalanger comes with own VS2012 integration - Phalanger Tools, included in the setup package. It should work with PHP Tools installed, but you need compatible versions (latest will work).

I would recommend to uninstall PHP Tools, and install Phalanger Tools from Phalanger setup (which also includes proper version of PHP Tools compatible with your PhpNetCore.dll)
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: VS12 PhpNetCore error on startup

Postby jayinatlanta » September 13th, 2012, 9:32 pm

OK, thanks a lot for the advice!
jayinatlanta
 
Posts: 5
Joined: September 13th, 2012, 9:02 pm

Re: VS12 PhpNetCore error on startup

Postby Jakub Misek » September 13th, 2012, 9:39 pm

I hope it will help. Please give us feedback how does it work for you.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: VS12 PhpNetCore error on startup

Postby jayinatlanta » September 13th, 2012, 10:11 pm

Unfortunately, it still throws exactly the same error after an uninstall of Phalanger, uninstall PHP Tools, reinstall Phalanger only.
jayinatlanta
 
Posts: 5
Joined: September 13th, 2012, 9:02 pm

Re: VS12 PhpNetCore error on startup

Postby Jakub Misek » September 14th, 2012, 7:52 am

Can you check, whether you have PhpNetCore.dll in
%WinDir%\Microsoft.NET\assembly\GAC_MSIL\PhpNetCore\v4.0_3.0.0.0__0a8e8c4c76728c71 ? (should be installed by Phalanger)

Thanks
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: VS12 PhpNetCore error on startup

Postby jayinatlanta » September 14th, 2012, 7:31 pm

Nope, I can confirm it is not there after Phalanger install.
jayinatlanta
 
Posts: 5
Joined: September 13th, 2012, 9:02 pm

Re: VS12 PhpNetCore error on startup

Postby Jakub Misek » September 14th, 2012, 7:42 pm

Ok, so Phalanger installer missed that file ... try to run Phalanger installer (Setup.exe) as Admin (or I'm out of ideas) ... I will try to replicate the issue, Phalanger should definitely install PhpNetCore.dll into GAC (other components depend on it)
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: VS12 PhpNetCore error on startup

Postby jayinatlanta » September 14th, 2012, 10:37 pm

It worked via that method. Perhaps it was the fact that C++ runtime 2010 didn't appear to be installed (this is a pretty new Win 8 install), so maybe the initial install failed after that and didn't report anything.

Was a bit disappointed that the IIS integration didn't work with IIS 7.5 express (again, new development machine, don't have a full IIS install on here), completely failed at that step. So I don't see any ASP.net/Phalanger samples included, and have been searching for some on the web. (ASP.net samples page on this site seems to have been removed.)

In any case I am able to use the other project types and see my PHP code with the expected color-coding/IntelliSense. Thanks.
jayinatlanta
 
Posts: 5
Joined: September 13th, 2012, 9:02 pm

Re: VS12 PhpNetCore error on startup

Postby Jakub Misek » September 16th, 2012, 2:37 pm

We have to test Windows 8 environment, never tried Phalanger there before.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Next

Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 17 guests

cron

User Control Panel

Login

Who is online

In total there are 17 users online :: 0 registered, 0 hidden and 17 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 17 guests