I received the following error while trying to build a project using NANT 0.84
 
This is the build file I was using.
 
<?xml version="1.0"?>
    <project name="IBE" default="build" basedir=".">
        <description>Build the IBE solution.</description>
        <property name="debug" value="true" />
        <target name="build" description="Build the entire solution">
     <solution configuration="release" solutionfile="ibe.sln">
  <projects>
      <includes name="website"/>
  </projects>
     </solution>
        </target>
    </project>
 
I installed NANT 0.84, and then I "built" NANT (by going to the install directory and typing NANT <Enter>).  Immediately after it was built successfully, I switched to the folder where I had my own source code, and the build file (above), and then I executed NANT using no compiler options (e.g. just NANT <Enter>)
 
The machine on which I executed this is a server running Windows 2000 Server.  It doesn't have Office (or Outlook) installed.  I mention this because of the reference to MAPI.
 
If you need any other information, please let me know.
 
Boban
 
 
 
System.ApplicationException: Couldn't find reference to type library 'MAPI' (TYP
ELIB\{3FA7DEA7-6438-101B-ACC1-00AA00423326}\1.21\0\win32).
   at NAnt.VSNet.Reference.HandleWrapperImport(XmlElement elemReference)
   at NAnt.VSNet.Reference..ctor(Solution solution, ProjectSettings ps, XmlEleme
nt elemReference, SolutionTask solutionTask, String outputDir)
   at NAnt.VSNet.Project.Load(Solution sln, String projectPath)
   at NAnt.VSNet.ProjectFactory.LoadProject(Solution sln, SolutionTask slnTask,
TempFileCollection tfc, String outputDir, String path)
   at NAnt.VSNet.Solution.LoadProjects()
   at NAnt.VSNet.Solution..ctor(String solutionFileName, ArrayList additionalPro
jects, ArrayList referenceProjects, TempFileCollection tfc, SolutionTask solutio
nTask, WebMapCollection webMappings, FileSet excludesProjects, String outputDir)
 
   at NAnt.VSNet.Tasks.SolutionTask.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()
 
Please send bug report to [EMAIL PROTECTED].
 
Total time: 0.2 seconds.

Reply via email to