Culture info failure

I am building an application for a French client.

We originally had a problem with spurious characters being added at the beginning of the text output files created with WriteAllText, but managed to overcome this by

 

Imports System.Globalization

Imports System.Threading

Dim myCIintl As New CultureInfo("fr-FR")

Application.CurrentCulture = myCIintl

 

Now that has stopped working. When I publish the app

Warning 1 Could not match culture 'fr-FR' for item '.NET Framework 2.0'. Using culture 'en' instead. 

 

 [added] XP SP2, VS Standard, Control panel - Regional Settings all set to French France, Publish Options - set to French, France. .NET Framework 1.1, .NET Framework 2.0, .NET Framework 2.0 SDK [end add] 

Has something in the .NET Framework been changed Is the change documented I need to get this application published.

I have to admit, I am finding the Visual Studio Standard a very temperamental programme. I have actually moved some development back onto my Visual Basic Express machine to get some stability.


 




Answer this question

Culture info failure

  • PB Poonam

    I found my own solution, and I'm afraid it means a moderator may want move my post to Visual Studio General.

    In the IDE, in the Project Properties, I had set the Publish language to French - France. Changing that to Default, the application correctly picked up the machine settings, and once more I have French accents and no spurious characters in the text files.

    Hope this helps someone else.



  • Culture info failure