External dot referenced files not being included in packaged exe

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION 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.
This topic is 11 months and 3 weeks old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
mike_cuff
Posts: 5
Last visit: Thu Feb 29, 2024 8:24 am

External dot referenced files not being included in packaged exe

Post by mike_cuff »

Product: PowerShell Studio 2023 (64 Bit)
Build: v5.8.219
OS: Windows Server 2016 Datacenter (64 Bit)
Build: v10.0.14393.0

When building packages I am finding that external . referenced files are no longer being included in packaged exe.
I am experiencing problem with exe where source code etc has not been modified since last package build, i.e. worked fine in the past, now broken.

The attached screenshot shows:
1. fragment of my source code
2. the package being built (no references to files being included)
3. package being invoked when . files can be loaded due to location of exe
4. package being invoked when . files cannot be loaded because exe has been moved

Have been using this approach for years, seems to have stopped working after upgrading to latest version of powershell studio.

Have also include package .psbuild file so you can see my settings.

thanks
Mike C
Attachments
MorpheusOnBoardVMs.ps1.psbuild
(3.07 KiB) Downloaded 35 times
ps-package-problem1.JPG
ps-package-problem1.JPG (275.97 KiB) Viewed 2712 times
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 9:28 am
Answers: 39
Been upvoted: 30 times

Re: External dot referenced files not being included in packaged exe

Post by brittneyr »

We will look into this and get back to you soon.
Brittney
SAPIEN Technologies, Inc.
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 9:28 am
Answers: 39
Been upvoted: 30 times

Re: External dot referenced files not being included in packaged exe

Post by brittneyr »

I have confirmed this behavior and have filed a bug report for the development team. I'll update you if I have new information.
Brittney
SAPIEN Technologies, Inc.
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 9:28 am
Answers: 39
Been upvoted: 30 times

Re: External dot referenced files not being included in packaged exe

Post by brittneyr »

Please try service build 5.8.220 and let me know if this issue persists.
Brittney
SAPIEN Technologies, Inc.
This topic is 11 months and 3 weeks old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.