开发者

Calling app_code folder from web application project

开发者 https://www.devze.com 2022-12-26 11:23 出处:网络
I am developing a module for DotNetNuke and have used a DotNetNuke Compiled Module template to create the module in the DesktopModule folder.

I am developing a module for DotNetNuke and have used a DotNetNuke Compiled Module template to create the module in the DesktopModule folder.

I then get a Web Application Project under the DNN website in my Visual Studio 2008.

Now I want to use DAL and BLL which are created in DNN app_code folder.

But when I add 开发者_开发技巧them in code behind it can't find them.

How do I tell my Web Application Project to access the app_code folder in the website "projcet"?

Thanks in advance!


You can't. App_Code is compiled on-the-fly, but even if you compile it prior to deployment somehow, you will have a circular reference (App_Code -> Web Application -> App_Code).


In the web application the Components folder seems to do what app_code folder does.

0

精彩评论

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