Please Help,

  • Thread starter Thread starter James Zhuo
  • Start date Start date
J

James Zhuo

Hi all

I've been getting the following compilation error. I
should explain the
background of the project that i am taking over. This is a
project that has
been developed by someone else a while ago using
dreamweaver, I am basically
trying to migrate the project into a Visual Studio .NET
environment before I
start enhancing it.

The following compilation error seems to suggest multiple
definitions within the same namespace.

1. I have checked absolutely every class definition and
have not found duplicates of the same class.

2. Further more I have renamed the class that seem to have
initiated the error and It came back with the same error.
I really can't figure out what is wrong with the problem.
Please help.


Thanx

James
 
hi all :)

I found the problem. Woohoo.
Visual Studio like to automatically add things in aspx
pages. What happens is the code behind pages written by
the original author were stored in a seperate folder "cs",
when i copied these files to same directory as the aspx
files, VS added an extra "src" attribute in the <%page
directive %> defining the same codebehind file as
the "codebehind" attribute. Simpling removing the "src"
attribute fixed the problem.

Special thanx to Kevin who tried to point me in the right
direction. Thanx all for reading my post.

Cheers

James
 
Back
Top