Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

128
Visualizações
How to maintain language specific comments after TargetFramework change

I am going to upgrade TargetFramework for our client projects but they used French language for their development. But we are using English language over here. Now when I upgrading target framework then resource designer file comments changed from French to English. Resource designer file comments in framework 4.0

<summary>
///   Une classe de ressource fortement typée destinée, entre autres, à la consultation des chaînes localisées.
/// </summary>

After upgrading TargetFramework by using project properties drop down it change to

/// <summary>
///   A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>

Can you please help me how can we keep Visual Studio auto generated comments in French language what steps I need to take to handle this?

Is it possible that, If I install 4.5.2 framework in French and English languages in my machine. Then When I select targetframwork from drop-down at that time, I can specify which language I need to migrate French or English?

These are Custom resource files like EmployeeException.resx file. Now the content of that file does not change. it is still in french language but its designer file MEGExceptionMessages.Designer.cs has been changed to English translation. As these are supported files for Visual Studio so I think it convert automatically by that due to framework change..

Earlier it is

<auto-generated>
//     Ce code a été généré par un outil.
//     Version du runtime :4.0.30319.18444
//
//     Les modifications apportées à ce fichier peuvent provoquer un comportement incorrect et seront perdues si
//     le code est régénéré.
// </auto-generated>

After Target framework change, Now it is....

/ <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.34209
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

I got the answer from on MSDN blog. You can refer following link for more details. To handle this issue, Visual Studio Language pack need to install and then select specific language setting from Tools >> Option >> International Setting.

https://social.msdn.microsoft.com/Forums/vstudio/en-US/cd7d0132-3d57-4fd7-ad42-35866c94af62/how-to-maintain-language-specific-comments-after-targetframework-change?forum=netfxbcl

Ankush

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda