Hello larryleach-7993, Welcome to Microsoft Q&A,
Environment.SpecialFolder.Personal gives something like 'D:\Documents' that Xamarin Forms can't write to
The problem is Environment.SpecialFolder.Personal
was under system namespace that can't be access in UWP platform. for your requirement, we suggest you use File System Helpers to get app's local folder that could access with path directly.
var localfolder = FileSystem.AppDataDirectory;
File.WriteAllText(localfolder + "/log.text", "hello");
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.