Bug 5601 - unable to delete layout file due to grabbed file handle on VS2010
Summary: unable to delete layout file due to grabbed file handle on VS2010
Status: VERIFIED DUPLICATE of bug 9132
Alias: None
Product: Android
Classification: Xamarin
Component: Designer ()
Version: 4.2.x
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2012-06-10 12:59 UTC by Atsushi Eno
Modified: 2013-03-20 07:19 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED DUPLICATE of bug 9132

Description Atsushi Eno 2012-06-10 12:59:57 UTC
I assume this is a VS2010 designer issue. (Does not reproduce on MD.)

Create a new layout file, which will result in switching current document to this new file. Immediately close and try to delete it on the solution explorer. After some seconds a failure will be reported. "The file is in use by other program and cannot be deleted" (whatever in OS lang. specific message, I dunno what English Windows prints).

Tested with 4.2.3 beta.
Comment 1 Lluis Sanchez 2013-03-13 07:53:50 UTC

*** This bug has been marked as a duplicate of bug 9132 ***
Comment 2 Jatin 2013-03-20 07:19:30 UTC
Today with the latest builds:

XS 4.0.2.22
VS 2012/2010
MFA 4.6.01073
Mono 2.10.12

This issue does not exist, as now the exception does not appear when edit the layout axml file after opening it in the code editor.

Hence, closing this issue.