开发者

Compile MvcContrib Portable Area with aspnet_compiler

开发者 https://www.devze.com 2023-01-01 21:49 出处:网络
I have a .net mvc 2 web application. I deployed this application using aspnet_compiler and a nant build file

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

0

精彩评论

暂无评论...
验证码 换一张
取 消