首页 > 移动平台 > 详细

Asp.net - The type or namespace name 'App_Code' does not exist in the namespace 'xxx' (are you missing an assembly reference?)

时间:2014-10-16 13:55:43      阅读:284      评论:0      收藏:0      [点我收藏+]

  我在 项目 下面创建一个 App_Code的文件夹,然后在其下创建自定义的类,但是当我在该项目下别的地方使用时报错:

The type or namespace name ‘App_Code‘ does not exist in the namespace ‘xxx‘ (are you missing an assembly reference?)

  解决方案:

    1,在创建的类上右键,选择 Properties,如图:

bubuko.com,布布扣

  2,将 Build Action 属性设置为 Compile,如图:

bubuko.com,布布扣

即可.

Asp.net - The type or namespace name 'App_Code' does not exist in the namespace 'xxx' (are you missing an assembly reference?)

原文:http://www.cnblogs.com/listened/p/4028517.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!