Prevent MAT from re-writing all XLF files on every build when nothing changed
After adding MAT, my C# app project is being rebuilt every time, even if nothing has changed. This is super annoying and makes debugging really slow. I want to be able to hit F5, and the app should come up immediately, if it has already been deployed and nothing has changed.
Currenlty, MAT seems to re-write all XLF files during each build, even if nothing has changed in the resources. Now next time I hit "F5", VS sees that the XLF files have changed and will trigger a rebuild of the project. During that rebuild, the XLF files are re-written again, and so on, and so on.
This is what I see when setting build output to Diagnostic, everytime I hit build or F5:
5>Project 'MyApp' is not up to date. Input file 'C:\Source\MyApp\MyApp\MultilingualResources\MyApp.de-DE.xlf' is modified after output file ''.
5>------ Build started: Project: MyApp, Configuration: Debug x64 ------
Please check if the resources have actually changed before writing XLF files. Or alternatively, write XLF to a temp file / stream first, then check if content is changed, and only replace the XLF file if it has really changed.
I would do this myself if MAT was Open Source. But since it isn't, please fix this, it would help me a lot.
This is extremely annoying with Git. It disrupts the gitflow process by forcing an undo of xliff files on every branch switch. The files change on Project Load, not just build.