comwrg
comwrg

Reputation: 41

Failed build on Travis CI for WPF Application

I have developed a program in C# and WPF which builds on my local computer, but not on Travis CI.

travis ci url : https://travis-ci.org/comwrg/TestCI

Any advice on possible cause?

Upvotes: 0

Views: 547

Answers (1)

D Hansen
D Hansen

Reputation: 794

Although the question isn't too descriptive, I believe what you are asking is why does the build fail.

It seems you are trying to compile a WPF/Universal Windows Application using Travis (line 1105). However, this isn't actually achievable. Travis CI used Mono for it's .NET runtime functionality (see here https://docs.travis-ci.com/user/languages/csharp/). Mono doesn't support WPF or Universal Windows Applications as it is designed to be usable on all operating systems (WPF and Universal Windows Apps use DirectX heavily which isn't available as standard on other types of Operating System).

Maybe look more into other CI distributers such as TeamCity or AppVeyor as they do include MSBuild system.

Upvotes: 2

Related Questions