[RESOLVED] Import system.data
Hola!
I have just created a new empty solution, then copied all the source files from an existing solution into it.
The existing solution (website) runs fine and has been for a year, but when I build the new one it gets lots of errors.
Mainly that system.data needs importing.
Why would this be? As the original is working fine. Also i fix all the errors in my project and rebuild and i just get more errors on different pages, why doesnt it list them all at once?
Thanks
Re: [RESOLVED] Import system.data
Hello,
What sort of "crap" are we referring to here?
How did you check the files? Did you use something like kDiff?
Gary
Re: [RESOLVED] Import system.data
Hi Gary, all the errors were found in an admin system we did, it had been copied into a new solution and about 10% of the files here were not required.
Previous developer here before me didnt use debug to check code they uploaded to server and checked it that way by just using the site.
They didnt encounter any errors because they never hit the afected pages. As I always debug and build solutions I found these errors.
I checked them manually, basically just loking at the menu of the admin system and seeing what files were linked to and what wasn't, excluding files and re-buildign as I went.
Not the best I know but its working now and i was able to get all the errors out (mainly by deleting stuff that shoudl never have been there.
It was quite satidfying acvtually as I noticed the main images folder had been copied and pasted into loads of sub folders, whole thing was a mess.
Its about half the size now :)
Thanks Dave
Re: [RESOLVED] Import system.data
Hello there,
Sounds like quite a manual process, but it worked, so that's all that matters.
If you are not familiar with kDiff I would recommend that you take a look. It can compare individual files, but more importantly entire folders, i.e. it would let you know that things like the stray Images folder existed in one location, but not in the other.
Gary