Don't Touch My Code!

Last post 05-10-2007 10:30 AM by mattb. 10 replies.

Sort Posts:

  • Don't Touch My Code!

    05-07-2007, 2:58 PM
    • Contributor
      2,331 point Contributor
    • mattb
    • Member since 06-21-2002, 12:33 PM
    • Woodbury, MN
    • Posts 530
    I thought one of the most complained about issues with Visual Studio 2003 was the automatic code formatting in Source View.  Then our eyes lit up when we heard VS 2005 wasn't going to touch our html.  WELL...   is that totally true?  It appears that VS 2005 is still doing a little bit of formatting here and there and it pisses me off!   I'll have a long line of html with a bunch of tags lined up and I have to scroll forever to the right to get to the last tag....   to break it up, I hit enter, which puts my beginning tag of a control on the next line.  I switch back and forth from design view and when I come back, the code gets moved BACK the way it was.  And they are inserting a bunch of these throughout too: 

    __designer

    :wfdid="w6"

     

    I've turned auto-formatting off via Tools-->Options-->Text Editor etc. etc.  Has anyone been able to TOTALLY turn off ALL code formatting?

    Matt Brown
    MetalReview.com - Metal music community and reviews
    Haulix - Easy promotional media distribution for the music industry
  • Re: Don't Touch My Code!

    05-07-2007, 9:28 PM
    Those are attributes VS 2005 uses intermally to track changes to controls so it can see what changed and what not and avoid unnecessary changes in markup formatting. If these attributes show up in Source view, there is something seriously broken in the setup. Is this plain clean VS install or did you install, say, Ajax prerelease and then upgraded? Is it SP1 or not?
    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Don't Touch My Code!

    05-08-2007, 9:50 AM
    • Contributor
      2,331 point Contributor
    • mattb
    • Member since 06-21-2002, 12:33 PM
    • Woodbury, MN
    • Posts 530

    Thanks for the reply.

    I'm using Visual Studio 2005 Professional Edition - version 8.0.50727.42  and Ajax official release.   I don't see anything in ABOUT - about a service pack installed..

    Matt Brown
    MetalReview.com - Metal music community and reviews
    Haulix - Easy promotional media distribution for the music industry
  • Re: Don't Touch My Code!

    05-08-2007, 11:46 AM
    Did you install AJAX RTM clean or there was pre-release of AJAX installed?
    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Don't Touch My Code!

    05-08-2007, 11:48 AM
    • Contributor
      2,331 point Contributor
    • mattb
    • Member since 06-21-2002, 12:33 PM
    • Woodbury, MN
    • Posts 530
    clean install
    Matt Brown
    MetalReview.com - Metal music community and reviews
    Haulix - Easy promotional media distribution for the music industry
  • Re: Don't Touch My Code!

    05-08-2007, 11:52 AM
    So no Ajax asssemblies appear in bin, correct?
    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Don't Touch My Code!

    05-08-2007, 12:59 PM
    • Contributor
      2,331 point Contributor
    • mattb
    • Member since 06-21-2002, 12:33 PM
    • Woodbury, MN
    • Posts 530

    AjaxControlToolkit.dll

    &

    AJAXExtensionsToolbox.dll  are both in the bin...

    I spent the first half of today also installing SP1.  That is done.....  those designer attributes are still showing up though....

     

    Matt Brown
    MetalReview.com - Metal music community and reviews
    Haulix - Easy promotional media distribution for the music industry
  • Re: Don't Touch My Code!

    05-08-2007, 1:18 PM

    They shouldn't be. RTM AJAX is installed in GAC. Having assemblies in bin creates loading conflicts and that leads designer to lose information of ASP.NET controls. Typically this issue happened if someone had AJAX Beta1 installed, then it was uninstalled and RTM was installed without fixing web.config and removing assemblies from bin as described here:

    http://ajax.asp.net/documentation/Migration_Guide_CTP_to_RTM.aspx 

    http://ajax.asp.net/documentation/Migration_Guide_RC_to_RTM.aspx

    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Don't Touch My Code!

    05-08-2007, 1:28 PM
    • Contributor
      2,331 point Contributor
    • mattb
    • Member since 06-21-2002, 12:33 PM
    • Woodbury, MN
    • Posts 530
    Thanks for the info, I appreciate it.
    Matt Brown
    MetalReview.com - Metal music community and reviews
    Haulix - Easy promotional media distribution for the music industry
  • Re: Don't Touch My Code!

    05-10-2007, 10:24 AM
    • Contributor
      2,331 point Contributor
    • mattb
    • Member since 06-21-2002, 12:33 PM
    • Woodbury, MN
    • Posts 530

    When I look in my Add/Remove Programs list, all I have is:

    Microsoft ASP.NET 2.0 AJAX Extensions 1.0

     

    That's IT for anything pertaining to Ajax.

    Do I need more?

    Matt Brown
    MetalReview.com - Metal music community and reviews
    Haulix - Easy promotional media distribution for the music industry
  • Re: Don't Touch My Code!

    05-10-2007, 10:30 AM
    • Contributor
      2,331 point Contributor
    • mattb
    • Member since 06-21-2002, 12:33 PM
    • Woodbury, MN
    • Posts 530

    When I look in my Add/Remove Programs list, all I have is:

    Microsoft ASP.NET 2.0 AJAX Extensions 1.0

     

    That's IT for anything pertaining to Ajax.

    Do I need more?

    Matt Brown
    MetalReview.com - Metal music community and reviews
    Haulix - Easy promotional media distribution for the music industry
Page 1 of 1 (11 items)