I am trying to update the nuget references of some projects from the command line. These projects use the new format which include PackageReference elements. The command I am using is:
nuget.exe update someproj.csproj
This results in an error:
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 element. If the project has been authored in the old 1.0 or 1.2 format, please convert it to MSBuild 2003 format.
Is there some way to use nuget.exe or dotnet.exe to update packages from the command line?