title: Unable to copy file C:\SomePath\Myfile.dll to bin\Myfile.dll Access to the path bin\Myfile.dll is denied
body: <p>We just converted a VS 2008 project to VS 2010. The conversion showed no errors. Now, when building the solution. We get the following errors: </p>
  
  <p>Unable to copy file C:\TI\Project\SharedAssemblies\Myfile.dll to bin\Myfile.dll Access to the path bin\Myfile.dll is denied</p>
  
  <p>ANOTHER PROBLEM: </p>
  
  <p>I have another problem too! One of my project is referencing a project DLL and that DLL does not exist. I tried to build the solution but that project is never building because it stops whenever there is error on any other project. </p>
  
  <p><strong>UPDATE 2:</strong> </p>
  
  <p>So, instead of using the ported VS 2008 to VS 2010 solution I just opened the VS 2008 solution in VS 2010 and some of the errors have gone away. Now, I am left with couple of errors in which one of them is the following: </p>
  
  <p>Error   1   Could not load referenced assembly "C:\MyProject\bin\JobManager.dll".  Caught a FileNotFoundException saying "Could not load file or assembly 'C:\MyProject\bin\JobManager.dll' or one of its dependencies. The system cannot find the file specified.".    C:\MyProject\ResGen </p>
  
  <p>What kind of resources the resgen is trying to build and where is it located? </p>