Unable to load projects in Studio2016

Support for all customers who have purchased a SAPIEN PowerShell Studio product license. This forum does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
PowershellingDK
Posts: 2
Joined: Thu Jun 04, 2015 4:58 am

Unable to load projects in Studio2016

Post by PowershellingDK » Mon Apr 16, 2018 11:33 pm

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 196 times

User avatar
PowershellingDK
Posts: 2
Joined: Thu Jun 04, 2015 4:58 am

Re: Unable to load projects in Studio2016

Post by PowershellingDK » Tue Apr 17, 2018 2:48 am

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 180 times

User avatar
davidc
Posts: 5126
Joined: Thu Aug 18, 2011 4:56 am

Re: Unable to load projects in Studio2016

Post by davidc » Tue Apr 17, 2018 8:15 am

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.
David
SAPIEN Technologies, Inc.