NuGet 错误 NU5009

Cannot find version of msbuild.

问题

NuGet pack 操作未找到 msbuild。

解决方案

请将 -MsBuildPath 传递给 NuGet pack 命令。