Hello,
At First i Created a Project. In this Project i have some psm1 Files Referenced.
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.
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
Shared = True - not saved
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.
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.
- mxtrinidad
- Posts: 399
- Last visit: Tue May 16, 2023 6:52 am
Re: Shared = True - not saved
Thanks for reporting the issue. We are currently looking into it and get back to you soon.
Re: Shared = True - not saved
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?
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.
SAPIEN Technologies, Inc.