vb.net - Unable to copy file "source" to "target". Access to the path "target" is denied -


i know common error , have read dozens of threads on dozens of sites today trying fix issue.

i branched project in tfs , got latest on it. when opened project, branched version not compile due "unable copy" exception on 2 project references. solution consists of several projects include dependencies on each other.

  • activedirectories has no project dependencies
  • datamodel has no project dependencies
  • dataaccess dependent on datamodel
  • bl depenedent on activedirectories, dataaccess, , datamodel
  • smartclient dependent on activedirectories, bl, , datamodel

when compile, 9 errors stating dll, xml, , pdb files activedirectories, datamodel, , dataaccess cannot copied bin\debug folder.

i have tried many solutions including following:

  • cleaning solution
  • deleting entire bin folder
  • ensuring of these references set copy local
  • shutting down vs , restarting
  • deleting entire folder , getting latest tfs
  • setting read attribute false on bin folder , subfolders
  • ensuring bin folder not checked tfs

if has ideas, grateful.

thanks, lance

this simple folly on part. thinking error occurring in smartclient project when in fact happening in bl project.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -