当我尝试安装 Web Grease 1.5.1 时,我收到此错误:
You cannot call a method on a null-valued expression.
At L:\PROJECT_PATH\packages\WebGrease.1.5.2\tools\install.ps1:45 char:5
+ $msbuild.Xml.AddProperty("WebGreaseLibPath", $relativePackageUri.ToString(). ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull