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 3025 [details]
incorrectly named file
In a MonoTouch project, I want to copy and paste a xib and it's two .cs files. The cs file has a .designer file as a node underneath it. When I copy it, it creates a new designer file and appends (copy) to the end of the filename. However I am now completely unable to rename this file. See the attached screenshot, I copied the PurchaseScreen.cs which comes with a .designer but now I cannot rename the file no matter what I do.
I think Jeff fixed this in master, but I'm not sure.
Looks like the context menu won't allow you to rename the file in MonoDevelop 3.1.0
Now that I fixed the drag&drop of .designer.cs files, most of the backend logic is probably there, we might just need to enable the UI.
Hah. All I had to do was enable the UI option and the backend logic worked.
This is now fixed in git master.
As a workaround in MonoDevelop 3.1.x, you can drag&drop the designer.cs file out from under the parent source file, rename it, and then drag&drop it onto the source file to make it a child again.