且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

“无法找到类型或命名空间名称”OfficeOpenXml“错误

更新时间:2023-02-20 10:56:34

如果您有任何软件包使用NuGet安装,那么您需要在实际构建命令之前,在构建配置中添加一个NuGet Installer构建步骤,使用引用所需的NuGet软件包的解决方案文件。这一步是什么导致TeamCity下载任何需要安装的NuGet软件包。

If you have any packages installed using NuGet, then you need to add a NuGet Installer build step in your build configuration before the actual build command, using the solution file which references the NuGet packages you need. This step is what causes TeamCity to download any NuGet packages that are required that it doesn't have installed.