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
- Open the Code Editor from the program element by right clicking the element and selectingCode Editor.
- 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.
- Select
to the left of the component to open the Code Actions menu.
- SelectDelete unreachable program implementation.
Provide Feedback