Alright I'm stumped, I know how to do this is Swift but I can't get it working in xamarin. I'm trying to open a .txt file and read it. Should be simple. I keep getting this error though.
Could not find a part of the path "/Users/stephenvickers/Library/Developer/CoreSimulator/Devices/1FC3F851-5D1F-41F5-AD85- 97C526AA405A/data/Containers/Bundle/Application/45802FF2-C10B-4F9D-B738-88F889CED89B/ExploreStars_iOS.app/TextFiles/AboutText.txt".
I'm trying to open it like this:
var text = File.ReadAllText(file);
The file I'm trying to read is in the project under a TextFiles Folder. I downloaded the sample project and looked at it from the Github project and that runs fine.
Can anyone help?