Downloaded a bunch of old VB.NET 7.1 (VS 2013) files from the server. This is code that is currently in production and working but obviously from 2006-2008 except for some minor tweaks. Coming from a background in LAMP/HTML/CSS but with a little C# under
my belt. Need to make some minor changes to web site, and prepare to maintain it going forward.
First, managed to find that all files had Codebehind instead of Codefile. Changing that got me past the first hurdle. Now, I'm having a problem with namespaces.
Several of the pages are in a subfolder use a function called "FileAsString" which reads a text file line by line adds HTML <br> tags at the end of each line and returns a string. When I attempt to build, everywhere this function is used I get '"FileAsString"
is not declared. It may be inaccessible due to its protection level.'
This seems to be to me obviously a problem of scope, but ...
Go to the complete details ...