[DUG] 2007 - wierdness
Rohit Gupta
rohit at cfl.co.nz
Tue Oct 30 10:52:01 NZDT 2007
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.
Myles Penlington wrote:
> 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.
>
> _______________________________________________
> 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
>
>
>
--
*Rohit Gupta*
* B.E. Elec. M.E. Mem IEEE Associate IEE*
*Technical Manager*
*Computer Fanatics Limited*
**
*Tel* +64 9 4892280
*Fax* +64 9 4892290
*Email *rohit at cfl.co.nz <mailto:rohit at cfl.co.nz>**
*Web *www.cfl.co.nz <http://www.cfl.co.nz/>
------------------------------------------------------------------------
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.adventureeducation.co.nz/pipermail/delphi/attachments/20071030/b04659cb/attachment.html
More information about the Delphi
mailing list