TableLayoutPanel RESX property generation causes Multilingual App Toolkit to fail

gb 66 Reputation points
2023-05-18T19:15:45.2066667+00:00

There seems to be an issue present as of the Multilingual App Toolkit v4.2.1: when a TableLayoutPanel is in a Localizable form, the LayoutSettings property is stored in the Resource file with an XML header inside it:

<?xml version="1.0" encoding="utf-16"?>

This causes the MAT to fail on build, with the error:

Convert file [file].resx to XLIFF format failed. Message:Unsupported processing instruction '?xml' found during encoding. Please remove unsupported processing instructions from the xml.

The offending line(s) can be removed from the Resource file, but future builds/project loads will cause the line to be automatically reinserted and trigger the error again.

See also:

Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
189 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anna Xiu-MSFT 27,641 Reputation points Microsoft Vendor
    2023-05-19T03:11:33.74+00:00

    Hi @glenb, 

    Welcome to Microsoft Q&A! 

    Your issue is related to Multilingual App Toolkit. Please report it into dedicated Multilingual-App-Toolkit forum

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful