Search found 4828 matches

by davidc
Wed Aug 23, 2017 8:03 am
Forum: PowerShell Studio
Topic: Build Error: The directory is not empty
Replies: 10
Views: 91

Re: Build Error: The directory is not empty

FYI, in the next service release, PowerShell Studio will continue with the build process even if the folder fails to delete. I suspect OneDrive is creating hidden / system files in the directory which is preventing the deletion.
by davidc
Tue Aug 22, 2017 4:02 pm
Forum: PowerShell Studio
Topic: Build Error: The directory is not empty
Replies: 10
Views: 91

Re: Build Error: The directory is not empty

Users have reported issues with OneDrive since Windows 8. Please make sure that OneDrive is configured to make the files are available offline. Otherwise it can cause problems where the system reports a file exists but the file isn't actually there.
by davidc
Tue Aug 22, 2017 3:38 pm
Forum: PowerShell Studio
Topic: Pre form load execution, working to silent execution
Replies: 3
Views: 37

Re: Pre form load execution, working to silent execution

If you plan to package the script into an executable, you will have to convert the switch parameter into a string or int value. For more details, please refer to the following article:

https://www.sapien.com/blog/2015/11/30/ ... able-file/
by davidc
Tue Aug 22, 2017 3:34 pm
Forum: PowerShell Studio
Topic: Pre form load execution, working to silent execution
Replies: 3
Views: 37

Re: Pre form load execution, working to silent execution

I recommend creating an Empty Project and add the psf file to the project. In the Startup.pss file, add a switch parameter to the top of the file: param([switch]$ShowGUI) and in the Main function of Startup.pss, check for the switch parameter: if ($ShowGUI) { Show-MainForm_psf } else { Run-NonGUIFun...
by davidc
Tue Aug 22, 2017 2:50 pm
Forum: PowerShell Studio
Topic: Build Error: The directory is not empty
Replies: 10
Views: 91

Re: Build Error: The directory is not empty

Is that folder on OneDrive? We had users encounter issues with OneDrive before. What happens if you move the project outside the OneDrive folder? Does the error persist?
by davidc
Tue Aug 22, 2017 1:09 pm
Forum: PowerShell Studio
Topic: Build Error: The directory is not empty
Replies: 10
Views: 91

Re: Build Error: The directory is not empty

Can you include the output when it fails? It is interesting that it fails in one case and not the other. I have yet to reproduce this on my end. If you can, please zip and upload the project or the project's psbuild here: https://www.sapien.com/support/upload This will hopefully help us reproduce th...
by davidc
Tue Aug 22, 2017 8:28 am
Forum: Wish List and Feature Requests
Topic: Powershell Studio : Drag and drop or sorted Function list
Replies: 1
Views: 42

Re: Powershell Studio : Drag and drop or sorted Function list

Thank you for the feedback. I will add it to our wish list.
by davidc
Mon Aug 21, 2017 1:25 pm
Forum: PowerShell Studio
Topic: Version Control - Visual Studio Team Services
Replies: 1
Views: 33

Re: Version Control - Visual Studio Team Services

Yes, PowerShell Studio relies on MSSCCI providers to integrate source control at this time. Without a provider, it will not integrate directly with the IDE. We do plan on removing the reliance on the MSSCCI provider, but I'm unable to give any estimates as to when that might happen. In the meantime,...
by davidc
Mon Aug 21, 2017 11:23 am
Forum: PowerShell Studio
Topic: Build Error: The directory is not empty
Replies: 10
Views: 91

Re: Build Error: The directory is not empty

Do you get the same error when you use the "Build Module" button in the Project panel?
Project - Build Module.png
Project - Build Module.png (12.43 KiB) Viewed 76 times
by davidc
Mon Aug 21, 2017 10:32 am
Forum: PowerShell Studio
Topic: Build Error: The directory is not empty
Replies: 10
Views: 91

Re: Build Error: The directory is not empty

Thank you for reporting the issue.

Please answer the following questions in order for us to help you further:

1. What are the exact steps are you taking when you get this error?
2. Where is the project located?
3. What build version did you have installed previously?