Page 1 of 1

Unable to load projects in Studio2016

Posted: Mon Apr 16, 2018 11:33 pm
by PowershellingDK
Starting with the product details:
Product, version and build: Powershell Studio 2016, version 5.2.121
32 or 64 bit version of product: 64-bit
Operating system: Windows 10
32 or 64 bit OS: 64-bit

I have recently installed PS Studio on a new machine and wanted to continue on my projects, but whenever I try to open them, "nothing" happens.
The projects are not being loaded, but just listed under recently opened, but when I click the projects in the recent list, it states that the files are not accessible. I've tried to copy the files to various locations on my PC, but the result is the same. It's the same issue with all of my backed up projects.
Both .psf and .ps1 files are present for all projects.
The projects may have been written in an older version of PS Studio (Still a 2016 version) - would this be an issue? - if so, how can I fix this?
Below is a screenshot of what happens:
2018-04-17 08_32_32-SAPIEN PowerShell Studio 2016.png
2018-04-17 08_32_32-SAPIEN PowerShell Studio 2016.png (5.96 KiB) Viewed 1809 times

Re: Unable to load projects in Studio2016

Posted: Tue Apr 17, 2018 2:48 am
by PowershellingDK
Seems like my assumption was correct.
It refuses to load because it was written in another version. What the? So now I've lost all my projects? - Please tell me there's a way to fix this!:
2018-04-17 11_47_31-SAPIEN PowerShell Studio 2016.png
2018-04-17 11_47_31-SAPIEN PowerShell Studio 2016.png (7.84 KiB) Viewed 1793 times

Re: Unable to load projects in Studio2016

Posted: Tue Apr 17, 2018 8:15 am
by davidc
This message appears when you try to open a psf file that was created or edited with a later version of PowerShell Studio.
If you edit an older version file, PowerShell Studio will automatically create a backup of the original psf file:

CS-Generator.psf.bak

Simply rename the file and you should able to edit it with your original version.

Re: Unable to load projects in Studio2016

Posted: Wed Apr 25, 2018 6:43 am
by PowershellingDK
Sorry for the late reply.
There is no such file as CS-Generator.psf.bak created. So there's nothing to rename.
Some of the old project files work, some don't.

Re: Unable to load projects in Studio2016

Posted: Wed Apr 25, 2018 8:09 am
by davidc
If you can zip and upload the project and I can take a quick look:

https://www.sapien.com/support/upload

Re: Unable to load projects in Studio2016

Posted: Thu Apr 26, 2018 5:30 am
by PowershellingDK
Thank you David, I've uploaded a zip file.

Re: Unable to load projects in Studio2016

Posted: Thu Apr 26, 2018 8:04 am
by davidc
Can you also upload one of the files that you are able to load?

Thank you,

Re: Unable to load projects in Studio2016

Posted: Tue May 01, 2018 1:47 am
by PowershellingDK
I've uploaded a project that opens correctly, thank you.

Re: Unable to load projects in Studio2016

Posted: Tue May 01, 2018 8:11 am
by davidc
I emailed you a modified CS-Generator.psf. It is possible that you may encounter minor compatibility issues but it should load.