search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
Workaround for Microsoft WebMatrix 2 Beta Localization Bug
Posted in Windows Powershell | 1 Comment | 2,887 views | 05/03/2012 02:16

You may not use Microsoft WebMatrix 2 Beta if your region format is not English. In that case you will probably see “index was outside the bounds of the array” when you try to edit files. I wrote a quick workaround in Powershell to solve this problem.

1
2
3
4
Set-ItemProperty -Path "Registry::HKEY_CURRENT_USER\Control Panel\International" -Name LocaleName -Value en-GB
& ${Env:ProgramFiles(x86)}"\Microsoft WebMatrix\WebMatrix.exe"
Start-Sleep 10
Set-ItemProperty -Path "Registry::HKEY_CURRENT_USER\Control Panel\International" -Name LocaleName -Value tr-TR

You should use this script to start WebMatrix 2 Beta. You can change shortcut path to execute this script as well.

Applied to: PowerShell v2, PowerShell v3


Comments (1)

umit

April 23rd, 2012
17:24:45

teşekkürler, çok yardımcı oldu



Leave a Reply