Bug 43019 - Visual Studio designer does not sync correctly with the underline CS file
Summary: Visual Studio designer does not sync correctly with the underline CS file
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Designer Integration ()
Version: 4.2.0 (C8)
Hardware: PC Windows
: High normal
Target Milestone: 4.2.0 (C8)
Assignee: Adrian Alonso
URL:
Depends on:
Blocks:
 
Reported: 2016-08-02 21:56 UTC by reemfz
Modified: 2016-08-11 11:14 UTC (History)
13 users (show)

Tags: BZSRC7
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 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:
Status:
VERIFIED FIXED

Description reemfz 2016-08-02 21:56:16 UTC
# Steps to reproduce
Add couple controls (buttons) to the view
create new actions to each button (i.e add new event handlers to touch up inside). 
Now pick one of the buttons and delete the event handler using the designer (by clicking on the x icon).
the action is never removed from the designer.cs file.

# Expected behavior
the action should be removed from the underline designer.cs file

# Actual behavior
the action declaration in the desginer.cs file is never removed.

# Supplemental info (logs, images, videos)


# Test environment (full version information)
Comment 2 Alan McGovern 2016-08-04 22:25:20 UTC
Ben, if this is being marked as a c8 blocker then can we check if the issue still exists in c8? It looks like it was filed against c7.
Comment 6 xamarin-release-manager 2016-08-10 13:44:51 UTC
Fixed in version 99.0.0.3322 (master)

Author: Adrian Alonso
Commit: b553fbab5b50f91225834b2c5eb6d01e9261c2cc (xamarin/XamarinVS)
Comment 7 xamarin-release-manager 2016-08-10 15:04:55 UTC
Fixed in version 4.2.0.449 (cycle8)

Author: Adrian Alonso
Commit: fdbb0bf117e42d9444b5dadc2502fa255e5c56e7 (xamarin/XamarinVS)