Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 23308 [details]
Screenshot of Android Studio error
Using uppercase letters for android layout files can cause issues. See: https://bugzilla.xamarin.com/show_bug.cgi?id=47441
When working in Android Studio, there is an error if you try to title a layout file with an uppercase letter. See attached photo.
Add a similar feature of letting the user know that this is invalid to help reduce the chance of creating issues like in Bug #47411.
I'm confirming this and assigning to 15.4, but feel free to move to 15.5 if it's too much work since it's enhancement.
@Matt, is this something that's doable in the new file dialog? Do you know? Asking since you did the work on the new project dialog.
Looking at the code the OK button can be disabled if the file name is considered not valid.
But there is no explanation shown in the dialog as to why the OK button is disabled. Which is not going to be that good a user experience. Ideally the dialog would show a label somewhere, similar to Android Studio does.
It looks like a custom FileDescriptionTemplate or a custom FileTemplate would be needed with a custom implementation of the IsValidName method.
Thanks Matt. I think this will have to wait for 15.5 since 15.4 is too close and this is technically an enhancement
Now tracked as an internal backlog work item on https://devdiv.visualstudio.com/DevDiv/_workitems/edit/549350