Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

134
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda