最近,我的ASP.NET项目在travis-ci上开始失败。我在互联网和不同的论坛上进行了搜索,但似乎找不到解决方案。我不是travis-ci精灵,但我确实了解基本知识。
Recently my ASP.NET project started failing on travis-ci. I have searched all over the internet and different forums but cant seem to find a solution. I am not a travis-ci genie but I do understand the basics.
几天以来,构建开始出现以下错误:
Since a few days the builds started receiving the following error:
error MSB4044: The "KillProcess" task was not given a value for the required parameter "ImagePath".出现完整错误的图像
我试图重建以前成功构建的先前提交。测试我是否弄乱了项目文件。不幸的是,这也失败了。
I have tried to rebuild a previous commit that built successfully in the past. To test if I screwed something up with project files. Unfortunately that failed as well.
成功的提交构建日志。
相同的提交现在失败了。
欢迎所有答案。
推荐答案显然,Travis-Ci从xbuild切换为msbuild作为默认构建平台。当前,msbuild平台仅在.NET核心上不完全支持基于UNIX的系统上的标准.NET项目。
Apparently Travis-Ci switched from xbuild to msbuild as default build platform. And currently the msbuild platform does not fully support standard .NET projects on UNIX based systems only .NET core.
因此,一种临时的解决方法是将travis.yml文件重新配置为
So a temporary workaround is to reconfigure the travis.yml file to build with xbuild.
示例:
language: csharp solution: {path to .sln} script: - xbuild /p:Configuration=Release {path to .sln}更多推荐
ASP.NET MVC项目构建在travis
发布评论