VS2005 acting weird, project opens differently, get a code-behind conversion error, etc.

Last post 11-19-2007 2:56 PM by dean.carrefour. 0 replies.

Sort Posts:

  • VS2005 acting weird, project opens differently, get a code-behind conversion error, etc.

    11-19-2007, 2:56 PM

    I have a website project that I started a couple of weeks ago.  I was ready to launch it Friday when I noticed that VS was acting kind of weird, so I restarted it.  When it opened up, my project didn't show up in the 'recent projects' listing, only older stuff.  I tried to open this project manually and it displays differently than it did before.  Before in project/solution explorer, it just showed the pages I created, images, web.config, etc.  Now it displays my project and solution files, vbproj.user, vbproj.vspscc, etc. and other things that didn't show up before.  Also my telerik controls that I had on a page don't display and have an error in their place.  I'm using Visual SourceSafe (but I don't have much experience with it), on a file server, and it even acted weird.

     

    Anyway, I have it opened, and most of the stuff is working, but it still displays those extra files in my project explorer.  The one thing I haven't been able to get rid of is that at the top of my pages, in the CodeBehind= directive, it's got a green underline and gives me the following 'hint' when I highlight it:

     

    Attribute 'Codebehind' in the @ Page directive is no longer supported. Convert this page to the new code-behind model by opening the Web site (project) containing the page in Visual Web Developer.
     
    I'm using Visual Studio 2005, never have used VWD and everything should be .NET 2.0, I don't think I've written anything in 1.1 on this machine ever.  Any ideas on what I need to do to resolve this?  Thanks. 

     

Page 1 of 1 (1 items)
Microsoft Communities