title: NuGet References invalid when changed to Release build configuration
body: <p>I'm experiencing rather a strange issue with NuGet (most recent) and VS2012. I have a multi-project solution with NuGet package management enabled and as long as I'm using Debug|AnyCPU configuration, it all compiles and application runs correctly. As soon as I switch to Release|AnyCPU, it seems like all the NuGet assembly references were gone and the app obviously do not compile. Strangely, I can see all the references in NuGet Manager UI for all the correct projects.</p>
  
  <p>Did you ever experienced similar issue and do you know how to fix it?</p>
  
  <p>Rebuild did not helped. NuGet references were set up while Debug configuration was set.</p>