View Single Post
  #1  
Old 11-14-2006, 09:23 AM
teognost teognost is online now
Registered User
 
Join Date: 05-25-2004
Location: Prague,Czech Republic
Posts: 200
Error while building VS2005 solution with VisBuild

Hi

When building a VS2005 solution(ExchangeDataService.sln) with VisualBuild->I receive some compilation errors like below.

When building it into VS2005 ->everything is ok.

I guess the order of building the projects is different in VisBuild than in VS 2005->this would cause the errors like :

CSC : error CS0006: Metadata file 'E:\NGBuilds\ffng\bin\Debug\MyComp.Gateway.Iface.d ll' could not be found

As normally the MyComp.Gateway.Iface should be built before MyComp.Gateway.Common.

Why VisBuild would compile the projects in wrong order (not like in VS2005)?

How can I build this solution succesfully in VBuild?



//***********************************

Rebuilding configuration 'Debug|Any CPU'...

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.



__________________________________________________

Project "E:\NGBuilds\ffng\ExchangeGateway\ExchangeDataServ ice.sln" (rebuild target(s)):

__________________________________________________

Project "E:\NGBuilds\ffng\ExchangeGateway\ExchangeDataServ ice.sln" is building "E:\NGBuilds\ffng\ExchangeGateway\MyComp.Gateway.C ommon\MyComp.Gateway.Common.csproj" (Rebuild target(s)):



C:\WINXP\Microsoft.NET\Framework\v2.0.50727\Csc.ex e /noconfig /nowarn:1701,1702 /errorreport:prompt /warn:4 /define:DEBUG;TRACE /reference:E:\NGBuilds\ffng\bin\Debug\MyComp.Common Lib.dll /reference:E:\NGBuilds\ffng\bin\Debug\MyComp.Gatewa y.Iface.dll /reference:E:\NGBuilds\ffng\bin\Debug\MyComp.Gatewa y.Iface.Helpers.dll /reference:E:\NGBuilds\ffng\bin\debug\MyComp.Manage ment.dll /reference:E:\NGBuilds\ffng\bin\debug\MyComp.Manage ment.Iface.dll /reference:E:\NGBuilds\ffng\bin\Debug\MyComp.MBC.If ace.dll /reference:E:\NGBuilds\ffng\bin\Debug\MyComp.Messag ing.dll /reference:E:\NGBuilds\ffng\bin\Debug\MyComp.NG.Ser ializationLib.dll /reference:E:\NGBuilds\ffng\bin\Debug\MyComp.Perfor mance.dll /reference:E:\NGBuilds\ffng\bin\Debug\MyComp.SDS.He lpers.dll /reference:E:\NGBuilds\ffng\bin\Debug\MyComp.Transl atorGen.dll /reference:..\..\3rdPartyLibs\log4net\log4net.dll /reference:C:\WINXP\Microsoft.NET\Framework\v2.0.50 727\System.Data.dll /reference:C:\WINXP\Microsoft.NET\Framework\v2.0.50 727\System.dll /reference:C:\WINXP\Microsoft.NET\Framework\v2.0.50 727\System.Messaging.dll /reference:C:\WINXP\Microsoft.NET\Framework\v2.0.50 727\System.Xml.dll /debug+ /debug:full /optimize- /out:obj\Debug\MyComp.Gateway.Common.dll /target:library Common\AsyncCallDispatcheThread.cs Common\CollectionWrapper.cs Common\DataStorage.cs Common\GatewayPerformanceCounters.cs Common\ISubsystemManagement.cs Common\OGPerformance.cs Properties\AssemblyInfo.cs ServiceMonitor.cs Triggers\MarketTriggersStorage.cs Triggers\PriceTriggerStorage.cs

CSC : error CS0006: Metadata file 'E:\NGBuilds\ffng\bin\Debug\MyComp.Gateway.Iface.d ll' could not be found

CSC : error CS0006: Metadata file 'E:\NGBuilds\ffng\bin\Debug\MyComp.Gateway.Iface.H elpers.dll' could not be found

CSC : error CS0006: Metadata file 'E:\NGBuilds\ffng\bin\debug\MyComp.Management.dll' could not be found

CSC : error CS0006: Metadata file 'E:\NGBuilds\ffng\bin\debug\MyComp.Management.Ifac e.dll' could not be found

CSC : error CS0006: Metadata file 'E:\NGBuilds\ffng\bin\Debug\MyComp.Performance.dll ' could not be found

CSC : error CS0006: Metadata file 'E:\NGBuilds\ffng\bin\Debug\MyComp.SDS.Helpers.dll ' could not be found

Done building project "MyComp.Gateway.Common.csproj" -- FAILED.

__________________________________________________

Project "E:\NGBuilds\ffng\ExchangeGateway\ExchangeDataServ ice.sln" is building "E:\NGBuilds\ffng\ExchangeGateway\MyComp.Gateway.D iagnostics\MyComp.Gateway.Diagnostics.csproj" (Rebuild target(s)):



C:\WINXP\Microsoft.NET\Framework\v2.0.50727\Csc.ex e /noconfig /nowarn:1701,1702 /errorreport:prompt /warn:4 /define:DEBUG;TRACE /reference:E:\NGBuilds\ffng\bin\Debug\MyComp.Gatewa y.Iface.dll /reference:E:\NGBuilds\ffng\bin\debug\MyComp.Manage ment.Iface.dll /reference:E:\NGBuilds\ffng\bin\Debug\MyComp.MBC.If ace.dll /reference:E:\NGBuilds\ffng\bin\Debug\MyComp.Messag ing.dll /reference:E:\NGBuilds\ffng\bin\Debug\MyComp.NG.Ser ializationLib.dll /reference:E:\NGBuilds\ffng\bin\Debug\MyComp.Transl atorGen.dll /reference:..\..\3rdPartyLibs\log4net\log4net.dll /reference:C:\WINXP\Microsoft.NET\Framework\v2.0.50 727\System.Data.dll /reference:C:\WINXP\Microsoft.NET\Framework\v2.0.50 727\System.dll /reference:C:\WINXP\Microsoft.NET\Framework\v2.0.50 727\System.Xml.dll /debug+ /debug:full /optimize- /out:obj\Debug\MyComp.Gateway.Diagnostics.dll /target:library CompareResult.cs DiagnosticDataCollector.cs DiagnosticCheckConsistencyResult.cs DiagnosticLogger.cs DiagnosticReciever.cs DiagnosticSender.cs GroupedItems.cs MarketServerSnapshot.cs Properties\AssemblyInfo.cs DiagnosticCompareResult.cs

CSC : error CS0006: Metadata file 'E:\NGBuilds\ffng\bin\Debug\MyComp.Gateway.Iface.d ll' could not be found

CSC : error CS0006: Metadata file 'E:\NGBuilds\ffng\bin\debug\MyComp.Management.Ifac e.dll' could not be found

Done building project "MyComp.Gateway.Diagnostics.csproj" -- FAILED.



Process completed with exit code 1

11/14/2006 3:32:21 PM: Step 'Exchange Gateway' failed
Reply With Quote