[DUG] 2007 - wierdness

Myles Penlington myles at ams.co.nz
Mon Oct 29 08:58:36 NZDT 2007


Looks like it is trying to compile it as a C# file?
Suggest you look in the dproj file and check it's contents.

Myles.


-----Original Message-----
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz]
On Behalf Of Rohit Gupta
Sent: Sunday, 28 October 2007 10:30
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] 2007 - wierdness

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(SafeU
serTokenHandle 
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.ICodeCompil
er.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(Compil
erParameters 
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.
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe

Attention:
This communication is confidential and may be legally privileged.  If you are not the intended recipient, please do not use, disclose, copy or distribute it, other than to return it to us with your confirmation that it has been deleted from your system.



More information about the Delphi mailing list