Unexpected automatic MSBuild invocation
Hi,
I have a project I did not touch in about two years. Out of sudden, without (any) relevant change it stopped building (image "Visual Studio 2015").
The failing build log starts with
Build started
git clone -q --branch=master https://github.com/pbfordev/wxAutoExcel.git C:\projects\wxautoexcel
git checkout -qf 2fc1b92bb6073af2d9b25c79fe151758d679d5be
msbuild "C:\projects\wxautoexcel\util\GenerateEnums\GenerateEnums.sln" /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
I understand why building GenerateEnums.sln fails but I do not understand why AppVeoyor attempts it, i.e., where the msbuild invocation comes from. There is nothing like this in my appveyor.yml and this did not happen in the last successful build in 2020, where that MSVS solution was already present in the repository (but that may be due to the folder with solution listed in "skip_commits"). I have no interest to use GenerateEnums.sln in AppVeyor CI, it is just a tool conveniently bundled in the repository.
Any ideas?
Thanks,
PB
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 07 May, 2022 01:35 AM
Hi PB,
Most probably GitHub is no longer authorized in AppVeyor, so
appveyor.yml
cannot be fetched from your repo. Re-authorize GitHub on "New project" page.2 Posted by PB on 07 May, 2022 08:57 AM
Hi Feodor,
thank you very much, that was it.
TBH, I do not understand why authorization is needed for a public repository or even why if AppVeyor entered the msbuild mode it tried to build a solution two folders deep (the docs say the msbuild mode tries to build only solutions it finds in the root folder). But I admit I know virtually nothing about AppVeyor.
Best,
PB
PB closed this discussion on 07 May, 2022 08:58 AM.