[Mono-bugs] [Bug 549428] New: "Run Locally" keeps EXE file "in use"

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 22 19:06:19 EDT 2009


           Summary: "Run Locally" keeps EXE file "in use"
    Classification: Mono
           Product: Mono: Tools
           Version: MonoVS 0.7
          Platform: x86-64
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Visual Studio Integration
        AssignedTo: jpobst at novell.com
        ReportedBy: emp.007 at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:
Gecko/20090824 Firefox/3.5.3 (.NET CLR 4.0.20506)

If I select "Run Locally" to run my console EXE from Visual Studio and then
(after it exits) try to rebuild the project the rebuild fails with "The process
cannot access the file 'bin\Debug\ConsoleApplication1.exe' because it is being
used by another process."

This does not happen if I run it under MS .NET (ie. Debug, Start Without

Reproducible: Sometimes

Steps to Reproduce:
1. Open a Console Application project in Visual Studio.
2. Select Mono, Run Locally.
3. Exit the application.
4. Select Build, Rebuild Solution.
Actual Results:  
Build fails with the following error:

c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets(2606,9): error
MSB3021: Unable to copy file "obj\Debug\ConsoleApplication1.exe" to
"bin\Debug\ConsoleApplication1.exe". The process cannot access the file
'bin\Debug\ConsoleApplication1.exe' because it is being used by another

Expected Results:  
Build succeeds.

Windows XP Pro x64 SP2, Visual Studio 2008 Pro SP1
MonoVS 0.7.4221

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list