If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format

Ravi vellanki 21 Reputation points
2022-07-22T09:09:11.66+00:00

We have added the Microsoft.Graph dll from nuget tried to checked-in from TFS and when TFS gets to build the code we are seeing the below error. The same issue is not reproducible from the local dev environment while using VS2019.

Any insights please...

Project "D:\TFSBuilds\Claims\DDC_MiscClassLibs_GraphAPILibrary\src\GraphAPILibrary.sln" (2:2) is building "D:\TFSBuilds\Claims\DDC_MiscClassLibs_GraphAPILibrary\src\GraphAPILibrary.vbproj" (3) on node 1 (default targets).
D:\TFSBuilds\Claims\DDC_MiscClassLibs_GraphAPILibrary\src\packages\System.Text.Json.6.0.2\build\System.Text.Json.targets(1,1): error
MSB4041: The default XML namespace of the project must be the MSBuild XML namespace. If the project is authored in the MSBuild 2003 format,
please add xmlns="http://schemas.microsoft.com/developer/msbuild/2003" to the <Project> element. If the project has been authored in the old 1.0 or 1.2
format, please convert it to MSBuild 2003 format. [D:\TFSBuilds\Claims\DDC_MiscClassLibs_GraphAPILibrary\src\GraphAPILibrary.vbproj]

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,295 questions
{count} votes