mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Set default culture to en-US
So that the resource manager doesn't try to load a non-existent satellite assembly (and thus throw). The culture `en-US` is the default `CurrentCulture` on all platforms I tested, specifically not `en`. Note that there is a problem with the FullCLR build where some other assembly is still attempting to reference `Logging.resources` instead of `System.Management.Automation.Logging.resources`.
This commit is contained in:
1 parent
6433650edf
commit
2f29f43e42
6 files changed
+37
-15
No files matched your search
@@ -1,8 +1,12 @@
|
||||
using System.Reflection;
|
||||
using System.Resources;
|
||||
|
||||
[assembly:AssemblyFileVersionAttribute("3.0.0.0")]
|
||||
[assembly:AssemblyVersion("3.0.0.0")]
|
||||
|
||||
[assembly:AssemblyCulture("")]
|
||||
[assembly:NeutralResourcesLanguage("en-US")]
|
||||
|
||||
#if !CORECLR
|
||||
[assembly:AssemblyKeyFileAttribute(@"..\..\src\monad\monad\src\graphicalhost\visualstudiopublic.snk")]
|
||||
[assembly:AssemblyDelaySignAttribute(true)]
|
||||
|
||||
Reference in new issue
Block a user