protected System.Web.UI.WebControls VS5 is removing

  • Thread starter CdnRebel via DotNetMonster.com
  • Start date
C

CdnRebel via DotNetMonster.com

Hi,

I seem to be getting a lot of error messages regarding "The Name "whatever"
does not exist in the current context" after Visual Studio 5 converts an
older version of C# files. The name "whatever" existed before Visual Studio
removed the "protected System.Web.UI.WebControls DataList "whatever"; and the
"protected System.Web.UI.WebControls Label "whatever". Do I just put them
back in the file or does Visual Studio 5 have some other way to get around
that and allow me to use the information I need? I should be able to get a
clean compile after this is cleared up.

Thanks!!!
 
C

CdnRebel via DotNetMonster.com

Nicholas said:
What is Visual Studio 5? .NET wasn't even around back then.
[quoted text clipped - 12 lines]
Thanks!!!
Sorry, I pulled an all-nighter and have yet to get some sleep. That should
have been Visual Studio 2005 and because I wanted to finish quickly, I just
replaced the protected lines that Visual Studio 2005 took out on the basis,
that they are not going to know what we need in our code.

Thanks!!
Mary
 
N

Nicholas Paldino [.NET/C# MVP]

When you performed the conversion of the files, did you make a backup?
Also, did the report that was produced at the end tell you that some files
couldn't be converted?


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)
CdnRebel via DotNetMonster.com said:
Nicholas said:
What is Visual Studio 5? .NET wasn't even around back then.
[quoted text clipped - 12 lines]
Thanks!!!
Sorry, I pulled an all-nighter and have yet to get some sleep. That
should
have been Visual Studio 2005 and because I wanted to finish quickly, I
just
replaced the protected lines that Visual Studio 2005 took out on the
basis,
that they are not going to know what we need in our code.

Thanks!!
Mary
 
C

CdnRebel via DotNetMonster.com

Nicholas said:
When you performed the conversion of the files, did you make a backup?
Also, did the report that was produced at the end tell you that some files
couldn't be converted?
[quoted text clipped - 13 lines]
Thanks!!
Mary
Hi,
I did make a back up and I don't remember whether it said that it couldn't
convert some files. But I have since deleted the most recent backup. Right
now I am trying get a clean compile and trying to figure out how to get the
missing file created that it's using for the Code Behind for some of the ASP.
Net files. See the next post in the C# forum list.

Thanks,
Mary
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top