无法在 Git 部署上找到程序集 "Microsoft.ReportViewer.Common"

Could not locate the assembly "Microsoft.ReportViewer.Common" on Git Deploy

我有一个 azure 网站配置和一个 git 存储库链接,所以当我推送到我的 repo 时,它被部署在 azure 上,问题是部署失败并显示此消息:

D:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1605,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.ReportViewer.Common". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.

我已经将所有相应的 Dll 设置为复制本地,但仍然失败,有什么想法吗?

在此我需要通过 nugget 安装 Microsoft.ReportViewer 引用,因此当我推送到我的存储库时,azure 可以下载必要的引用