Multiple .sln files; project setting not recognized

Zev Spitz's Avatar

Zev Spitz

03 Jan, 2021 12:19 PM

My build fails with:

MSBUILD : error MSB1011: Specify which project or solution file to use because this folder contains more than one project or solution file.

My project has multiple .sln files, but there's a build section in the appveyor.yaml:

    project: PandocFilters.sln

However, AppVeyor doesn't seem to recognize it.

  1. Support Staff 1 Posted by Feodor Fitsner on 05 Jan, 2021 02:22 AM

    Feodor Fitsner's Avatar

    Hi Zev,

    It looks like appveyor.yml is not being read/used. This could be a cause for your other issue.

    Make sure you can see a list of repositories on "New project" page and re-authorize AppVeyor to access your GitHub account if necessary.

  2. 2 Posted by Zev Spitz on 05 Jan, 2021 06:02 AM

    Zev Spitz's Avatar

    The "New Project" page shows me a list of repos; I'd recently revoked and reauthorized AppVeyor on GitHub.

  3. Support Staff 3 Posted by Feodor Fitsner on 05 Jan, 2021 06:20 PM

    Feodor Fitsner's Avatar

    Oh, I see it fails on dotnet restore. Change it here to dotnet restore PandocFilters.sln to make it work.

  4. 4 Posted by Zev Spitz on 05 Jan, 2021 06:31 PM

    Zev Spitz's Avatar

    Thank you! That fixes it.
    (I feel rather silly now; it seems so obvious in hindsight.)

    But it seems unrelated to the other issue.

  5. Zev Spitz closed this discussion on 05 Jan, 2021 09:46 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

Recent Discussions

27 Jan, 2023 08:06 PM
27 Jan, 2023 08:05 PM
25 Jan, 2023 03:23 PM
25 Jan, 2023 03:22 PM
23 Jan, 2023 03:29 PM