-
Notifications
You must be signed in to change notification settings - Fork 5k
WPF Store application failed to loads the output directory files due to wrong current directory #43126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It seems you are running this on arm Machine ( my assumption) but regarding the issue you have not supplied full path that's reason it's generating exception you may get path of executables using assembly.getexecuting assembly.location and then file name it should work fine |
Have you tried passing the full path of the file to |
Due to lack of recent activity, this issue has been marked as a candidate for backlog cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will undo this process. This process is part of our issue cleanup automation. |
This issue will now be closed since it had been marked |
Description
I have published WPF application in Store SampleBrowser, and it fails to load an document file(Books.xml - Build Action : Content, Copy to output directory: Copy Always) so application crash on loading xml document. Please find the below code how we have loaded xml document and exception screenshot below:
XDocument xDocument = XDocument.Load(@"Assets/TileView/Books.xml");
The text was updated successfully, but these errors were encountered: