-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
.Net Application running on Japanese windows shows Assert Failure. 'mscorlib recursive resource lookup bug'
The string 'Security_GenericNoType' is not present in the .Net Framework Japanese strings.
Switching the thread CurrentUICulture to CultureInfo.InvariantCulture avoids the popup.
Source Reference points:
Assert.Fail("[mscorlib recursive resource lookup bug]", message, Assert.COR_E_FAILFAST, System.Diagnostics.StackTrace.TraceFormat.NoResourceLookup); in mscorlib/system/environment.cs#L177
message = GetResString("Security_GenericNoType"); in mscorlib/system/security/securityexception.cs#L102
The code that caused the error is creating an IsolatedStorageFileStream

Metadata
Metadata
Assignees
Labels
No labels