Shared = True - not saved

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 4 years and 1 month 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.
DanielStockinger
Posts: 5
Last visit: Mon Nov 30, 2020 10:10 pm

Shared = True - not saved

Post by DanielStockinger »

Hello,

At First i Created a Project. In this Project i have some psm1 Files Referenced.
Project.png
Project.png (6.23 KiB) Viewed 1882 times
I would like, that the psm1 Files would be included during the Build Process to the .exe File.
So i found out, that i have to set Build to Include and Shared to True for all the psm1 Files.
Psm1.png
Psm1.png (6.52 KiB) Viewed 1882 times
But the Option Shared = True is not saved in the Project. So every time i open the Project i have to do this again.

Thanks for your Help.

Regards
Daniel
User avatar
mxtrinidad
Posts: 399
Last visit: Tue May 16, 2023 6:52 am

Re: Shared = True - not saved

Post by mxtrinidad »

Thanks for reporting the issue. We are currently looking into it and get back to you soon.
User avatar
brittneyr
Site Admin
Posts: 1654
Last visit: Wed Mar 27, 2024 1:54 pm
Answers: 39
Been upvoted: 30 times

Re: Shared = True - not saved

Post by brittneyr »

Modules files are not normally included in the packaging process for an exe. This is why if you were using a module project, it would not allow you to build an exe.
Shared is intended for allowing the use of functions and variables declared in the file to referenced by other project files. Module Files are different which is most likely why the value isn't being saved. If you were using a Module Project then you would see that the values of these files are always set to true.

While I agree the value should be saved, what you are trying do to was not the intended functionality as I can see you are just using module files in a project. What are you trying to accomplish?
Brittney
SAPIEN Technologies, Inc.
This topic is 4 years and 1 month 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.