Forum Xamarin.iOS
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Need a tip for debugging

HuhuWLHuhuWL Member ✭✭

hey all,

so the thing is. I have an App that i can Distribute without errors. Then i install the ipa with itunes and add a config.json file to the app with the file sharing in tunes. Too read the config.json i use: (doing it like here https://docs.microsoft.com/en-us/xamarin/ios/app-fundamentals/file-system)

            var file = "config.Json";
            var filePath = Environment.GetFolderPath (Environment.SpecialFolder.MyDocuments)
            var configFile = Path.Combine(filePath, file);

When i start the app, its closing directly. Now i want to know, how i can debug to find the problem, if i start the app from Visual Studio the config.json will not be there, obviously. With Android its working only for iOS not.

thanks for helping :)

Tagged:
Sign In or Register to comment.