Author Topic: New behavior this morning: prjtemplates.vpt file missing template (2019)  (Read 2589 times)

macjohnmcc

  • Community Member
  • Posts: 62
  • Hero Points: 1
Full message
prjtemplate.vpt file missing template Microsoft Visual Studio 2019 C++ or configuration Release
I am running the latest version of VS2019 Windows X64 just downloaded it this morning to replace slightly older version.

Once I dismiss the dialog I get another that says "Invalid XMLCFG node index" and a slick-c stack dump.
 Invalid XMLCFG node index
 0x0000000070A55AE0 -xmlcfg-copy(6,4,5,-1,2)   p_window_id: 3   p_object: OI_MDI_FORM   p_name:
projconv.ex 26946 _ProjectCopy_Config(6,5,-1)   p_window_id: 3   p_object: OI_MDI_FORM   p_name:
wkspace.ex 36125 _WorkspaceAssociate(C:\dev\Entrap\ETWSvc\ETWSvc.sln,0)   p_window_id: 3   p_object: OI_MDI_FORM   p_name:
wkspace.ex 6588 workspace_open(C:\dev\Entrap\ETWSvc\ETWSvc.sln,,,1,1)   p_window_id: 5   p_object: OI_FORM   p_name:

Is there some setting I can reset to get this working again? If I close the project file it doesn't show the error and once I open the project again it produces this behavior.

I deleted the vpw and vpwhist files and tried to open the SLN file again and get the message about the missing template and this stack dump:

 Invalid XMLCFG node index
 0x0000000070A55AE0 -xmlcfg-copy(9,4,8,-1,2)   p_window_id: 3   p_object: OI_MDI_FORM   p_name:
projconv.ex 26946 _ProjectCopy_Config(9,8,-1)   p_window_id: 56   p_object: OI_EDITOR   p_name: _shellEditor
wkspace.ex 36125 _WorkspaceAssociate(C:\dev\Entrap\ETWSvc\ETWSvc.sln,0)   p_window_id: 56   p_object: OI_EDITOR   p_name: _shellEditor
wkspace.ex 6588 workspace_open(C:\dev\Entrap\ETWSvc\ETWSvc.sln,,,1,1)   p_window_id: 20   p_object: OI_IMAGE   p_name:
wkspace.ex 7813 wkspace:workspace_open_other(C:\dev\Entrap\ETWSvc\ETWSvc.sln,Open Visual Studio .NET Solution,Visual Studio Solution Files(*.sln),All Files(*.*),)
   p_window_id: 20
   p_object: OI_IMAGE
   p_name:
wkspace.ex 7910 workspace_open_visualstudio()   p_window_id: 20   p_object: OI_IMAGE   p_name:

I searched my entire C: drive for any files with .vpt extension and found none.
« Last Edit: October 07, 2019, 02:33:34 PM by macjohnmcc »

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6864
  • Hero Points: 528
Re: New behavior this morning: prjtemplates.vpt file missing template (2019)
« Reply #1 on: October 11, 2019, 01:10:57 AM »
Are you running SlickEdit 2019 (v24)? You'll need it for Visual Studio 2019 support.

The prjtemplates.vpt is stored in the zip file plugins/com_slickedit.base.zip.

macjohnmcc

  • Community Member
  • Posts: 62
  • Hero Points: 1
Re: New behavior this morning: prjtemplates.vpt file missing template (2019)
« Reply #2 on: October 11, 2019, 03:43:18 AM »
Yes I am the very latest version.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6864
  • Hero Points: 528
Re: New behavior this morning: prjtemplates.vpt file missing template (2019)
« Reply #3 on: October 11, 2019, 12:12:35 PM »
Can you upload a small sample solution and project file? I definitely don't need any source files or even a real solution and project file. Just something to test. 

It is possible this has nothing to do with the solution/project but I have to start somewhere trying to narrow this down.

macjohnmcc

  • Community Member
  • Posts: 62
  • Hero Points: 1
Re: New behavior this morning: prjtemplates.vpt file missing template (2019)
« Reply #4 on: October 11, 2019, 03:05:01 PM »
I have attached a 7zip with sln, vcxproj, vpw and vpj files for the project.

Initially I was able to use VS2019 projects with SE2019 without issues. I uninstalled and reinstalled a fresh download of SE2019, deleted the .VPJ and .VPW files and recreated them and still had the problem.

The version I am running:
 SlickEdit Pro 2019 (v24.0.0.8 64-bit)
OS: Windows 10 x64
OS Version: 10.00.0 
Memory: 54% Load, 8847MB/16207MB Physical, 12989MB/18639MB Page File, 4856MB/134217727MB Virtual
Shell Information: C:\WINDOWS\system32\cmd.exe /q
Screen Size: 1920 x 1080, 1920 x 1080

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6864
  • Hero Points: 528
Re: New behavior this morning: prjtemplates.vpt file missing template (2019)
« Reply #5 on: October 12, 2019, 04:02:48 PM »
Try deleting the .vpj files and the .vpw files and opening the solution again.

The .vpj file you uploaded looks bad. What you uploaded doesn't help me much because the .vpj file was already corrupted (no idea how). Once I deleted the .vpj file and the .vpw file, then I got a reasonable .vpj file. The .vpj file you uploaded has no configs. That's is never supposed to happen.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6864
  • Hero Points: 528
Re: New behavior this morning: prjtemplates.vpt file missing template (2019)
« Reply #6 on: October 12, 2019, 05:37:43 PM »
I've got a fix for the down stream issue. When there is a config missing, SlickEdit is supposed to add it. In this case there were none. While this specific case shouldn't happen, a user can add new visual studio configs and SlickEdit is supposed to automatically add corresponding SlickEdit configs. That code was broken.

Hot fix added for next hot fix build
« Last Edit: October 12, 2019, 06:35:27 PM by Clark »

macjohnmcc

  • Community Member
  • Posts: 62
  • Hero Points: 1
Re: New behavior this morning: prjtemplates.vpt file missing template (2019)
« Reply #7 on: October 14, 2019, 04:36:04 PM »
Thank you. I like to find the weird bugs... it seems.