Intermitent build issues of MSBuild repo - xml CDATA escaping not properly interpreted #11184
Labels
Area: Our Own Build
Problems affecting the build or build infrastructure of the MSBuild repo itself.
Context
Intermittent build errors of our repo indicating that xml was incorrectly parsed and 'CDATA' escaping sequence spilled over into the content
Looking on the file it complains about - it realy contains unexpected xml escaping sequences:
BuildCheckUnitTestsConstants.cs:
It seems like the CDATA from the msbuild file was not properly interpreted:
msbuild/src/BuildCheck.UnitTests/Microsoft.Build.BuildCheck.UnitTests.csproj
Lines 53 to 74 in a71903d
Repro steps
I'm not sure about specific conditions - but it appears every couple full builds. Then I need to clean the artifacts folder and issue is gone for some time
Binlog
msbuild-cdata-issue.binlog.txt
Note
This seems related to https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1980399/, https://developercommunity.visualstudio.com/t/Project-Generated-Files-Sometimes-Contai/10604117
The text was updated successfully, but these errors were encountered: