Open/Save File dialog at runtime

Try building the solution. A lot of times, the red lines are false positives. I also have quite a few red lines in mine, but it builds successfully.