Skip to content

Cannot build solution: Error MSB4126: The specified solution configuration"Release|BWS" is invalid #1312

Closed
@alexfoxgill

Description

@alexfoxgill

Description

When trying to build FAKE on Windows, running build.cmd from the command line, an error occurs:

...
Finished Target: SetAssemblyInfo
Starting Target: BuildSolution (==> SetAssemblyInfo)
Building project: ./FAKE.sln
  C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe  ./FAKE.sln /t:Build /m
   /p:RestorePackages="False" /p:Configuration="Release" /logger:Fake.MsBuildLog
ger+ErrorLogger,"C:\www\FAKE\packages\build\FAKE\tools\FakeLib.dll"
C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe  ./FAKE.sln /t:Build /m
 /p:RestorePackages="False" /p:Configuration="Release" /logger:Fake.MsBuildLogge
r+ErrorLogger,"C:\www\FAKE\packages\build\FAKE\tools\FakeLib.dll"
Microsoft (R) Build Engine version 14.0.25123.0
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 21/07/2016 09:45:14.
     1>Project "C:\www\FAKE\FAKE.sln" on node 1 (Build target(s)).
     1>C:\www\FAKE\FAKE.sln.metaproj : error MSB4126: The specified solution co
       nfiguration "Release|BWS" is invalid. Please specify a valid solution co
       nfiguration using the Configuration and Platform properties (e.g. MSBuil
       d.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leav
       e those properties blank to use the default solution configuration. [C:\
       www\FAKE\FAKE.sln]
     1>Done Building Project "C:\www\FAKE\FAKE.sln" (Build target(s)) -- FAILED
       .

Repro steps

  1. Clone FAKE
  2. Run build.cmd

Related information

  • OS: Windows 7 64-bit
  • Branch: master

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions