Sometimes the appropriate response to reality is to go insane - Philip K Dick RSS 2.0
 Wednesday, February 20, 2008

Something is locking me out of my assemblies ... after a clean Get Latest from TFS, i go to a command prompt and run my MSBuild script ... it fails with errors reporting it cannot delete the directory as it is not empty, and then proceeds to report a host or errors updating assemblies as access is denied. If I then go back to Visual Studio I get the following error for every project .... "Cannot analyze project output:"

I don't  know if this is Visual Studio, TFS or ReSharper causing this but it is annoying me to hell ... closing the solution lets me run MSBuild perfectly again ... anyone got any ideas?

UPDATE:  Turns out that this is a ReSharper error certainly present in 3.1 ... I found this out as the amazingly responsive ReSharper team took a look at my post, and replied immediately admitting it was a bug of theirs. It also turns out it was already fixed in version 4.x  but not in 3.x ... after a very short whine by me to Ilya at JetBrains, he then dropped me back an email very soon after telling me the changes had been back ported into the 3.x build, and would appear there from the next nightly build. Now that is responsive!

Suffice to say, and good to their word, the error is no longer present ... Yippppeeee!!!!!

Thanks for the many suggestions I had to try and pin this down!

Wednesday, February 20, 2008 10:51:40 AM (GMT Standard Time, UTC+00:00)  #    Comments [2] -
rants | ReSharper
Wednesday, February 20, 2008 10:57:14 AM (GMT Standard Time, UTC+00:00)
i have no idea, but you can start pinpointing the cause by ctrl-f'ing the dll name in Process Explorer (http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx). that will show you the processes that are locking the file
pho
Wednesday, February 20, 2008 2:26:30 PM (GMT Standard Time, UTC+00:00)
Maybe someone's added the actual WebParts.dll assembly to source control by mistake?

Another option to debug: http://ccollomb.free.fr/unlocker/. Integrates with Windows Explorer nicely.
Comments are closed.
Navigation
Archive
<July 2008>
SunMonTueWedThuFriSat
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2008
Casey Charlton
Sign In
Statistics
Total Posts: 41
This Year: 13
This Month: 0
This Week: 0
Comments: 27
Themes
Pick a theme:
All Content © 2008, Casey Charlton
DasBlog theme 'Business' created by Christoph De Baene (delarou)