Wednesday 1 February 2012

Visual Studio - get rid of __Designer Mapid

Within Visual stdio find and replace use the following regex to remove all of there extra tags.

if you want to get rid of __designer:mapid="22"

use this regex

<__designer\:mapid=:q

1 comment:

  1. press ctrl+H or go to visual studio menu >edit >find and replace>quick replace.
    In the 'find what' textbox type __designer:mapid="*" and in the the 'replace with' textbox clear whatever is there and leave it blank .
    expand the find options and check the 'Use' check box and in the combo box/drop down list select use wildcards. then click on 'find next' button . if it gets and highlights a match click on 'replace' button or 'click on replace all'

    ReplyDelete