Delete an unreachable program implementation

When you create a program, it contains the forward declaration and the implementation. The forward declaration contains the
extern
keyword, such as
extern program myProgram()[];
.
If you delete the forward declaration without deleting the implementation, you receive the error
Unable to resolve the reference to the Program 'programFQN'. Error code: DS0038.
You must delete the implementation file to resolve this error.
To delete an unreachable 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 unreachable program implementation
    .
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal