+1-888-365-2779
Try Now
More in this section

Forums / Sitefinity SDK / Sample build failure.

Sample build failure.

5 posts, 0 answered
  1. Owain
    Owain avatar
    110 posts
    Registered:
    17 Jan 2012
    01 Mar 2012
    Link to this post
    Hi!
    I have installed Sitefinity 4.4 and the SDK and both install on my system with no issues.

    When I try and run the 'sample in browser' no matter what sample I try to run, I get the following error :

    Microsoft (R) Build Engine Version 4.0.30319.1
    [Microsoft .NET Framework, Version 4.0.30319.225]
    Copyright (C) Microsoft Corporation 2007. All rights reserved.

    Build started 01/03/2012 09:14:37.
    Project "C:\Users\xx\AppData\Local\Telerik.Sitefinity.SDK\Education_109E91A\SitefinityWebApp\Telerik.Sitefinity.StarterKit.University.sln" on node 1 (default targets).
    C:\Users\xx\AppData\Local\Telerik.Sitefinity.SDK\Education_109E91A\SitefinityWebApp\Telerik.Sitefinity.StarterKit.University.sln.metaproj : error MSB4126: The specified solution configuration "Debug|BWS" is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration. [C:\Users\xx\AppData\Local\Telerik.Sitefinity.SDK\Education_109E91A\SitefinityWebApp\Telerik.Sitefinity.StarterKit.University.sln]
    Done Building Project "C:\Users\xx\AppData\Local\Telerik.Sitefinity.SDK\Education_109E91A\SitefinityWebApp\Telerik.Sitefinity.StarterKit.University.sln" (default targets) -- FAILED.

    Build FAILED.

    "C:\Users\xx\AppData\Local\Telerik.Sitefinity.SDK\Education_109E91A\SitefinityWebApp\Telerik.Sitefinity.StarterKit.University.sln" (default target) (1) ->
    (ValidateSolutionConfiguration target) ->
      C:\Users\xx\AppData\Local\Telerik.Sitefinity.SDK\Education_109E91A\SitefinityWebApp\Telerik.Sitefinity.StarterKit.University.sln.metaproj : error MSB4126: The specified solution configuration "Debug|BWS" is invalid. Please specify a valid solution configuration using the Configuration and Platform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug /p:Platform="Any CPU") or leave those properties blank to use the default solution configuration. [C:\Users\xx\AppData\Local\Telerik.Sitefinity.SDK\Education_109E91A\SitefinityWebApp\Telerik.Sitefinity.StarterKit.University.sln]

        0 Warning(s)
        1 Error(s)

    Time Elapsed 00:00:00.38

    Can someone please help, thanks.


  2. Owain
    Owain avatar
    110 posts
    Registered:
    17 Jan 2012
    02 Mar 2012
    Link to this post
    Sorry, has anyone else had this issue? Im keen to get this working. Thanks.
  3. Owain
    Owain avatar
    110 posts
    Registered:
    17 Jan 2012
    02 Mar 2012
    Link to this post
    Ive found a work around, what I do is open the sample in visual studio instead of in browser, build the project in VS and then view in browser from within Visual Studio. Samples all work now. Still get an error if I try and view in browser within the SDK but at least this works.
  4. Victor Velev
    Victor Velev avatar
    1345 posts
    Registered:
    06 Jul 2015
    05 Mar 2012
    Link to this post
    Hi Owain,

    We have dug deep regarding the error you are getting :

    The specified solution configuration "Debug|BWS" is invalid

    and it seems to be related to your configuration. We also tried to reproduce it but with no success. However, please make sure to navigate to the following articles which contain useful information on what can be the cause and the solution of the problem:

    http://social.msdn.microsoft.com/Forums/eu/tfsbuild/thread/8749ccca-9a88-452e-b615-6e9029115394


    http://social.expression.microsoft.com/Forums/en/blend/thread/5e913ebb-d0ed-4999-a01f-6dcee1fcd8ef


    http://helpdrive.wordpress.com/2011/07/10/the-specified-solution-configuration-debugmcd-is-invalid/


    All the best,
    Victor Velev
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  5. Owain
    Owain avatar
    110 posts
    Registered:
    17 Jan 2012
    05 Mar 2012
    Link to this post
    Thanks for your help. The regedit hack fixed the issue!

    Owain.
5 posts, 0 answered