I have a form which has TableLayoutPanels, these table layout panels produce the following entries in the Resources.resx file,
tableLayoutPanel1.LayoutSettings <?xml version="1.0" encoding="utf-16"?><TableLayoutSettings><Controls><Control Name="txtOutput" Row="0" RowSpan="1" Column="2" ColumnSpan="4" /><Control Name="lblOutput" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /><Control Name="btnRetry" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="btnContinue" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="btnFail_Test" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="btnPass_Test" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /><Control Name="btnTimeOut" Row="1" RowSpan="1" Column="3" ColumnSpan="1" /><Control Name="btnViewLog" Row="1" RowSpan="1" Column="4" ColumnSpan="1" /><Control Name="btnAbort" Row="1" RowSpan="1" Column="5" ColumnSpan="1" /></Controls><Columns Styles="Percent,16.66667,Percent,16.66667,Percent,16.66667,Percent,16.66667,Percent,16.66667,Percent,16.66667,Absolute,20" /><Rows Styles="Percent,58.77193,Percent,41.22807,Absolute,20" /></TableLayoutSettings>
When I try to build the project, I get the following error,
Convert file C:\MyProject\ProjectName\FormName.resx to XLIFF format failed. Message:Unsupported processing instruction '?xml' found during encoding. Please remove unsupported processing instructions from the xml.
I have tried switching Localization of the form to "off", which allows me to build, but then I lose foreign language support.
NOTES:
Deleting the tableLayoutPanel1.LayoutSettings from the resx file allows me to compile, but then my UI is completely destroyed.
I am using Multilingual App Toolkit v4.0.1605.0
Visual Studio Community 2015 Update 2
Windows 7 64bit
.NET4.5
Is there any way for me to fix this issue and use tableLayoutPanels and localization at the same time?