"MSBuild" mode (default), but no Visual Studio project

Pierre Augier's Avatar

Pierre Augier

14 Jun, 2020 08:11 PM

This project passes without issue https://ci.appveyor.com/project/fluiddyn/transonic (mercurial repository from Bitbucket)

But for other project https://ci.appveyor.com/project/paugier/transonic for the same commit (Mercurial repository cloned from https://foss.heptapod.net/fluiddyn/transonic), an error is raised :

"The build phase is set to "MSBuild" mode (default), but no Visual Studio project or solution files were found in the root directory. If you are not building Visual Studio project switch build mode to "Script" and provide your custom build command."

The .appveyor.yml is here https://foss.heptapod.net/fluiddyn/transonic/blob/branch/default/.appveyor.yml

  1. Support Staff 1 Posted by Feodor Fitsner on 16 Jun, 2020 03:45 AM

    Feodor Fitsner's Avatar

    Hi Pierre,

    You've added /paugier/transonic project as "generic" mercurial repository in which case appveyor.yml is not supported (there is no way to fetch a single file from HG repo without cloning entire repo).

    Re-create the project as "Bitbucket" and it will do the trick.

  2. 2 Posted by Pierre Augier on 16 Jun, 2020 07:44 AM

    Pierre Augier's Avatar

    Thank you for your answer.

    I won't be able to use Bitbucket soon and the repository in Bitbucket is going to be deleted. Our new repositories are there https://foss.heptapod.net/fluiddyn (same platform as PyPy repos by the way https://foss.heptapod.net/pypy).

    That's why I created the project as "generic" mercurial repository.

    I don't know if it is possible to fetch one single file from a hg repository, but in this case, the repository is already cloned. The file `appveyor.yml` is just there.

    If you really need the file before cloning, could it be possible to provide an address from which it can be obtained? In my case it would be https://foss.heptapod.net/fluiddyn/transonic/raw/branch/default/.appveyor.yml

  3. Support Staff 3 Posted by Feodor Fitsner on 16 Jun, 2020 07:30 PM

    Feodor Fitsner's Avatar

    That's actually great there there is a URL allowing to fetch appveyor.yml. Now you can fo to General tab of project settings and put that URL into Custom configuration .yml file name field.

    Hey, https://foss.heptapod.net/ looks like it's GitLab. You may try configuring it as "GitLab EE" on Add project page.

  4. Feodor Fitsner closed this discussion on 16 Aug, 2020 09:02 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac