4
Shouts

T4 tip (debug) - [Export] Bnaya Eshet

posted by bnayabnaya 648 days, 7 hours, 58 minutes ago
Sunday, August 15, 2010 2:37:59 PM GMT

T4 tip (debug)T4 tip (debug) while I was writing the post on T4 debugging (here), I had show how to use System.Diagnostics.Debugger.Break() in order of getting the debugger stop.   actually there is 2 problem with this pattern:the break point remain active while no debugger is attached.it cause VS to crash when ever saving the t4, when the debugger doesn't attached.Solution we can overcome those issues by changing the pattern to match the following:Code Snippetif (System.Diagnostics.Debugger.IsAtta...

category: Architecture | clicked: 2 | | source: blogs.microsoft.co.il | show counter code
tags: T4, Code Generation

No comments yet, be the first one to post comment.

To post your comment please login or signup