"MSBuild" mode (default), but no Visual Studio project
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
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | 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
Support Staff 1 Posted by Feodor Fitsner on 16 Jun, 2020 03:45 AM
Hi Pierre,
You've added
/paugier/transonic
project as "generic" mercurial repository in which caseappveyor.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 Posted by Pierre Augier on 16 Jun, 2020 07:44 AM
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
Support Staff 3 Posted by Feodor Fitsner on 16 Jun, 2020 07:30 PM
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.
Feodor Fitsner closed this discussion on 16 Aug, 2020 09:02 PM.