Skip to content

Build is failing after an FSComp.txt change #16424

@auduchinok

Description

@auduchinok

There's a new error when changing the generated errors:

4>Microsoft.DotNet.XliffTasks.targets(84,5): Error  :
    'xlf/FSComp.txt.cs.xlf' is out-of-date with '/Users/eugene/Developer/fsharp/artifacts/obj/FSharp.Compiler.Service/Debug/netstandard2.0/FSComp.resx'.
    Run `msbuild /t:UpdateXlf` to update .xlf files or set UpdateXlfOnBuild=true to update them on every build,
    but note that it is strongly discouraged to set UpdateXlfOnBuild=true in official/CI build environments as they should not modify source code during the build.

It blocks the development flow and requires you to manually do something that usually is only needed just before opening a PR, or could be done completely automatic on non-CI builds.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions