ASPNETCOMPILER(0,0):错误ASPRUNTIME:对象引用不设置到对象的实例 [英] ASPNETCOMPILER(0,0): Error ASPRUNTIME: Object reference not set to an instance of an object
问题描述
我想发布一个网站,使用Visual Studio 2013年的
我得到一个错误:
I'm Trying to publish a website, using Visual Studio 2013. I'm getting an error:
ASPNETCOMPILER(0,0):错误ASPRUNTIME:对象引用不设置到对象的实例
ASPNETCOMPILER(0,0): Error ASPRUNTIME: Object reference not set to an instance of an object.
这也发生在Visual Studio中。 2010年
我尝试重新启动VS和PC。
我删除 *。从我的bin目录dll.refresh
。
我没有<清/>
在我的web.config标签。
我想这一切开始时我不小心删除我的名为.suo *文件。
It happens also on Visual Studio 2010.
I tried to restart VS, and PC.
I removed *.dll.refresh
from my bin directory.
I don't have <clear/>
tags in my web.config.
I think it all started when I accidently removed my *.suo file.
任何想法?
我只注意到它,只有当我试图预编译我的网站发生。如果我不发布预编译它工作正常...
I just noticed it happens only when I try to precompile my site. If I publish without precompilation it works fine...
推荐答案
确定。
浪费这么多小时后,我不知怎么把这个博客:
的 http://thesoftwarepractice.net/development-things/object-reference-not-set-to-an-instance-of-an-object
关掉迈克菲实时扫描及其作品...
这篇关于ASPNETCOMPILER(0,0):错误ASPRUNTIME:对象引用不设置到对象的实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!