Compile MvcContrib Portable Area with aspnet_compiler
I have a .net mvc 2 web application. I deployed this application using aspnet_compiler and a nant build file
like
<target name="deploy.advance.application">
<exec program="${aspnet.compiler}" commandline='-f -u -c -p ${dir.website.advance.application} -v temp ${dir.publish.advance.application}' />
<mkdir dir="${dir.publish.advance.application}\App_Data" />
</target>
Now I started to implment PortableArea, at least LoginArea with all pages embedded, required by the MvcContrib PA.
On my local machine works fine, but on testing environment (when I deploy the application with aspnet_compiler) the application could not found Login.aspx view.
So the question is how to deploy such appl开发者_开发百科ications? There is a directive from aspnet_compiler to tell the compiler that there are some embedded resources?
Thanks
精彩评论