[DUG] 2007 - wierdness

Rohit Gupta r.gupta at xtra.co.nz
Sun Oct 28 22:29:48 NZDT 2007


Something has happened.  Command line compile works via my usual batch 
file.  However, IDE compile produces the log further down.

Seeing that its using dotnet for win32 compile, I reinstalled dotnet 2.  
I have also reinstalled the Studio in repair mode.  But no luck.


Project "C:\DELFI\VL211\SRC\VETLINK.dproj" (Make target(s)):
Target CoreCompile:
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018: The "DCC" task failed unexpectedly.
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018: System.Runtime.InteropServices.ExternalException: Cannot 
execute a program. The command being executed was 
"E:\WINNT\Microsoft.NET\Framework\v2.0.50727\csc.exe" /noconfig 
/fullpaths @"E:\WINNT\TEMP\f9exnxbi.cmdline".
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at 
System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated(SafeUserTokenHandle 
userToken, String cmd, String currentDir, TempFileCollection tempFiles, 
String& outputName, String& errorName, String trueCmdLine)
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at 
System.CodeDom.Compiler.Executor.ExecWaitWithCapture(SafeUserTokenHandle 
userToken, String cmd, String currentDir, TempFileCollection tempFiles, 
String& outputName, String& errorName, String trueCmdLine)
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at 
Microsoft.CSharp.CSharpCodeGenerator.Compile(CompilerParameters options, 
String compilerDirectory, String compilerExe, String arguments, String& 
outputFile, Int32& nativeReturnValue, String trueArgs)
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at 
Microsoft.CSharp.CSharpCodeGenerator.FromFileBatch(CompilerParameters 
options, String[] fileNames)
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at 
Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters 
options, String[] sources)
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at 
Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters 
options, String[] sources)
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at 
System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource(CompilerParameters 
options, String[] sources)
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at System.Xml.Serialization.Compiler.Compile(Assembly 
parent, String ns, XmlSerializerCompilerParameters xmlParameters, 
Evidence evidence)
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at 
System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] 
xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, 
XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable 
assemblies)
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at 
System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, 
Type[] types, String defaultNamespace, String location, Evidence evidence)
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at 
System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping 
xmlMapping, Type type, String defaultNamespace)
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at System.Xml.Serialization.XmlSerializer..ctor(Type 
type, String defaultNamespace)
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at System.Xml.Serialization.XmlSerializer..ctor(Type type)
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at 
Borland.Build.Tasks.Common.Metadata.TaskFactory.get_Metadata()
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at 
Borland.Build.Tasks.Common.ToolTaskManager.GetMetadata(String name)
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at Borland.Build.Tasks.Common.BaseTask.get_Metadata()
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at Borland.Build.Tasks.Delphi.DCC.TargetOutOfDate()
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at Borland.Build.Tasks.Common.BaseTask.SkipTaskExecution()
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at Microsoft.Build.Utilities.ToolTask.Execute()
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at Borland.Build.Tasks.Common.BaseTask.Execute()
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at Borland.Build.Tasks.Delphi.DCC.Execute()
    
E:\WINNT\Microsoft.NET\Framework\v2.0.50727\Borland.Delphi.Targets(113,3): 
error MSB4018:    at 
Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode 
howToExecuteTask, Hashtable projectItemsAvailableToTask, 
BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& 
taskClassWasFound)
Done building target "CoreCompile" in project "VETLINK.dproj" -- FAILED.
Done building project "VETLINK.dproj" -- FAILED.
Build FAILED.


More information about the Delphi mailing list