Workaround: Failed Replace component with Initial Baseline, there were errors during download
Shubhvardhan Manjayya
Last updated: November 19, 2010
Build basis: Rational Team Concert 2.0.0.1 and 3.0 Microsoft Visual Studio IDE Clients
Summary
When using Rational Team Concert 2.0.0.1 and 3.0 clients for Microsoft Visual Studio IDE, you have a solution that has an application, for example ConsoleApplication1, as the StartUp Project. When you try to replace the component containing the solution with the Initial Baseline, it fails for being unable to delete the ConsoleApplication1.vshost.exe file.
More Information
Symptom
A Replace with Initial Baseline action fails with errors such as the following:
- There were errors during download. It is recommended that components be reloaded. The reload will be incremental, loading only the missing items. You can further reduce the reload time by reloading just the projects out of sync.
- Unable to delete folder /ConsoleApplication1/ConsoleApplication1/bin in component SourceComponent
- Unable to delete folder /ConsoleApplication1/ConsoleApplication1 in component SourceComponent
- Unable to delete folder /ConsoleApplication1 in component SourceComponent
Cause
Visual Studio keeps the hosting process running as long as the solution is open.
Diagnosing the problem
Open the StartUp project properties. You should see the Enable the Visual Studio hosting process option checked in the Debug page.
Resolving the problem
- Before attempting the replace, open the StartUp project properties, and clear the Enable the Visual Studio hosting process check box, but do not save the change.
- Now, Replace with Initial Baseline should complete without errors. If you already attempted the replace and saw this error, it is still harmless; the replace would still have been successful. Examine your pending changes to confirm the same.
Related Links
Workaround: Failed move in repository, unable to delete vshost.exe
© Copyright 2012 IBM Corporation