[nem-bug] [Nemerle 0000663]: ASP.NET functionality broken on Windows platform

feedback at nemerle.org feedback at nemerle.org
Sat May 6 00:51:07 CEST 2006


A NOTE has been added to this issue.
======================================================================
<http://nemerle.org/bugs/view.php?id=663> 
======================================================================
Reported By:                Chuck
Assigned To:                
======================================================================
Project:                    Nemerle
Issue ID:                   663
Category:                   Compiler
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             05-05-2006 00:36 CEST
Last Modified:              05-06-2006 00:51 CEST
======================================================================
Summary:                    ASP.NET functionality broken on Windows platform
Description: 
On Windows, using the Nemerle compiler for ASP.NET pages does not work, and
returns an error of "cannot load assembly with macros `Nemerle.Macros'". 
This problem occurs whether the .NET Framework (using Cassini in this
case) or Mono (XSP2) is used.

I have something of a scattered narrative on
http://nemerle.org/Talk:ASP.NET_%28tutorial%29 that contains a little more
detail, having to do with assembly versioning, and the frustrated results
of my attempts to correct the problem.
======================================================================

----------------------------------------------------------------------
 nazgul - 05-05-06 22:55 
----------------------------------------------------------------------
This is quite problematic, because compiler needs to find and load
Nemerle.Macros assembly, but it has no clue where to find it. IIS calls
Nemerle.Compiler directly from GAC and the directory with Nemerle.Macros
is not known.

Workaround for this is to specify additional option in configuration
pointing to proper directory:
  <compiler 
    ...
     compilerOptions="/lib:C:\home\nemerle\ncc\out.stage3"
  />

but it is a little bit ugly.

Also, after using this trick compilation starts, but some bug in CodeDom
provider appears (I'm fixing it now).

----------------------------------------------------------------------
 nazgul - 05-06-06 00:51 
----------------------------------------------------------------------
It works now (trunk in revision 6234) with mentioned compier option
specified in web.config.

I'm not sure if we can do much better, because the path to Nemerle.Macros
depends on installation of compiler (it is not put into the gac).

Issue History
Date Modified  Username       Field                    Change              
======================================================================
05-05-06 00:36 Chuck          New Issue                                    
05-05-06 00:37 Chuck          Issue Monitored: Chuck                       
05-05-06 13:27 malekith       Status                   new => assigned     
05-05-06 13:27 malekith       Assigned To               => malekith        
05-05-06 21:13 malekith       Assigned To              malekith =>         
05-05-06 21:13 malekith       Status                   assigned => new     
05-05-06 21:13 malekith       Description Updated                          
05-05-06 21:13 malekith       Additional Information Updated                    
05-05-06 22:55 nazgul         Note Added: 0001238                          
05-06-06 00:51 nazgul         Note Added: 0001239                          
======================================================================




More information about the bugs mailing list