Multiple .sln files; project setting not recognized
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
:
build:
project: PandocFilters.sln
However, AppVeyor doesn't seem to recognize it.
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 05 Jan, 2021 02:22 AM
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 Posted by Zev Spitz on 05 Jan, 2021 06:02 AM
The "New Project" page shows me a list of repos; I'd recently revoked and reauthorized AppVeyor on GitHub.
Support Staff 3 Posted by Feodor Fitsner on 05 Jan, 2021 06:20 PM
Oh, I see it fails on
dotnet restore
. Change it here todotnet restore PandocFilters.sln
to make it work.4 Posted by Zev Spitz on 05 Jan, 2021 06:31 PM
Thank you! That fixes it.
(I feel rather silly now; it seems so obvious in hindsight.)
But it seems unrelated to the other issue.
Zev Spitz closed this discussion on 05 Jan, 2021 09:46 PM.