[Bug 10467] Making Microsoft .NET 2.0 to work in wine, based on example app FastMD5 1.4 for NET 2.0

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Oct 22 09:11:47 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=10467


Eugene Klimov <slach at 74mail.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slach at 74mail.ru




--- Comment #66 from Eugene Klimov <slach at 74mail.ru>  2008-10-22 09:11:45 ---
i'm installing Debian lenny WINE 1.0.1 + .NET 2.0 fine, but any access to
Culture from .NET application crashed 

$wine --version 
wine-1.0 
after installing 
$./winetricks corefonts msxml3 msxml6 
$./winetricks dotnet20 
all ok with many "fixme:" messages 

but when i running MSBuild.exe for compiling my simple C# Project 
$wine cmd 
CMD 1.0 
z:\home\user\> %windir%\Microsoft.NET\Framework\v2.0.50727\msbuild.exe
z:\home\user\source\BuildTarget.xml /p:Configuration=Release
2>msbuild.stderr.log 1>msbuild.stdout.log 

i have some WINE fixme messages 
-------------------------- 
fixme:shell:URL_ParseUrl failed to parse L"System" 
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.Build.Engine" 
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.Build.Framework" 
fixme:shell:URL_ParseUrl failed to parse L"MSBuild.resources" 
fixme:shell:URL_ParseUrl failed to parse L"MSBuild.resources" 
fixme:shell:URL_ParseUrl failed to parse L"System.Xml" 
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.Build.Engine.resources" 
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.Build.Engine.resources" 
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.Build.Tasks" 
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.Build.Utilities" 
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.Build.Tasks.resources" 
fixme:shell:URL_ParseUrl failed to parse L"Microsoft.Build.Tasks.resources" 
fixme:shell:URL_ParseUrl failed to parse L"" 
fixme:ole:CoGetContextToken stub 
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for c0150018 
fixme:shell:URL_ParseUrl failed to parse L"" 
fixme:time:GetCalendarInfoW flag CAL_NOUSEROVERRIDE used, not fully implemented 
fixme:time:GetCalendarInfoW Unimplemented caltype 1 
fixme:time:GetCalendarInfoW flag CAL_NOUSEROVERRIDE used, not fully implemented 
fixme:time:GetCalendarInfoW Unimplemented caltype 2 
fixme:shell:URL_ParseUrl failed to parse L"mscorlib.resources" 
fixme:ole:CoGetContextToken stub 
fixme:ole:Context_QueryInterface interface not implemented
{000001da-0000-0000-c000-000000000046} 
-------------------------- 



and i have MSBuild error with Culture settings 
-------------------------- 
Z:\home\user\make\mkinstall>CLS 
Z:\home\user\make\mkinstall>C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msbuild.exe
..\..\source\BuildTarget.xml /p:Configuration=Release 
Microsoft (R) Build Engine Version 2.0.50727.42 
[Microsoft .NET Framework, Version 2.0.50727.42] 
Copyright (C) Microsoft Corporation 2005. All rights reserved. 

Build started 22.10.2008 18:34:20. 
__________________________________________________ 
Project "Z:\home\user\source\BuildTarget.xml" (default targets): 

Target ResolveAssemblyReferences: 
C:\windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1306,9):
error MSB3095: Invalid argument. Culture name 'eo' is not supported. 
C:\windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1306,9):
error MSB3095: Parameter name: name 
Done building target "ResolveAssemblyReferences" in project "BuildTarget.xml"
-- FAILED. 

Done building project "BuildTarget.xml" -- FAILED. 

Build FAILED. 
C:\windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1306,9):
error MSB3095: Invalid argument. Culture name 'eo' is not supported. 
C:\windows\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1306,9):
error MSB3095: Parameter name: name 
0 Warning(s) 
1 Error(s) 

Time Elapsed 00:00:00.83 
-------------------------- 


for testing i write simple .NET Culture Listing application 

ListCulture.cs see attachment
<code>
-------------------------- 
using System;
using System.Collections.Generic;
using System.Text;
using System.Globalization;

namespace ListCulture
{
    class Program
    {
        static void Main(string[] args)
        {
            List<string> list = new List<string>();
            foreach (CultureInfo ci in
CultureInfo.GetCultures(CultureTypes.AllCultures))
            {
                string specName = "(none)";
                try { specName =
CultureInfo.CreateSpecificCulture(ci.Name).Name; }
                catch { }
                list.Add(String.Format("{0,-12}{1,-12}{2}", ci.Name, specName,
ci.EnglishName));
            }

            list.Sort();  // sort by name

            // write to console
            Console.WriteLine("CULTURE   SPEC.CULTURE  ENGLISH NAME");
           
Console.WriteLine("--------------------------------------------------------------");
            foreach (string str in list)
                Console.WriteLine(str);
        }
    }
}
-------------------------- 
</code>

