Bug 5376 - Controls not being added to designer.cs
Summary: Controls not being added to designer.cs
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: ASP.Net ()
Version: 3.0.x
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
: 5968 ()
Depends on:
Reported: 2012-05-28 17:06 UTC by Michael Thwaite
Modified: 2015-01-16 07:17 UTC (History)
6 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:

Description Michael Thwaite 2012-05-28 17:06:55 UTC
After working with a project for some time, after editing the .aspx file and compiling the designer.cs will be either empty or may be missing some controls. Editing and re-saving the .aspx file (add a space, remove the space, hit Command-S) will often resolve the problem however, as you continue it may degrade until this no longer works. Ultimately, the designer.cs file will no longer stay up to date.

Verified with two different projects on two different Mac OS machines (10.7.4).

Verified re-creating the .aspx from scratch - problem still occurs.

Reverting to MonoDevelop 2.8.x resolves the issue.
Comment 1 Mikayla Hutchinson [MSFT] 2012-05-29 12:14:20 UTC
Mike, this sounds like a regression in the type system that has seriously impacted ASP.NET support.
Comment 2 Michael Thwaite 2012-05-29 12:33:28 UTC
I've tried again on a different machine; same issue however, it reminded me that I often see an exception when I enter the first '<' for a tag in the aspx editor. Something not starting ok. After that initial exception I don't see any code completion working.
Comment 3 ventsislav mladenov 2012-06-08 03:35:58 UTC
I can confirm th
Comment 4 Mikayla Hutchinson [MSFT] 2012-07-05 19:07:48 UTC
*** Bug 5968 has been marked as a duplicate of this bug. ***
Comment 5 Aleksi Tanskanen 2014-11-20 05:58:51 UTC
Happens on Ubuntu 14.04 with Monodevelop 4.0.12
Comment 6 Prashant manu 2015-01-16 00:55:43 UTC
We have checked with modifying '.aspx.cs' and '.aspx.designer.cs' 
and ASP.NET project builds and run successfully. 
Screencast: http://www.screencast.com/t/12Qdy3viryfF

Environment Info:
Xamarin Studio Version 5.7.1 (build 13)
Build Information
Release ID: 507010013
Git revision: 8e357d6be321e716f361ebc9591e4cee7f217c21
Build date: 2015-01-15 14:23:22-05
Xamarin addins: a6842a7727f64e956f942b8160f7835c9d9076a4
Comment 7 Prashant manu 2015-01-16 00:55:59 UTC
Closing this issue.
Comment 8 Michael Thwaite 2015-01-16 07:17:51 UTC