RE: Bug in aspnet_compiler?



Thanks for your response Sam,

En, the difference is possible caused by the internal implementation of the
ASP.NET runtime compilation and code generation service... However, most
of the behavior between pure dynamic compiled assembly and precompiled ones
should be identical. Anyway, upgrated to use the new code model in .NET
world is the most recommended. :)

Thanks again for your posting.

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: Bug in aspnet_compiler?
| thread-index: AcX03WjeZ3LAiJXzT7CyOC9RHksmJQ==
| X-WBNR-Posting-Host: 32.112.128.18
| From: =?Utf-8?B?U2FtNzc3?= <sam777@xxxxxxxxxxxxx>
| References: <FF5E2672-0336-4C49-A9DC-63D26DED6447@xxxxxxxxxxxxx>
<oaKmPQK9FHA.1236@xxxxxxxxxxxxxxxxxxxxx>
| Subject: RE: Bug in aspnet_compiler?
| Date: Tue, 29 Nov 2005 04:07:03 -0800
| Lines: 10
| Message-ID: <3AD1F87B-7790-4798-9B66-FFB2406A1088@xxxxxxxxxxxxx>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:361447
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| > Regarding on the problem you met when using <object runat=server...>
tag in
| > asp.net 2.0 global.asax, it is the expected behavior according to the
new
| > ASP.NET 2.0 applicaiton compilation model.
|
| That doesn't quite explain why the behaviour is different when deploying
the
| pages vs precompilation :) However, if you're recommending that people
stop
| using those tags then that's exactly what we'll do and hence problem
solved.
|
| Thanks,
| Sam.
|

.



Relevant Pages

  • RE: Bug in aspnet_compiler?
    ... Welcome to ASPNET newsgroup. ... ASP.NET 2.0 applicaiton compilation model. ... also source code files in different foders are by default compiled ... tag, it is used to provide backward compatibility to classic ASP style COM ...
    (microsoft.public.dotnet.framework.aspnet)
  • CS0016
    ... An error occurred during the compilation of a resource required ... Compiler Error Message: CS0016: Could not write to output file ... Microsoft Visual C# .NET Compiler version 7.10.3052.4 ... Version Information: Microsoft .NET Framework Version:1.1.4322.573; ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Error in global.asax
    ... put the same exact code in and its working now. ... An error occurred during the compilation of a resource ... Microsoft Visual Basic Compiler version 8.0.50727.42 ... Protected ReadOnly Property ApplicationInstance() As ASP.global_asax ...
    (microsoft.public.dotnet.framework.aspnet)
  • Error in global.asax
    ... An error occurred during the compilation of a resource required ... PublicKeyToken=null' containing the base class 'newsite.Global'. ... Microsoft Visual Basic Compiler version 8.0.50727.42 ... Protected ReadOnly Property ApplicationInstance() As ASP.global_asax ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Compile java sources inside J2EE component
    ... > I believe that Sun are intending to provide a public API to compilation soon ... What I did not describe so far is that my meta model allows to add rules ... This could also done with code generation but is ... I think that migration would probably be easier if you were interpreting ...
    (comp.lang.java.programmer)