It sounds like you need to add the namespace which encapsulates the
Path class before you can add it to the app. In Visual Studio or VS Code, you should be able to automatically resolve the namespace by left-clicking the
Path text, pressing
., and selecting
Otherwise, add it at the top of the file with all the other using statements.