Thanks,
Evan A. Bonnett
Reynolds & Reynolds,
IT
ERA Integrated Desking Development
937-485-8577
Confidentiality Statement:
this message is confidential and may contain
confidential information. it is intended only for the individual[s] named
herein. If this message is being sent from a member of the legal department, it
may also be legally privileged. if you are not the named addressee[s] you must
delete this email immediately. do not disseminate, distribute or copy.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Todd, Craig M
Sent: Thursday, March 17, 2005 3:29 PM
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] CodeDomProvider for C# could not be createdGuys,
I get this when I call a target that contains a <script language="c#"> tag. Any ideas? My build scripts work on my box but now I'm trying to get them working on the build box. I have downloaded the latest stable build for nant and nantcontrib.
Thanks,
Evan
CodeDomProvider for 'c#' could not be created.:
NAnt.Core.BuildException: D:\Projects\Generations Series\EID\3.1\NAntBuild\Project.build(90,4):
CodeDomProvider for 'c#' could not be created. ---> System.TypeLoadException: Could not load type c# from assembly NAnt.DotNetTasks, Version=0.85.1869.0, Culture=neutral, PublicKeyToken=null.
at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at NAnt.DotNet.Tasks.ScriptTask.CreateCompilerInfo(String language)
--- End of inner exception stack trace ---
at NAnt.DotNet.Tasks.ScriptTask.CreateCompilerInfo(String language)
at NAnt.DotNet.Tasks.ScriptTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Tasks.CallTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Tasks.CallTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.TaskContainer.ExecuteChildTasks()
at NAnt.Core.Tasks.LoopTask.ExecuteChildTasks()
at NAnt.Core.Tasks.LoopTask.DoWork(String[] propVals)
at NAnt.Core.Tasks.LoopTask.DoWorkOnFileLines(String filename)
at NAnt.Core.Tasks.LoopTask.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()Total time: 2.5 seconds.
Evan Bonnett