小编Han*_*rik的帖子

在 ms 托管的构建服务器中构建报告查看器时出现问题

我已经升级到 vs-2019 和 2016 版本的报告查看器,现在在 ms 托管的 azure 管道中构建时遇到问题。使用 Visual Studio 在我的本地环境中构建和测试时不会出现同样的问题。

我已从 .net Framework 4.7 升级到 4.7.2,因为我读到 azure 构建服务器 vs2019 使用 4.7.2,但这显然不能解决问题。

我已将包 Microsoft.ReportingServices.ReportViewerControl.Winforms 升级到最新版本 150.1358.0 Microsoft.SqlServer.Types 到最新版本 14.0.1016.290

我在构建时收到这些错误消息

[错误]C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(4552,5):错误 MSB3030:无法复制文件“ d:\a\1\s\SsegukuReports\SqlServerTypes\x86\msvcr120.dll”,因为找不到。

[错误]C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(4552,5):错误 MSB3030:无法复制文件“ d:\a\1\s\SsegukuReports\SqlServerTypes\x64\SqlServerSpatial140.dll”,因为找不到。

[错误]C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(4552,5):错误 MSB3030:无法复制文件“ d:\a\1\s\SsegukuReports\SqlServerTypes\x86\SqlServerSpatial140.dll”,因为找不到。

[错误]C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(4552,5):错误 MSB3030:无法复制文件“ d:\a\1\s\SsegukuReports\SqlServerTypes\x64\msvcr120.dll”,因为找不到。

reportviewer build azure-pipelines visual-studio-2019

5
推荐指数
1
解决办法
913
查看次数