The build phase is set to "MSBuild" mode (default), but no Visual Studio project or solution files were found in the root directory.

andre_mikulec's Avatar

andre_mikulec

17 Apr, 2021 12:26 AM

Hi,

I am always getting this error.
```
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 run
https://raw.githubusercontent.com/AndreMikulec/appveyortest2/7a8153111aedabe7815e3a35691086a8f8b1d825/appveyor..yml

I did this here: revoked Github Authorization,
then put it back

https://help.appveyor.com/discussions/problems/11287-the-build-phase-is-set-to-msbuild-mode-default-but-no-visual-studio-project-or-solution-files-were-found

The the job succeeded.

I copied the YAML source code and placed it all into, next commit.

Then I built again.

I am still getting that same error:

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.

Its run:
https://ci.appveyor.com/project/AndreMikulec/appveyortest2/builds/38745984

The yaml code is the same at both:

after Github re-authorization:
https://raw.githubusercontent.com/AndreMikulec/appveyortest2/8ec94842fc8e99f0ab765f6c847587c2421d3f59/appveyor.yml

after Github re-authorization (above) and copy code:
https://raw.githubusercontent.com/AndreMikulec/appveyortest2/2927d4ca235222be1c8f161b10c6c2dbba0114e7/appveyor..yml

The original commit with the same source code worked fine (four days ago)"
https://raw.githubusercontent.com/AndreMikulec/appveyortest2/8ec94842fc8e99f0ab765f6c847587c2421d3f59/appveyor.yml
Its run:
https://ci.appveyor.com/project/AndreMikulec/appveyortest2/builds/38744971

Any ideas?

Thanks,
Andre

  1. Support Staff 1 Posted by Feodor Fitsner on 17 Apr, 2021 12:32 AM

    Feodor Fitsner's Avatar

    There is a double-dot in appveyor..yml - should be one: https://github.com/AndreMikulec/appveyortest2/blob/master/appveyor....

  2. 2 Posted by andre_mikulec on 17 Apr, 2021 12:37 AM

    andre_mikulec's Avatar

    Feodor Fitsner,

    Thank you. That fixed it.

    I have 20/400+ vision (-6.5 diopters), that is "not correctable.: No glass\plastic can bend that much.

  3. Support Staff 3 Posted by Feodor Fitsner on 17 Apr, 2021 12:38 AM

    Feodor Fitsner's Avatar

    Sure, no worries!

  4. Feodor Fitsner closed this discussion on 17 Jun, 2021 09:03 PM.

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

 

01 Oct, 2024 04:27 PM
26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM
24 Sep, 2024 08:39 PM
24 Sep, 2024 06:47 AM