– Exclude – The file will not be included in the build. The Reference Function properties are used to help integrate the file contents into the shell. – Include – The file is included in the build. This setting only applies to project files with the Build property set to Include. Setting the Shared property of a project file tells PowerShell Studio to provide PrimalSense for the functions defined in the file, across the whole project.īuild Order allows you to determine the order in which project files are merged into the final project script. Shared allows the functions and variables declared in the ps1 file to be referenced by other project files if Shared is enabled, you will not be able to invoke the file by its reference function. Reference Function is the name of the function that invokes the project file. Name is the name of the file, which can be edited here. General Project File SettingsĪll build settings for project files can be viewed in the Properties panel when the file is selected in the Project panel:įile Path is the location where the file is stored. Additionally, a file with the extension PSPROJS is created, containing the project’s current state (e.g., what files are open). Next, the Project panel will open with the newly created project:Ī project file has the file extension of PSPROJ. The File menu will close, and you may be prompted for additional information depending on the selected project template. Include Git ignore file for temporary project files – Creates a.Create project folder – Creates a folder with the project name in the Projects folder.Project Folder – The directory where the project will be located. Project Name – The name of the project.To create a new project in PowerShell Studio, open the File menu, select the New tab, then select Project:Īfter selecting a project template, you will be prompted for additional information to create the project. Using the project functionality in PowerShell Studio makes it easier to manage multi-file scripts, create multi-form GUIs, and create script modules.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |