Language

Hi, I tried to analize my code using spanish as the language to use for spelling options but I still get spelling errors for all the words in spanish (and no errors for words in english). Is there any way to get FxCop to recognize spanish words without adding them all to the custom dictionary?
Thanks
[306 byte] By [ACS] at [2008-2-6]
# 1
Do you have a Spanish version of Office installed? Or the Office Proofing Tools? If you have Office installed, what version are you using?

This is not a well-tested area of FxCop. We have only tested alternate languages on systems w/the proofing tools installed.

In the next version of FxCop, we will be switching to a new spelling library which will also support identifiers in multiple languages/locales.

Michael Fanning
VSTS Development: Code Analysis

MichaelFanning-MS at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Code Analysis and Code Metrics...
# 2
I found the problem... I was setting the Dictionary Locale option from the Tools, Settings, Project Default section, which doesn't seem to work.
When I tried using the Project, Options menu, everything worked. I didn't need to add the proofing tools.
Thanks!
ACS at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Code Analysis and Code Metrics...
# 3
Setting this option in Project Defaults should mean that every new project file you create has the specified locale set automatically. I tested this here and that appears to be working. Were you working with a project file you created and saved before modifying the Project Defaults?

Michael

MichaelFanning-MS at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Code Analysis and Code Metrics...
# 4
Oh that must have been the problem, I thought the project default language applied for the current project too. Maybe it would help if it was labeled "Default language for new projects" to make it clear that it doesn't change the setting for the current project.
Thanks a lot, this was very helpful
ACS at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Code Analysis and Code Metrics...

Visual Studio Team System

Site Classified