<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
No, its not that. The same files work on two other PCs. I have now
ensured that all non-hardware exes in Document And Settings, Program
Files and System32 are identical to another PC... its not that. That
leaves the registry. I will try that today.<br>
<br>
Myles Penlington wrote:
<blockquote
cite="mid:74AA9D8C683A2542B20DD5DB15FBF16B7E6E31@ams-ad1.lan.ams.co.nz"
type="cite">
<pre wrap="">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: <a class="moz-txt-link-abbreviated" href="mailto:delphi-bounces@delphi.org.nz">delphi-bounces@delphi.org.nz</a> [<a class="moz-txt-link-freetext" href="mailto:delphi-bounces@delphi.org.nz">mailto:delphi-bounces@delphi.org.nz</a>]
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: <a class="moz-txt-link-abbreviated" href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a>
Admin: <a class="moz-txt-link-freetext" href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a>
Unsubscribe: send an email to <a class="moz-txt-link-abbreviated" href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> 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.
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: <a class="moz-txt-link-abbreviated" href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a>
Admin: <a class="moz-txt-link-freetext" href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a>
Unsubscribe: send an email to <a class="moz-txt-link-abbreviated" href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<title>Signature</title>
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2900.2802" name="GENERATOR">
<div align="left">
<div align="left"><strong><font size="2"><font color="#666666"
face="Verdana">Rohit Gupta</font></font></strong></div>
<div align="left"><strong><font size="2"><font color="#666666"
face="Verdana">
B.E. Elec. M.E. Mem IEEE
Associate IEE</font></font></strong></div>
<div align="left"><strong><font size="2"><font color="#666666"
face="Verdana">Technical Manager</font></font></strong></div>
<div align="left"><strong><font color="#666666" face="Verdana" size="2">Computer
Fanatics Limited</font></strong></div>
<div align="left"><strong></strong> </div>
<div align="left"><font color="#666666" face="Verdana" size="2"><strong>Tel</strong>
+64 9 4892280</font></div>
<div align="left"><font color="#666666" face="Verdana" size="2"><strong>Fax</strong>
+64 9 4892290</font></div>
<div align="left"><font color="#666666"><font face="Verdana" size="2"><strong>Email
</strong></font><a href="mailto:rohit@cfl.co.nz"><font color="#0080ff"
face="Verdana" size="2">rohit@cfl.co.nz</font></a></font><font
color="#666666"><font face="Verdana" size="2"><strong></strong></font></font></div>
<div align="left"><font color="#666666"><font face="Verdana" size="2"><strong>Web
</strong></font><a href="http://www.cfl.co.nz/"><font color="#0080ff"
face="Verdana" size="2">www.cfl.co.nz</font></a></font></div>
<div> </div>
<div>
<hr></div>
<div align="left"><span
style="font-size: 7.5pt; color: rgb(153, 153, 153); font-family: Verdana;"><font
size="1"><span style="font-size: 10pt; font-family: 'Courier New';"
lang="EN-NZ"><font color="#000000"><font color="#808080" face="Verdana"
size="1">This email and any attachments contain information, which is
confidential and may be subject to legal privilege and copyright. If
you are not the intended recipient, you must not use, distribute or
copy this email or attachments. If you have received this in error,
please notify us immediately by return email and then delete this email
and any attachments.</font> <o:p></o:p></font></span></font></span></div>
</div>
</div>
</body>
</html>