Reporter | Tatyana Lunegova (lunega) |
---|---|
Created | Nov 10, 2011 3:50:29 PM |
Updated | Jan 4, 2012 12:09:49 AM |
Resolved | Jan 3, 2012 4:28:48 PM |
Priority | Critical |
Type | Feature |
Fix versions | Next |
State | Fixed |
Assignee | Evgeny Pasynkov (pasynkov) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | 6.5.1.1703 |
Tried to create method 'foo' from usage and got it in .designer.cs file.
Seems like the reason is in Generated code options. If '*.Designer.cs ' is not in the 'Generated file masks' list the new method is created in .Designer.cs file.
Not sure this is correct because it causes some problems. One of them is designer file is regenerated after Rename class refactoring. As a result method created from usage is lost.
<asp:Button runat="server" OnClick="foo"/>
Seems like the reason is in Generated code options. If '*.Designer.cs ' is not in the 'Generated file masks' list the new method is created in .Designer.cs file.
Not sure this is correct because it causes some problems. One of them is designer file is regenerated after Rename class refactoring. As a result method created from usage is lost.