Re: [Banshee-List] Windows! (Yes, I said WINDOWS!)



I converted Banshee's project layout to sln/csproj targeting Visual Studio 2005 as of yesterday. 

--Aaron

>>> On 8/31/2008 at 11:50 AM, in message
<117799f00808310850i99305b4sbe9a60fc16b9fd0e mail gmail com>, "Alan McGovern"
<alan mcgovern gmail com> wrote: 
> MonoDevelop supports .sln fine. You could just completely replace all the
> mds/mdp's with .csproj/.sln files and be done with it. MonoDevelop may even
> support auto-conversion of mdp -> sln and vice versa, so that may be worth
> checking out.
> 
> Also, no need to reinvent the wheel with the dllimports, just use the
> windows names and the dll map mechanism in Mono - that's what it's there for
> :)
> 
> Alan.
> 
> On Sun, Aug 31, 2008 at 8:56 PM, Scott Peterson 
> <lunchtimemama gmail com>wrote:
> 
>> Oh, there are a few other particulars that I wanted to mention:
>>
>> Mono.Cairo. One of the *-sharp.dll wrapper assemblies references
>> Mono.Cairo.dll 1.0.5 but we reference Mono.Cairo.dll 2.0. This kills
>> Aaron's dream of just shoving all of the dependencies in the executing
>> directory: one of the two will need to be registered through the GAC.
>>
>> The other thing is, I had to use the Windows filenames for extern
>> method DLLs. Since Mono has a faculty for DLL mapping, I recommend we
>> use the Windows names in the source and rely on Mono to resolve those
>> to the Unix names when appropriate. The other option is:
>>
>> [DllImport("libglib-2.0-0.dll")]
>> private static extern IntPtr g_filename_to_uri_win32 (IntPtr filename,
>> IntPtr hostname, IntPtr error);
>>
>> [DllImport("libglib-2.0.so")]
>> private static extern IntPtr g_filename_to_uri (IntPtr filename,
>> IntPtr hostname, IntPtr error);
>>
>> if(Environment.OSVersion.Platform == PlatformID.Unix)
>>   g_filename_to_uri(filename, hostname, error);
>> else
>>   g_filename_to_uri_win32(filename, hostname, error);
>>
>> Which sucks hard.
>>
>> OK, that's really all for now.
>> _______________________________________________
>> Banshee-list mailing list
>> Banshee-list gnome org
>> http://mail.gnome.org/mailman/listinfo/banshee-list
>>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]