[Mono-bugs] [Bug 546741] New: Running or debugging remotely fails with "Use Mounted file system"

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Oct 13 21:29:18 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=546741


           Summary: Running or debugging remotely fails with "Use Mounted
                    file system"
    Classification: Mono
           Product: Mono: Tools
           Version: MonoVS 0.3
          Platform: x86-64
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          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:1.9.1.3)
Gecko/20090824 Firefox/3.5.3 (.NET CLR 4.0.20506)

Using the provided VMware image (0.3.3771) I set up a VMware shared folder. In
VS Mono options I checked "Use mounted file system" and specified the Windows
Path as "C:\VMShared\MonoShare" and the Linux Path as "/mnt/hgfs/MonoShare". In
the Linux VM I've enabled "Run in Terminal".

If I then try to "Run Remotely in Mono" or "Debug Remotely in Mono" VS displays
an exception dialog with DirectoryNotFoundException. The path in that exception
is the correct path to my project directory, except with / instead of \

Reproducible: Always

Actual Results:  
Exception dialog is shown:

System.IO.DirectoryNotFoundException: Directory "C:/Documents and
Settings/evgenyp/My Documents/Visual Studio 2008/Projects/ConsoleApplication1"
not found.



Server stack trace: 

  at System.IO.Directory.SetCurrentDirectory (System.String path) [0x00064] in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/corlib/System.IO/Directory.cs:445 
  at System.Environment.set_CurrentDirectory (System.String value) [0x00000] in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/corlib/System/Environment.cs:126 
  at Mono.VisualStudio.Mdb.DebuggerManager.PrepareSession
(Mono.VisualStudio.Mdb.DebuggingSession session) [0x00094] in
/usr/src/packages/BUILD/monovs-server-0.5/MonoVS.DebugServer/DebuggerManager.cs:103 
  at
Mono.VisualStudio.Mdb.DebuggerManager.Mono.VisualStudio.Mdb.IMdbManager.RunSession
(Mono.VisualStudio.Mdb.DebuggingSession session) [0x00000] in
/usr/src/packages/BUILD/monovs-server-0.5/MonoVS.DebugServer/DebuggerManager.cs:115 
  at (wrapper managed-to-native)
System.Runtime.Remoting.RemotingServices:InternalExecute
(System.Reflection.MethodBase,object,object[],object[]&)
  at System.Runtime.Remoting.RemotingServices.InternalExecuteMessage
(System.MarshalByRefObject target, IMethodCallMessage reqMsg) [0x000a4] in
/usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/corlib/System.Runtime.Remoting/RemotingServices.cs:147 



Exception rethrown at [0]: 

   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)

   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)

   at Mono.VisualStudio.Mdb.IMdbManager.RunSession(DebuggingSession session)

   at Novell.MonoVS.RunRemotelyRunner.Run()

   at Novell.MonoVS.Package.RunRemotelyCallback(Object sender, EventArgs e)


Expected Results:  
The program runs as normal.

-- 
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