Bugs item #1670166, was opened at 2007-02-27 11:26
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1670166&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Shane Faulkner (muglio)
Assigned to: Nobody/Anonymous (nobody)
Summary: SOLUTION TASK ERROR

Initial Comment:
Background:

    We have a central build server running the latest and greatest version of 
nant and it is failing to compile one of our projects. I have created a scaled 
down test project and I am able to recreate this error. It builds fine in 
VS.NET 2003 (7.1) but will not build with nant. I have included a detailed 
build log built with the -verbose -debug+ options. It is called buildLog and is 
contained within the provided zip in the root directory. 



Speculation:
    On line 302 of the buildLog it appears as if it is needing to recompile 
Interop.VBD.dll.

               [tlbimp] 'C:\JIWordProject\JIWordProject\obj\Interop.VBIDE.dll' 
has been updated, recompiling.
               [tlbimp] Starting 'C:\Program Files\Microsoft Visual Studio 
8\SDK\v2.0\bin\tlbimp.exe ("C:\Program Files\Common Files\Microsoft 
Shared\OFFICE11\MSO.DLL" 
/out:"C:\JIWordProject\JIWordProject\obj\Interop.Office.dll" /nologo 
/namespace:"Office" /sysarray /transform:"dispret" /verbose 
/reference:"C:\JIWordProject\JIWordProject\obj\Interop.Office.dll" 
/reference:"C:\JIWordProject\JIWordProject\obj\Interop.VBIDE.dll")' in 
'C:\JIWordProject'

It appears if the external call to tlbimp is never releasing the required 
dll's. Subsequently on line 547 of the build log it fails trying to link in 
Interop.Office.dll. I'm assuming because this resource is still busy.

[tlbimp] TlbImp : error TI0000 : System.UnauthorizedAccessException - Access to 
the path 'C:\JIWordProject\JIWordProject\obj\Interop.Office.dll' is denied.




Summary Error Message:

External Program Failed: C:\Program Files\Microsoft Visual Studio 
8\SDK\v2.0\bin\tlbimp.exe (return code was 100):
NAnt.Core.BuildException: External Program Failed: C:\Program Files\Microsoft 
Visual Studio 8\SDK\v2.0\bin\tlbimp.exe (return code was 100)
   at NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask()
   at NAnt.Win32.Tasks.TlbImpTask.ExecuteTask()
   at NAnt.Core.Task.Execute()
   at NAnt.VSNet.ManagedWrapperReference.ImportTypeLibrary()
   at NAnt.VSNet.WrapperReferenceBase.CreateWrapper(ConfigurationBase config)
   at NAnt.VSNet.WrapperReferenceBase.GetAssemblyReferences(String 
solutionConfiguration)
   at NAnt.VSNet.ManagedProjectBase.CompileResXFiles(String 
solutionConfiguration)
   at NAnt.VSNet.ManagedProjectBase.Build(String solutionConfiguration)
   at NAnt.VSNet.ProjectBase.Compile(String solutionConfiguration)
   at NAnt.VSNet.SolutionBase.Compile(String solutionConfiguration)
   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()

Total time: 0.6 seconds.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1670166&group_id=31650

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to