Compile MvcContrib Portable Area with aspnet_compiler
Posted
by isuruceanu
on Stack Overflow
See other posts from Stack Overflow
or by isuruceanu
Published on 2010-06-03T12:51:03Z
Indexed on
2010/06/03
12:54 UTC
Read the original article
Hit count: 231
Hi
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 applications? There is a directive from aspnet_compiler to tell the compiler that there are some embedded resources?
Thanks
© Stack Overflow or respective owner