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