When I am publishing my ASP.NET website, VS 2010 shows an error:
Error 1 Object reference not set to an instance of an object.
There is not neither a class name nor a line number.
What could cause this error?
Another point, the web site works with no error when debugging.
After restarting Visual Studio, the error message has gone. Thanks to C Baurer
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.