question

Ravivellanki-1545 avatar image
0 Votes"
Ravivellanki-1545 asked TianyuSun-MSFT commented

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

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]

vs-msbuild
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Ravivellanki-1545 , welcome to Microsoft Q&A forum. Was xmlns=XXXXXX included in your project file like the error message said?

224381-image.png

0 Votes 0 ·
image.png (9.7 KiB)

0 Answers