Reinforced.Typings : Unexpected error RT0999: Input string was not in a correct format.
After some investigation I've found that what sparked a cascade of problems is a newline in my Reinforced.Typings.settings.xml (I didn't do it on purpose, it was a hard wrap from the formatter):
RT version: 1.6.1 .NET 6
I've been getting this when building:
After some investigation I've found that what sparked a cascade of problems is a newline in my
Reinforced.Typings.settings.xml
(I didn't do it on purpose, it was a hard wrap from the formatter):From what I understand the MsBuild
<RtCli>
task puts all input props (including whitespace) in a temp file that is then parsed line-by-line by the command line tool. The extra newline in this prop (and possibly others?) seems to break the parsing, as the parses assumes one parameter per line. The error directly comes from here: https://github.com/reinforced/Reinforced.Typings/blob/2e58769b8b8b3ec8eab5356b492aef62fe36f42b/Reinforced.Typings.Cli/ExporterConsoleParameters.cs#L132-L134