FileSavePicker lowercases the filename "Service.resx" when it creates the StorageFile object. Why? RRS feed

  • Question

  • Hello,

    When the user selects a file named, "Service.resx" in FileSavePicker, the name in the StorageFile is all lowercase.  Why does it make it all lowercase?  How can I tell the picker to keep the name as entered?  When I use a different name like "Hi.resx", the picker works properly.



    Sunday, July 28, 2013 5:58 PM


  • Hi A Bit of Help,

    I did some test on my local machine, but I did not see any uppercase to lowercase change, the name is still what I input. 

    Can you share your code with us, so that we can help with this strange behavior.

    Besides, you can set a break point in your code to see in what place the name has been modified. Furthermore there are some possibilties may exist, for instance the folder already contain the "Service.resx" and the file is accessed by another app.

    Good luck,

    James He
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, July 29, 2013 8:34 AM