Ich versuche, die Nuget-Referenzen einiger Projekte von der Befehlszeile zu aktualisieren. Diese Projekte verwenden das neue Format, das PackageReference-Elemente enthält. Der Befehl ich verwende ist:nupet.exe Update mit neuem csproj-Format
nuget.exe update someproj.csproj
Dies führt zu einem Fehler:
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.
Gibt es eine Möglichkeit nuget.exe zu verwenden oder dotnet.exe Pakete von der Befehlszeile zu aktualisieren?
Welche Version von nuget.exe haben Sie? –
nugget v 3.4.4.1321 – user653649