[Mono-list] inherits attribute not working on linux mono machine

Jyoti Seth jyotiseth2001 at gmail.com
Fri Mar 16 03:59:10 EDT 2007


Yes I have tried using binaries and it worked with binaries. But I don't
want to use binaries for deployment.

 

While publishing it generates the dll in the bin directory. I have checked
that dll also and it has the same Namespace and class which I am using in
inherits attribute.

I am using visual studio 2005 for development. I have also checked the dll
with Moma tool and it is showing no issue. But still on deploying the same
on mono linux server it gives "Cannot find type" error.

 

Please suggest how to deploy the application using inherits attributes
without using binaries.

 

Thanks,

Jyoti

 

 

 

 

  _____  

From: Madars Vitolins [mailto:madars.vitolins at gmail.com] 
Sent: Thursday, March 15, 2007 6:19 PM
To: Jyoti Seth
Cc: mono-list at lists.ximian.com
Subject: Re: [Mono-list] inherits attribute not working on linux mono
machine

 

Hello,

   For me on xsp2 it works well, I see on my Default.aspx
 there is something like this: Inherits="PasswordManager._Default" and it
works. Seems that there should be in ./bin directory assembly that contains
that namespace and class to which Inherits points. I am using binary from MS
build, but I had compiled that stuff with mono, without removing Inherits. 
    You could check is Namespace and Class exists to which Inherits points.

Madars.

On 3/15/07, Jyoti Seth < <mailto:jyotiseth2001 at gmail.com>
jyotiseth2001 at gmail.com> wrote:

Hello,

 

I am developing an asp.net application using visual studio 2005 on windows
xp. When I deployed an asp.net application in which the page directive uses
"inherits" attribute on mono linux server it was throwing an error "Cannot
find type". When I removed the "inherits" attribute and then deployed it
worked fine. Please let me know if mono supports "inherits" attribute. And
what can be the best solution in this case.

 

Thanks,

Jyoti

 

 

 


_______________________________________________
Mono-list maillist  -  Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070316/4a6ec66b/attachment.html 


More information about the Mono-list mailing list