Delete a duplicate program implementation

When you create a program, it contains the forward declaration and the implementation. If the implementation is copied and creates a duplicate implementation, you receive the error
ProgramName Program implementation already exists. To avoid unexpected results, create a unique program name. Error code: DS0182.
You must delete the duplicate implementation file to resolve this error.
To delete a duplicate program implementation
  1. Open the Code Editor from the program element by right clicking the element and selecting
    Code Editor
    .
  2. In the Code Editor, navigate to the line number and Character column of the error message, then select the program implementation that you want to delete.
  3. Select action icon to the left of the component to open the Code Actions menu.
  4. Select
    Delete duplicate implementation
    .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal