Renaming a project

Scenario

An existing project is to be reused for a new machine. For this purpose, the project is to be given the name of the new machine.

Challenge

When creating a project, you will be asked whether a Solution directory should be created. This option is the default behavior. If it is selected, the TwinCAT 3 project will be created in this directory.

Renaming a project 1:

The Solution file (*.sln) for the project contains a reference to all subprojects. If a TwinCAT 3 project is renamed, only the project file is renamed, not the folder. Thus, after renaming the project, the old folder name of the TwinCAT 3 XAE project will still exist on the hard disk, even though it is not located in the solution.

Solution options