Is there any way to have VisualStudio stop modifying code behind files
automatically? I'm trying to change the base case and add a handler
in the InitializeComponent Sub and VS keeps wiping out the code I
place in this sub whenever I touch the page visually.InitializeComponent is meant to be used by the VS designer, and it
regenerates it all the time. Put your code elsewhere.
"Anthony DePinto" <adepinto@.idmi.net> wrote in message
news:8dc16fb8.0405040801.fd122e3@.posting.google.com...
> Is there any way to have VisualStudio stop modifying code behind files
> automatically? I'm trying to change the base case and add a handler
> in the InitializeComponent Sub and VS keeps wiping out the code I
> place in this sub whenever I touch the page visually.
Wednesday, March 28, 2012
VisualStudio 2003
Labels:
asp,
base,
case,
code,
filesautomatically,
handlerin,
modifying,
net,
visualstudio
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment