Unexpected automatic MSBuild invocation

PB's Avatar


06 May, 2022 01:36 PM


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?


  1. Support Staff 1 Posted by Feodor Fitsner on 07 May, 2022 01:35 AM

    Feodor Fitsner's Avatar

    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. 2 Posted by PB on 07 May, 2022 08:57 AM

    PB's Avatar

    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.


  3. PB closed this discussion on 07 May, 2022 08:58 AM.

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