Christo
Christo

Reputation: 2370

Travis unable to find csharp solution

In reference to this build and my ./.travis.yml file. Im unable to build my project using Travis CI. I get the following error:

No solution or script defined, exiting

Going by csharp.rb:88, it suggests the solution isnt set in my yml file, but it quite clearly is. Any pointers would be greatly appreciated.

language: csharp
solution: OrderedJobs.sln
before_install:
  - sudo apt-get install nunit-console
before_script:
  - nuget restore OrderedJobs.sln
after_script:
  - nunit-console OrderedJobs.Tests/bin/Release/OrderedJobs.Tests.dll

Upvotes: 2

Views: 260

Answers (1)

Christo
Christo

Reputation: 2370

It turned out this was a file format issue. For anyone who comes across this issue. Please make sure your .travis.yml file is saved as UTF-8. Further details can be found here.

Upvotes: 3

Related Questions