Reputation: 413
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.
The successful commit build log.
All answers are welcome. Thank you in advance.
Upvotes: 3
Views: 1030
Reputation: 413
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.
So a temporary workaround is to reconfigure the travis.yml file to build with xbuild.
example:
language: csharp
solution: {path to .sln}
script:
- xbuild /p:Configuration=Release {path to .sln}
Upvotes: 3