Chris AItken wrote:

No problem Peter, glad it worked for you.
The Codebehind tag tells VS to precompile the source into an assembly. You
can precompile too, and I think (IIRC) you only need to use the Inherits
tag.
Of course, as you say, you can leave both in, then VS will precompile, and
mono will use the source file.

Chris
Hmm.  It won't actually.

When I tried it in VS I got a problem when trying to run the application from the IDE. Something about the object being defined in 2 different places. It compiles OK, just won't run from the IDE. Turns out that VS stores some temporary files in some pretty weird places when you do this (like buried deep in the .NET file system in a temp file). Spooky.

It might work if I ran the application from outside of the IDE, but of course I couldn't debug - for example - if I did that.

So basically it becomes a deployment issue. i.e. Remember to add the 'Src="..."' attribute to any .aspx files running under Mono.

Not too hard, really.

Thanks for all your help, Chris.

Cheers


Peter

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to