Информация об изменениях

Сообщение Re[2]: MSBuild, встроить препроцессор от 02.11.2021 4:43

Изменено 02.11.2021 4:44 DDDX

Re[2]: MSBuild, встроить препроцессор
Здравствуйте, Kolesiki, Вы писали:

K>Здравствуйте, Коваленко Дмитрий, Вы писали:


КД>>Ну или сам, описав проблему, допру как поправить


K>Ну так мы так и не услышали саму проблему! Что именно такого неправильного в "однотипных файлах", что ты полез их препроцессить??


Их количество — 38 (19x2) штук.

Заменил на 2 шаблона (english, russian).

  reg.resx для n4_5_0-n4_6_2-Debug
  <data name="Provider_Description" xml:space="preserve">
    <value>LCPI ADO.NET provider for OLE DB data source.

Use this provider for connect to Firebird and InterBase databases through LCPI.IBProvider [OLE DB].

Data provider platform: FW4.5.0. DDEX provider platform: FW4.6.2. Debug assemblies.</value>
  </data>
  <data name="Provider_DisplayName" xml:space="preserve">
    <value>LCPI .NET Framework Data Provider for OLE DB [FW4.5.0][Debug]</value>
  </data>
  <data name="Provider_ShortDisplayName" xml:space="preserve">
    <value>OLE DB [LCPI][FW4.5.0][Debug]</value>
  </data>

  reg.resx для s2_0-n4_8_0-Debug
  <data name="Provider_Description" xml:space="preserve">
    <value>LCPI ADO.NET provider for OLE DB data source.

Use this provider for connect to Firebird and InterBase databases through LCPI.IBProvider [OLE DB].

Data provider platform: .Net Standard 2.0. DDEX provider platform: FW4.8.0. Debug assemblies.</value>
  </data>
  <data name="Provider_DisplayName" xml:space="preserve">
    <value>LCPI .NET Framework Data Provider for OLE DB [STD2.0][Debug]</value>
  </data>
  <data name="Provider_ShortDisplayName" xml:space="preserve">
    <value>OLE DB [LCPI][STD2.0][Debug]</value>
  </data>

  reg.resx для s2_0-n4_8_0-Release
  <data name="Provider_Description" xml:space="preserve">
    <value>LCPI ADO.NET provider for OLE DB data source.

Use this provider for connect to Firebird and InterBase databases through LCPI.IBProvider [OLE DB].

Data provider platform: .Net Standard 2.0. DDEX provider platform: FW4.8.0.</value>
  </data>
  <data name="Provider_DisplayName" xml:space="preserve">
    <value>LCPI .NET Framework Data Provider for OLE DB [STD2.0]</value>
  </data>
  <data name="Provider_ShortDisplayName" xml:space="preserve">
    <value>OLE DB [LCPI][STD2.0]</value>
  </data>

  шаблон reg.resx.m4
changequote([[, ]])
...
  <data name="Provider_Description" xml:space="preserve">
    <value>LCPI ADO.NET provider for OLE DB data source.

Use this provider for connect to Firebird and InterBase databases through LCPI.IBProvider [OLE DB].

Data provider platform: M4_PROVIDER_PLATFORM. DDEX provider platform: M4_DDEX_PLATFORM.ifelse(M4_BUILD_CONFIGURATION,[[Debug]],[[ Debug assemblies.]],)</value>
  </data>
  <data name="Provider_DisplayName" xml:space="preserve">
    <value>LCPI .NET Framework Data Provider for OLE DB [M4_PROVIDER_PLATFORM__SHORT]ifelse(M4_BUILD_CONFIGURATION,[[Debug]],[Debug],)</value>
  </data>
  <data name="Provider_ShortDisplayName" xml:space="preserve">
    <value>OLE DB [LCPI][M4_PROVIDER_PLATFORM__SHORT]ifelse(M4_BUILD_CONFIGURATION,[[Debug]],[Debug],)</value>
  </data>
Re[2]: MSBuild, встроить препроцессор
Здравствуйте, Kolesiki, Вы писали:

КД>>Ну или сам, описав проблему, допру как поправить


K>Ну так мы так и не услышали саму проблему! Что именно такого неправильного в "однотипных файлах", что ты полез их препроцессить??


Их количество — 38 (19x2) штук.

Заменил на 2 шаблона (english, russian).

  reg.resx для n4_5_0-n4_6_2-Debug
  <data name="Provider_Description" xml:space="preserve">
    <value>LCPI ADO.NET provider for OLE DB data source.

Use this provider for connect to Firebird and InterBase databases through LCPI.IBProvider [OLE DB].

Data provider platform: FW4.5.0. DDEX provider platform: FW4.6.2. Debug assemblies.</value>
  </data>
  <data name="Provider_DisplayName" xml:space="preserve">
    <value>LCPI .NET Framework Data Provider for OLE DB [FW4.5.0][Debug]</value>
  </data>
  <data name="Provider_ShortDisplayName" xml:space="preserve">
    <value>OLE DB [LCPI][FW4.5.0][Debug]</value>
  </data>

  reg.resx для s2_0-n4_8_0-Debug
  <data name="Provider_Description" xml:space="preserve">
    <value>LCPI ADO.NET provider for OLE DB data source.

Use this provider for connect to Firebird and InterBase databases through LCPI.IBProvider [OLE DB].

Data provider platform: .Net Standard 2.0. DDEX provider platform: FW4.8.0. Debug assemblies.</value>
  </data>
  <data name="Provider_DisplayName" xml:space="preserve">
    <value>LCPI .NET Framework Data Provider for OLE DB [STD2.0][Debug]</value>
  </data>
  <data name="Provider_ShortDisplayName" xml:space="preserve">
    <value>OLE DB [LCPI][STD2.0][Debug]</value>
  </data>

  reg.resx для s2_0-n4_8_0-Release
  <data name="Provider_Description" xml:space="preserve">
    <value>LCPI ADO.NET provider for OLE DB data source.

Use this provider for connect to Firebird and InterBase databases through LCPI.IBProvider [OLE DB].

Data provider platform: .Net Standard 2.0. DDEX provider platform: FW4.8.0.</value>
  </data>
  <data name="Provider_DisplayName" xml:space="preserve">
    <value>LCPI .NET Framework Data Provider for OLE DB [STD2.0]</value>
  </data>
  <data name="Provider_ShortDisplayName" xml:space="preserve">
    <value>OLE DB [LCPI][STD2.0]</value>
  </data>

  шаблон reg.resx.m4
changequote([[, ]])
...
  <data name="Provider_Description" xml:space="preserve">
    <value>LCPI ADO.NET provider for OLE DB data source.

Use this provider for connect to Firebird and InterBase databases through LCPI.IBProvider [OLE DB].

Data provider platform: M4_PROVIDER_PLATFORM. DDEX provider platform: M4_DDEX_PLATFORM.ifelse(M4_BUILD_CONFIGURATION,[[Debug]],[[ Debug assemblies.]],)</value>
  </data>
  <data name="Provider_DisplayName" xml:space="preserve">
    <value>LCPI .NET Framework Data Provider for OLE DB [M4_PROVIDER_PLATFORM__SHORT]ifelse(M4_BUILD_CONFIGURATION,[[Debug]],[Debug],)</value>
  </data>
  <data name="Provider_ShortDisplayName" xml:space="preserve">
    <value>OLE DB [LCPI][M4_PROVIDER_PLATFORM__SHORT]ifelse(M4_BUILD_CONFIGURATION,[[Debug]],[Debug],)</value>
  </data>