I have been fighting with this for days now and am at my wits end. I
am hoping that someone out there can shed some light on what is
happening here.


I have an asp.net Web Application Project that I am using Nant to
build. It builds and functions correctly when there is not a
global.asax but when I add one and try to use  'aspnet_compiler.exe'


          <exec program="${dotnet}\${framework.version}\aspnet_compiler.exe">
               <arg value="-p" />
               <arg value="${temp.dir}\${precompile.dir}" />

               <arg value="-v" />
               <arg value="${precompile.dir}" />

               <arg value="-u" />
               <arg value="${publish.dir}" />
          </exec>

I get an error that says
[exec] /aspprecompile/global.asax(1): error ASPPARSE: Could not load
type 'MyApp.Global'.

But if I compile using Visual Studio 2005 everything works.

I not sure if this is a Nant thing or what.

Any ideas?

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to