compiling ListCulture.cs under WINE 
%windir%\Microsoft.NET\Framework\v2.0.50727\csc /r:sysglobl.dll ListCulture.cs 

all OK 

but running 
ListCulture.exe 2> ListCulture.err.log 
have same error for WINE 
---------------------- 
fixme:virtual:NtAllocateVirtualMemory MEM_WRITE_WATCH type not supported 
fixme:ole:CoGetContextToken stub 
fixme:time:GetCalendarInfoW flag CAL_NOUSEROVERRIDE used, not fully implemented 
fixme:time:GetCalendarInfoW Unimplemented caltype 1 
fixme:time:GetCalendarInfoW Unimplemented caltype 2 
fixme:shell:URL_ParseUrl failed to parse L"mscorlib.resources" 
fixme:advapi:CheckTokenMembership (0x14c 0x171ec8 0x33de88) stub! 
fixme:imm:ImmDisableIME (-1): stub 
Application tried to create a window, but no driver could be loaded. 
Make sure that your X server is running and that $DISPLAY is set correctly. 
err:ole:CoWaitForMultipleHandles Unexpected wait termination: -1, 87 
err:ole:CoWaitForMultipleHandles Unexpected wait termination: -1, 87 
fixme:ole:ProxyCliSec_QueryBlanket (0x122024, 0x33fd7c, 0x33fd80, (nil),
0x33fd84, 0x33fd88, (nil), (nil)): stub 
err:ole:CoQueryProxyBlanket -- failed with 0x80004001 
fixme:advapi:RegisterEventSourceW ((null),L"VsJITDebugger"): stub 
fixme:advapi:ReportEventW
(0xcafe4242,0x0001,0x0000,0xc0001000,0x5410d8,0x0001,0x00000004,0x33fdac,0x33fdb0):
stub 
err:eventlog:ReportEventW L"An unhandled win32 exception occurred in
ListCulture.exe [66]. Just-In-Time debugging this exception failed with the
following error: 0x80004001\n\nCheck the documentation index for 'Just-in-time
debugging, errors' for more information." 
fixme:advapi:DeregisterEventSource (0xcafe4242) stub 
------------- 

and exeption for ListCulture.exe 
-------------------------- 

Unhandled Exception: System.ArgumentException: Culture name 'eo' is not
supported. 
Parameter name: name 
at System.Globalization.CultureTableRecord..ctor(String cultureName, Boolean
useUserOverride) 
at System.Globalization.CultureTableRecord.GetCultureTableRecord(String name,
Boolean useUserOverride) 
at System.Globalization.CultureTableRecord.GetCultureTableRecord(Int32
cultureId, Boolean useUserOverride) 
at System.Globalization.CultureInfo..ctor(Int32 culture, Boolean
useUserOverride) 
at System.Globalization.CultureInfo..ctor(Int32 culture) 
at System.Globalization.CultureTable.GetCultures(CultureTypes types) 
at ListCulture.Program.Main(String[] args)

change locale 

locale 
LANG=en_US.UTF-8 
LC_CTYPE="en_US.utf8" 
LC_NUMERIC="en_US.utf8" 
LC_TIME="en_US.utf8" 
LC_COLLATE="en_US.utf8" 
LC_MONETARY="en_US.utf8" 
LC_MESSAGES="en_US.utf8" 
LC_PAPER="en_US.utf8" 
LC_NAME="en_US.utf8" 
LC_ADDRESS="en_US.utf8" 
LC_TELEPHONE="en_US.utf8" 
LC_MEASUREMENT="en_US.utf8" 
LC_IDENTIFICATION="en_US.utf8" 
LC_ALL=en_US.utf8 

or 

locale 
LANG=ru_RU.cp1251 
LC_CTYPE="ru_RU.cp1251" 
LC_NUMERIC="ru_RU.cp1251" 
LC_TIME="ru_RU.cp1251" 
LC_COLLATE="ru_RU.cp1251" 
LC_MONETARY="ru_RU.cp1251" 
LC_MESSAGES="ru_RU.cp1251" 
LC_PAPER="ru_RU.cp1251" 
LC_NAME="ru_RU.cp1251" 
LC_ADDRESS="ru_RU.cp1251" 
LC_TELEPHONE="ru_RU.cp1251" 
LC_MEASUREMENT="ru_RU.cp1251" 
LC_IDENTIFICATION="ru_RU.cp1251" 
LC_ALL=ru_RU.cp1251 

nothing effect


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list