No announcements
Found 2300295 threads
-
2 Votes
Generate code in designer file.
When we design the control in design time, the serilizer instance will deserialize the control instance, generate related code and add them to ...Answered | 5 Replies | 5358 Views | Created by KeiPi - Thursday, December 17, 2009 2:03 PM | Last reply by Vladimir.Ilic - Sunday, August 15, 2010 1:46 PM -
6 Votes
Designer generating code that causes error
I guess I was testing older designer code when I thought it worked.Answered | 14 Replies | 1407 Views | Created by Paul Ishak - Thursday, July 18, 2013 4:40 AM | Last reply by ssta - Thursday, July 18, 2013 2:40 PM -
0 Votes
Creating a custom designer to generate code using T4
Steve, You can generate code directly from the C# definition of your interface using a number of APIs, including the standard System.Reflection, FxCop's ...Answered | 1 Replies | 4775 Views | Created by SteveODotNet - Friday, July 16, 2010 1:29 PM | Last reply by Oleg V. Sych - Friday, July 16, 2010 2:40 PM -
4 Votes
Designer generated code problem with IContainer components
If anyone is interested, I may have found a cause for the IContainer field being removed from code generation.Answered | 9 Replies | 17479 Views | Created by Martin Hart Turner - Wednesday, July 21, 2010 8:11 AM | Last reply by Steve DeBusschere - Wednesday, February 22, 2012 12:32 AM -
0 Votes
Designer Exception - Code generation for property 'Options' failed.
I agree now that this is a third party issue, but do you have any advice on how I can get a stack track from visual studio designer to garner a better sense of where the ...Answered | 3 Replies | 5538 Views | Created by johanolafkossiii - Saturday, March 5, 2011 4:56 AM | Last reply by Neddy Ren - Tuesday, March 8, 2011 2:54 AM -
0 Votes
generic design
My first advice to doing any bulk inserts in a DB is: Do not do that in C# code.Answered | 2 Replies | 299 Views | Created by arkiboys - Monday, October 10, 2016 10:42 PM | Last reply by Christopher84 - Tuesday, October 11, 2016 5:00 PM -
0 Votes
Error in generated frorm designer code (VS 2017)
The error reported by the VB application and so-called help files had no mention that using what now seems a reserved word can generate the error.Answered | 5 Replies | 664 Views | Created by Chas_c - Sunday, March 4, 2018 11:31 AM | Last reply by Chas_c - Monday, March 5, 2018 2:21 PM -
0 Votes
Contract warnings with VB Designer generated Code
To handle this properly would require lots of annotations on library code that we don't have yet.Answered | 1 Replies | 4913 Views | Created by Alexander Wurzinger - Tuesday, February 10, 2009 12:02 PM | Last reply by Manuel Fahndrich - Sunday, March 1, 2009 6:40 AM -
7 Votes
About de Code Generator of Designer Form.
I believed that the Designer code not calling the code from the parent.Answered | 10 Replies | 3794 Views | Created by Humberto Queiroz [desativando...] - Sunday, September 19, 2010 10:39 PM | Last reply by Humberto Queiroz [desativando...] - Thursday, September 23, 2010 5:04 PM -
0 Votes
Design mode for generic class
Name it generic component In the new component design space, click "click here to switch to code view" and add the genric ...Answered | 1 Replies | 5452 Views | Created by The Waldo - Friday, October 22, 2010 3:27 PM | Last reply by Blair Allen Stark - Saturday, October 23, 2010 8:59 AM -
0 Votes
Customize generated code and merge it
The designers created by the DSL Designer have the same requirement: the base designer code is generated from the model, which the author of the ...Answered | 3 Replies | 2834 Views | Created by Marco Ferrari - Thursday, December 20, 2012 11:39 AM | Last reply by DuncanP - Monday, December 24, 2012 8:11 AM -
1 Votes
Code generator clean generated files
Personally I think the new approach used with .XAML files is the cleanest approach for how to deal with file generation because it produces the generated .cs ...Answered | 6 Replies | 4411 Views | Created by pepone.onrez - Monday, April 20, 2009 5:50 PM | Last reply by kainhart - Tuesday, August 11, 2009 12:38 PM -
0 Votes
Create a property which is not generated in designer
Hi Le, If you want to hide the property to the designer, Louis has provided you the answer.Answered | 3 Replies | 2741 Views | Created by Le Vo Quang - Tuesday, May 17, 2011 1:47 AM | Last reply by Anirban Bhattacherya - Wednesday, May 18, 2011 8:28 AM -
0 Votes
How to add new Code Generation Item for EF Designer?
Open up the Model diagram and select properties from inside the window, and make sure "Code Generation Strategy" is set to "default".Answered | 10 Replies | 7927 Views | Created by Mike Paterson - Tuesday, February 7, 2012 3:46 PM | Last reply by JeremyCMorgan - Monday, May 6, 2013 2:02 PM -
3 Votes
Generic Design of Partition of Tables.
Hi Experts, I started working on partition of tables in SQL server 2008 R2 version, I would like to come with generic approach first so that it could be applied to various tables.Answered | 5 Replies | 1200 Views | Created by Shivraj Patil - Friday, November 15, 2013 9:44 AM | Last reply by Dan Guzman - Friday, November 15, 2013 12:33 PM -
0 Votes
Generate code via TextTemplates transparently -- Like VS Designer
It's fine but I can only access to model data but I wanted to do is to make a WYSIWYG designer which outputs HTML.Answered | 4 Replies | 3640 Views | Created by engin.a - Friday, July 6, 2012 11:00 AM | Last reply by Jean-Marc Prieur - Monday, July 16, 2012 11:53 AM -
2 Votes
Code Generation - XML Comments
The L2ST4 project on CodePlex can also be used to modify the code generation process - you could store the comments in an XML file and pull them in quite easily.Answered | 3 Replies | 3987 Views | Created by Randy Minder - Monday, October 19, 2009 8:34 PM | Last reply by Damien Guard - Tuesday, October 20, 2009 4:31 AM -
0 Votes
Code Generation in Entity Framework
It should be the designer for Entity Framework.Answered | 1 Replies | 573 Views | Created by Jawsurgeon - Monday, December 21, 2015 5:47 PM | Last reply by Weiwei Cai - Tuesday, December 22, 2015 10:16 AM -
0 Votes
Custom tool to offer code behind and generated code
I really want to create something very like WPF designer, but I thought that by giving up the actual designer surface (and keeping standard XML editor) I could keep it as ...Answered | 8 Replies | 3488 Views | Created by Jan Kučera - Sunday, November 16, 2008 11:18 AM | Last reply by Jan Kučera - Sunday, November 16, 2008 2:54 PM -
0 Votes
How to remove a field from an Entity in the designer and update generated code properly?
I'll answer my own question: because the deleted field was referenced in a query (built in the designer) for the entity collection in the screen.Answered | 1 Replies | 768 Views | Created by PepperoniOnly - Monday, June 17, 2013 1:48 AM | Last reply by PepperoniOnly - Monday, June 17, 2013 3:23 AM - Items 1 to 20 of 2300295 Next ›
No announcements