[Mono-bugs] [Bug 467557] CurrentDirectory is different in Mono as compared to windows

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 21 07:28:23 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=467557

User mcored at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=467557#c6





--- Comment #6 from Mihajlo Delpovic <mcored at gmail.com>  2009-01-21 05:28:22 MST ---
Created an attachment (id=266502)
 --> (https://bugzilla.novell.com/attachment.cgi?id=266502)
Attempt 3

Scenario: 

Copied MediaInfo.dll to 
H:\ProgramData\Microsoft\Windows\Start Menu\Programs\Mono 2.2 for Windows

Status:

Working

=================

I have attached three test cases. 

Basically only time it would find the MediaInfo.dll (which is a native DLL) is
when either: 
1/ Mono Command Prompt is the directory of the main assembly (that is by using
cd command to navigate to the main assembly directory)

2/ Copying MediaInfo.dll to H:\ProgramData\Microsoft\Windows\Start
Menu\Programs\Mono 2.2 for Windows (reverse of 1)

This should not be the case. It should not matter which directory the Mono
command prompt is in. This does not apply for other DLLs that are .NET. 

ImageUploader.dll  -- this is a .NET file so it was fine
McoreSystem.dll  -- this is a .NET file so it was fine
MediaInfo.dll -- this is the file Mono cannot find if it is not in the Current
Directory

By the way I didn't have luck with MONO_PATH setting.

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


More information about the mono-bugs mailing list