[Bug 52407] New: dotnet-sdk-5.0.100-win-x64 simple example fails: error MSB4018: The "AssignCulture" task failed unexpectedly.

WineHQ Bugzilla wine-bugs at winehq.org
Sun Jan 16 10:32:23 CST 2022


https://bugs.winehq.org/show_bug.cgi?id=52407

            Bug ID: 52407
           Summary: dotnet-sdk-5.0.100-win-x64 simple example fails: error
                    MSB4018: The "AssignCulture" task failed unexpectedly.
           Product: Wine
           Version: 7.0-rc6
          Hardware: x86-64
               URL: https://download.visualstudio.microsoft.com/download/p
                    r/2892493e-df43-409e-af68-8b14aa75c029/53156c889fc08f0
                    1b7ed8d7135badede/dotnet-sdk-5.0.100-win-x64.exe
                OS: Linux
            Status: NEW
          Keywords: download
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: xerox.xerox2000x at gmail.com
      Distribution: ---

Note: this happens on version 5.0.100 of the downloadlink, another tested
version like dotnet-sdk-5.0.100-rc.2.20479.15-win-x64.exe doesn`t show this,
guess something has changed in the code (?)

Steps:

wget
https://download.visualstudio.microsoft.com/download/pr/2892493e-df43-409e-af68-8b14aa75c029/53156c889fc08f01b7ed8d7135badede/dotnet-sdk-5.0.100-win-x64.exe

wine dotnet-sdk-5.0.100-win-x64.exe

wine dotnet new wpf -o myapp && cd myapp && wine dotnet run

Output:

027c:fixme:nls:ResolveLocaleName stub: L"eo", 0000000028CCC000, 85
C:\Program
Files\dotnet\sdk\5.0.100\Microsoft.Common.CurrentVersion.targets(2943,5): error
MSB4018: The "AssignCulture" task f
ailed unexpectedly. [Z:\home\louis\ramdisk\myapp\myapp.csproj]
C:\Program
Files\dotnet\sdk\5.0.100\Microsoft.Common.CurrentVersion.targets(2943,5): error
MSB4018: System.TypeInitializationE
xception: The type initializer for 'Microsoft.Build.Tasks.CultureInfoCache'
threw an exception. [Z:\home\louis\ramdisk\myapp\m
yapp.csproj]

I did a bit of testing and in fact ResolveLocaleName _never_ returns 0, so i
guess we could just improve stub a bit to return 1 and get away with it. I`ll
attach improved stub that fixes the bug

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