I have a freshly created ASP.net web-site; it builds fine:
If i update the web.config
to reference the Oracle.DataAccess.dll
library:
<assemblies>
<add assembly="Oracle.DataAccess, Version=4.121.2.0, Culture=neutral, PublicKeyToken=89B483F429C47342"/>
</assemblies>
The solution now fails to build with an error:
Error 2 Object reference not set to an instance of an object.
How do i make it not fail?
Bonus reading
- Tracking down intermittent 'Object reference not set to an instance of an object.' error on build
- "Object reference not set to an instance of an object" when building my cloud project
- Sometimes - cannot build Windows Azure Cloud Service - Object reference not set to an instance of an object?
- Object reference not set to an instance of an object on build web site
- "Object reference not set to an instance of an object." on run