Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Enterprise Tools / January 2007

Tip: Looking for answers? Try searching our database.

Enterprise Library MSBuild error MSB4126

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Erin Loy - 24 Aug 2006 00:00 GMT
Hi All,

I am having trouble building the Enterprise Library (Jan 2006) from a fresh
install using BuildLibrary.bat.  The MSBuild output is below.  Any
suggestions?

Thanks,
-Erin

=========================================================
 BuildLibrary
    Builds Enterprise Library
=========================================================

----------------------------------------
BuildLibrary.bat Started
----------------------------------------

-------------------------------------------
Building the Enterprise Library assemblies
-------------------------------------------
Microsoft (R) Build Engine Version 2.0.50727.42
[Microsoft .NET Framework, Version 2.0.50727.42]
Copyright (C) Microsoft Corporation 2005. All rights reserved.

Build started 8/23/2006 3:56:25 PM.
__________________________________________________
Project "C:\Program Files\Microsoft Enterprise Library January
2006\EnterpriseLi
brary.sln" (Rebuild target(s)):

Target ValidateSolutionConfiguration:
   C:\Program Files\Microsoft Enterprise Library January
2006\EnterpriseLibrary
.sln : error MSB4126: The specified solution configuration "Debug|MCD" is
invali
d. Please specify a valid solution configuration using the Configuration and
Pla
tform properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug
/p:Platfo
rm="Any CPU") or leave those properties blank to use the default solution
config
uration.
Done building target "ValidateSolutionConfiguration" in project
"EnterpriseLibra
ry.sln" -- FAILED.

Done building project "EnterpriseLibrary.sln" -- FAILED.

Build FAILED.
C:\Program Files\Microsoft Enterprise Library January
2006\EnterpriseLibrary.sln
: error MSB4126: The specified solution configuration "Debug|MCD" is
invalid. P
lease specify a valid solution configuration using the Configuration and
Platfor
m properties (e.g. MSBuild.exe Solution.sln /p:Configuration=Debug
/p:Platform="
Any CPU") or leave those properties blank to use the default solution
configurat
ion.
   0 Warning(s)
   1 Error(s)

Time Elapsed 00:00:00.01
An error occured in BuildLibrary.bat - 1
Erin Loy - 30 Aug 2006 02:20 GMT
Can anybody help with this?

-Erin

> Hi All,
>
[quoted text clipped - 62 lines]
> Time Elapsed 00:00:00.01
> An error occured in BuildLibrary.bat - 1
cparke - 15 Jan 2007 22:00 GMT
Hi Erin,

I had the same problem (almost) and found your post and found the answer to
our problem.  

The clue is the "Debug|MCD" part of your error message.  For me, it was
"Debug|W3".

The answer is: remove the PLATFORM= environment variable from your system.
That is where it is getting the appendage and causing misery.

Thanks for your help.

CP

>Hi All,
>
[quoted text clipped - 62 lines]
>Time Elapsed 00:00:00.01
>An error occured in BuildLibrary.bat - 1

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.