Connecting Tech Pros Worldwide Forums | Help | Site Map

Weird Compilation Error Migrating from Dreamweaver to VS

James Zhuo
Guest
 
Posts: n/a
#1: Nov 17 '05

hi all

I changed the name of the class LoginPage to a different
name "LoginPageOne" But the same error gets generated with
the Wiliam.Request.LoginPageOne. That pretty much leaves
me clueless at this point.

Please help

Cheer

James


[color=blue]
>Apparently, you have a class which has multiple
>definitions within the same
>namespace in your code. Should be pretty easy to track
>down. Are you using
>C#? If so, it is certainly possible to create 2 class
>files, define the same
>namespace in each, and create a duplicate class within
>the same namespace.
>
>--
>HTH,
>
>Kevin Spencer
>Microsoft MVP
>..Net Developer
>http://www.takempis.com
>The more I learn, the less I know.
>
>"James Zhuo" <nano_electronics@optusnet.com.au> wrote in
>message
>news:eqcnFxpaDHA.2308@TK2MSFTNGP12.phx.gbl...[color=green]
>> Hi all
>>
>> I've been getting the following compilation error. I[/color][/color]
should explain the[color=blue][color=green]
>> background of the project that i am taking over. This[/color][/color]
is a project that
has[color=blue][color=green]
>> been developed by someone else a while ago using[/color][/color]
dreamweaver, I am
basically[color=blue][color=green]
>> trying to migrate the project into a Visual Studio .NET[/color][/color]
environment before
I[color=blue][color=green]
>> start enhancing it.
>>
>> Any suggestions on where the source of error may be[/color][/color]
would be greatly[color=blue][color=green]
>> appreciated.
>>
>> Cheers
>>
>> James
>> Compilation Error
>> Description: An error occurred during the compilation[/color][/color]
of a resource
required[color=blue][color=green]
>> to service this request. Please review the following[/color][/color]
specific error
details[color=blue][color=green]
>> and modify your source code appropriately.
>>
>> Compiler Error Message:[/color][/color]
CS1595: 'Wiliam.Request.LoginPage' is defined in[color=blue][color=green]
>> multiple places; using definition from
>> 'C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Tempor ary[/color][/color]
ASP.NET[color=blue][color=green]
>>[/color][/color]
Files\ticketing\51e97ea9\cbdc4eb9\assembly\dl\b46c 1607
\c1f6bd86_7f68c301\Tic[color=blue][color=green]
>> keting.DLL'
>>
>>
>> More details here
>>[/color][/color]
http://www.oceanware.com.au/~anna/bo...documentation/
Compilation%20Error.htm[color=blue][color=green]
>>
>>[/color][/color]


Closed Thread