The specified solution configuration "Debug|x64" is invalid?

Yaseen's Avatar

Yaseen

08 Feb, 2017 06:15 AM

I am trying to build a project on Debug and Release on both the x64 and x86

I keep getting this error:
" error MSB4126: The specified solution configuration "Debug|x64" is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Conf "

the .yml file was auto-generated through the settings option in appveyor so i am sure that the syntax should be fine.

Any idea what the reason could be?
here is my .yml file

version: 1.0.{build}
branches:
  only:
  - testing
image: Visual Studio 2015
configuration:
- Debug
- Release
platform:
- x64
- x86
clone_folder: c:\local\KTAB
before_build:
- cmd: cd KTAB\kutils & cmake .
build:
  project: c:\local\KTAB\KTAB\kutils\kutils.sln
  parallel: true
  verbosity: minimal

and my latest build from appveyor.https://ci.appveyor.com/project/lsyaseen/ktab-dxksq/build/1.0.151

  1. 1 Posted by Yaseen on 08 Feb, 2017 06:27 AM

    Yaseen's Avatar

    Ok, so the build works when i specify the generated build files for cmake like this
    cmd: cd KTAB\kutils & cmake . -G "Visual Studio 14 Win64"

    But i need to run it on both 64 and 86, any ideas?

  2. 2 Posted by Ilya Finkelshte... on 18 Feb, 2017 02:29 AM

    Ilya Finkelshteyn's Avatar

    Sorry, missed your post, sent PR with the fix.

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:15 AM.

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