いくつかのプロジェクトのナゲットリファレンスをコマンドラインから更新しようとしています。これらのプロジェクトは、PackageReference要素を含む新しい形式を使用します。私が使っているコマンドは次のとおりです。新しいcsproj形式のnuget.exeアップデート
nuget.exe update someproj.csproj
これはエラーになり:
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.
は、コマンドラインからパッケージをnuget.exeを使用するか、または更新するdotnet.exeするためにいくつかの方法はありますか?
あなたはどのバージョンのnuget.exeをお持ちですか? –
nuget v 3.4.4.1321 – user653649