VS12 PhpNetCore error on startup
11 posts
• Page 1 of 2 • 1, 2
VS12 PhpNetCore error on startup
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
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
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)
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. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: VS12 PhpNetCore error on startup
OK, thanks a lot for the advice!
- jayinatlanta
- Posts: 5
- Joined: September 13th, 2012, 9:02 pm
Re: VS12 PhpNetCore error on startup
I hope it will help. Please give us feedback how does it work for you.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: VS12 PhpNetCore error on startup
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
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
%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. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: VS12 PhpNetCore error on startup
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
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. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: VS12 PhpNetCore error on startup
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.
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
We have to test Windows 8 environment, never tried Phalanger there before.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
11 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 17 guests