tag:help.appveyor.com,2012-11-13:/discussions/problems/13922-how-to-disable-search-for-sln-filesAppVeyor: Discussion 2018-08-25T02:28:22Ztag:help.appveyor.com,2012-11-13:Comment/451845342018-04-27T17:36:10Z2018-04-27T17:36:10ZHow to disable search for sln files?<div><p>Right, because without any build stage related statement, during this stage in the <a href="https://www.appveyor.com/docs/build-configuration/#build-pipeline">build pipeline</a>, AppVeyor tries to auto-detect and build .NET solutions or projects.</p>
<p>You move all or part of the commands from <code>install</code> to <code>build_script</code> stage, or add <code>build: off</code>. If you are unsure of YAML syntax, you can always set the same in UI and then press <code>Export YAML</code>.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/451845342018-04-27T18:39:36Z2018-04-27T18:39:39ZHow to disable search for sln files?<div><p>Thank you for pointing me at <code>build_script</code>. It works now! :-)</p>
<p>By the way, contrary to your comment and contrary to the official documentation, adding <code>build: off</code> does not seem to be required. As a matter of fact, adding <code>build: off</code> seems to skip the <code>build_script</code> section altogether.</p></div>Daniel Wolftag:help.appveyor.com,2012-11-13:Comment/451845342018-04-27T18:51:04Z2018-04-27T18:51:04ZHow to disable search for sln files?<div><p>I meant to add <code>build: off</code> if you decide to leave all commands under <code>install</code>. Sure <code>build: off</code> takes over <code>build_script</code> :)</p></div>Ilya Finkelshteyn