Web应用程序中的空bin文件夹 [英] Empty bin folder in Web application

查看:219
本文介绍了Web应用程序中的空bin文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在开发VS 2008并且我打开了一个ASP.NET Web应用程序项目

然后突然编译器没有工作,我的bin文件夹是空的。



我需要你的帮助来解决我的问题



Thanx

解决方案

究竟是什么问题?

只要我知道,BIN将再次拥有内容在编译项目/解决方案时

http://msdn.microsoft.com /en-us/library/cc295391.aspx [ ^ ]



-Milind


这取决于项目的设置方式。如果要预编译站点(并使Intellisense正常工作),则必须具有Visual Studio引用。但是在bin文件夹中删除的任何内容都将在运行时由ASP.NET自动加载...因此可以在代码后面访问该程序集的控件/对象,而无需添加项目引用。


似乎bin文件夹中缺少某些DLL。缺少的DLL显示黄色警告标志。



因此,如果这些DLL是某些项目DLL,如数据访问层项目DLL,则通过选择该DLL删除它,然后通过提供适当的引用手动添加它。

Hi all,

I am working on VS 2008 and I opened a ASP.NET web application project
then suddenly the compiler didn''t work and my bin folder is empty.

Please I need your help to fix my problem

Thanx

解决方案

What exactly is the problem?
As long as I know, the BIN will once again have content as soon as you compile your project/solution
http://msdn.microsoft.com/en-us/library/cc295391.aspx[^]

-Milind


It depends on how your project is set up. If you want to precompile your site (and get Intellisense to work properly) you have to have a Visual Studio reference. But anything dropped in the bin folder will be automatically loaded by ASP.NET at runtime... so it''s possible to access that assembly''s controls/objects in code behind without adding a project reference.


It seems that some of the DLLs are missing from bin folder. The DLLs which are missing are displayed with yellow warning sign.

So if these DLLs are some of the project DLLs like your Data Access layer project DLL then remove it by seleting that DLL and then add it manually by giving proper reference.


这篇关于Web应用程序中的空bin文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