VS 2017 RC Crashing when opening PHP projects
13 posts
• Page 2 of 2 • 1, 2
Re: VS 2017 RC Crashing when opening PHP projects
So the version looks correct now, but I'm getting an error when I do anything with a PHP project.
This error popped up when I created a new project from existing code. Initially nothing happened when I created the project, but then when I tried to open it (it actually created the project file but no solution) it threw this error.
I also get a log of these when trying to open an existing project/solution. Generally a line in the Output panel that says:
D:\Source\example\Example.phpproj : error : Method not found: 'Devsense.PHP.Nodes.Tables.ITableType Devsense.PHP.Nodes.Tables.ITables.GetClass(Devsense.PHP.Syntax.QualifiedName)'.
This error popped up when I created a new project from existing code. Initially nothing happened when I created the project, but then when I tried to open it (it actually created the project file but no solution) it threw this error.
I also get a log of these when trying to open an existing project/solution. Generally a line in the Output panel that says:
D:\Source\example\Example.phpproj : error : Method not found: 'Devsense.PHP.Nodes.Tables.ITableType Devsense.PHP.Nodes.Tables.ITables.GetClass(Devsense.PHP.Syntax.QualifiedName)'.
You do not have the required permissions to view the files attached to this post.
-
jazz - Posts: 41
- Joined: August 25th, 2016, 1:59 am
- Location: Canberra, Australia
Re: VS 2017 RC Crashing when opening PHP projects
Hi Jazz,
It seams there is an older PHP Tools installed on your system.
Please close VS [2010,2012,2013,2015] and delete following folder:
`C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Devsense.PHP.Nodes`
It seams there is an older PHP Tools installed on your system.
Please close VS [2010,2012,2013,2015] and delete following folder:
`C:\Windows\Microsoft.NET\assembly\GAC_MSIL\Devsense.PHP.Nodes`
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: VS 2017 RC Crashing when opening PHP projects
Thanks Jakub. Yes, on this machine I do have 2015 installed as well because VS2017 kept crashing.
I did as you said and got a different error when trying to create/open a project. But then uninstalling and re-installing the extension in VS2017 allowed me to then create a new PHP project using existing code without crashing.
I then added a second project to the solution which is my composer library (this used to crash VS2017 consistently) and it is now working!
I've done some quick testing with things that used to make it crash and seems to be OK now. if that's the case I can remove VS2015 and move into 2017 full time.
Thanks heaps, guys!
jamie
I did as you said and got a different error when trying to create/open a project. But then uninstalling and re-installing the extension in VS2017 allowed me to then create a new PHP project using existing code without crashing.
I then added a second project to the solution which is my composer library (this used to crash VS2017 consistently) and it is now working!
I've done some quick testing with things that used to make it crash and seems to be OK now. if that's the case I can remove VS2015 and move into 2017 full time.
Thanks heaps, guys!
jamie
-
jazz - Posts: 41
- Joined: August 25th, 2016, 1:59 am
- Location: Canberra, Australia
13 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 35 guests