title: Oracle.ManagedDataAccess nuget package locks web.config after rebuild
body: <p>Adding Oracle.ManagedDataAccess nuget package to a ASP.NET MVC project locks web.config after rebuild.</p>
  
  <p>Steps to reproduce:</p>
  
  <ul>
  <li>Windows 10 64 bit</li>
  <li>Microsoft Visual Studio Professional 2015 Version 14.0.24720.00 Update 1</li>
  <li>Create new MVC project (ASP.NET 4.5.2 Templates MVC, leave "Add Application Insights to project" checked, uncheck Hosted in Cloud and change authentication to Windows Authentication)</li>
  <li>Inside the project open web.config and leave it open</li>
  <li>Go to "Manage NuGet Packages..."</li>
  <li><strong>Install Oracle.ManagedDataAccess nuget package 12.1.2400</strong></li>
  <li>Rebuild your solution</li>
  <li><strong>Now try to make changes to the web.config and save it >>> brings up Save As dialog because your web.config is now locked by some process</strong></li>
  </ul>
  
  <p>Not sure if all these steps are needed to reproduce this locking of web.config but this is how I can reproduce it. No other nuget package that I use reproduces this.</p>
  
  <p>The only way I can circumvent this is by uninstalling the package. Is there another way to keep this package and not lock web.config?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>To unlock web.config I not only need to uninstall the package, but also remove all references to this package in web.config. If I don't remove the references in web.config it still gets locked despite uninstalling the package from package manager gui.</p>