Search

Visual Studio 2010 on german Windows produces error in resx files: CTRL vs STRG by H. Goller

Closed
as Won't Fix Help for as Won't Fix

4
0
Sign in
to vote
Type: Bug
ID: 615257
Opened: 10/20/2010 6:07:16 AM
Access Restriction: Public
0
Workaround(s)
3
User(s) can reproduce this bug
We just tried to move our project from VS2008(english) to VS2010(english), both with a german Windows. Unfortunately the compiler now complains about "CTRL" in the resx file. Replacing "CTRL" with "STRG" allows the compiler to work, but the forms cannot be opened in the designer anymore. Basically this means we can NOT work with VS2010 on a german windows at all!

With VS2008 Microsoft didn't fix a similar bug and told us to use the english Visual Studio instead of the german VS. What am I supposed to do this time? Use an english OS? Change all my code and switch back to the german VS?
Or maybe pick a better tool for future projects?

How do other companies which work internationally cope with this? Working in an international team seems impossible.
Details (expand)

Visual Studio/Silverlight/Tooling version

Visual Studio 2010

What category (if any) best represents this feedback?

Compatibility

Steps to reproduce

Create a project with VS2008(english) and .NET 3.5 .
Create a form which uses the CTRL key.

Open this project with an english VS2010 on a german windows.

Try to compile.

Product Language

English

Operating System

Windows XP

Operating System Language

German

Actual results

Compiler complains about "CTRL" in resx file.
Compiler works if "CTRL" is replaced "STRG", but designer doesn't!

Expected results

Compiler should use "CTRL" independend of the used language (both OS and VS).
Designer and compiler should be compatible (this is a minimum requirement).
Different language versions should be code compatible!

If possible VS2010 should be compatible to all versions of VS2008.
File Attachments
0 attachments
Sign in to post a comment.
Posted by Microsoft on 3/13/2011 at 7:04 PM
Thank you for reporting this issue. Customer feedback is a critical part of a successful, impactful software product. Unfortunately another part is the reality of schedules and the need to prioritize investments according to the objectives of the product. We have evaluated the issue that you have reported and at this point in the product's lifecycle, it does not meet the criteria to be addressed. This evaluation is carefully done and considers many aspects including the cost of the fix, implications of the change, and the number of reported instances of the issue.


Many customers have found it useful to discuss issues like this in the forums (http://www.microsoft.com/communities/forums/default.mspx) where Microsoft and other members of the community can recommend ways of achieving the behavior you are interested in.

Thank you,
The Windows Forms Product Team
Posted by A.Kluth on 12/17/2010 at 9:44 AM
We are facing the same issue on a Windows Server 2003 Standard SP 2 (32-Bit x86). The TFS 2010 Build fails for a simple WinForm project created with VS 2010 Eng on a Windows 2008 Server. The following error occurs:

"Ungültige Resx-Datei. Der angeforderte Wert Ctrl konnte nicht gefunden werden. Zeile XXX Position Y." (use Google Translate).

The resource file contains sth. like:
<data name="editDeleteToolStripMenuItem.ShortcutKeys" type="System.Windows.Forms.Keys, System.Windows.Forms">
<value>Ctrl+D</value>
</data>

when I hack the autogenerated code and change "Ctrl" to "Strg" the build works:
<data name="editDeleteToolStripMenuItem.ShortcutKeys" type="System.Windows.Forms.Keys, System.Windows.Forms">
<value>Strg+D</value>
</data>
Posted by Microsoft on 10/25/2010 at 12:03 AM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by H Goller on 10/21/2010 at 12:00 AM
Appearantly the previous description was not detailed enough
(which I admit), here are the steps which need to be taken
to replroduce the problem:

1) Create a C# project on VS2008(english)
2) Add ToolStripMenuItem with shortcut CTRL-O (naturally you need a form, etc..)
3) Open the project with VS2010(english) on a german OS.
4) Try to compile
5) Compiler will complain about CTRL in resx file. (expects STRG)
6) Replace CTRL with STRG in resx file.
7) The Compiler will be happy.
8) Now try to open form in Designer, Designer will complain about STRG (expects CTRL)

Workaround: Create all shortcuts in code, not in the designer.
Posted by Microsoft on 10/20/2010 at 11:20 PM

Thanks for reporting this issue. In order to fix the issue, we must first reproduce the issue in our labs. We are unable to reproduce the issue with the steps you provided.

Please give us a demo project to demonstrate this issue so that we can conduct further research.

It would be greatly appreciated if you could provide us with that information as quickly as possible. If we do not hear back from you within 7 days, we will close this issue.

Thanks again for your efforts and we look forward to hearing from you.

Microsoft Visual Studio Connect Support Team

Posted by Microsoft on 10/20/2010 at 6:31 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.