Hi Mike,
I got the vb.doc task to work fine. Where are you getting the syntax error ? in your vb code when vbdoc processes it or somewhere else ?


The build file I used looks somthing like :

<target name="build">
<solution configuration="debug" solutionfile="WindowsApplication1.sln" />
<vbdoc optionsfile="winapp1.vbc" />
<ndoc> <assemblies basedir=".">
<includes name="WindowsApplication1.exe" />
</assemblies>
<documenters>
....


note that if you are using a nightly build of nant you will need to rebuild the vb.doc task from source. To do so you will need to apply the attached diff. The current vb.doc release is targeted at nant 0.84.

A couple of things to note - In future please explain exactly where things are failing and attach the console output so that readers of this list will have all the required information to answer your question. Secondly provide links for references. This is the first time I've heard of VB.Doc - which looks like a great tool btw. Sure I googled for it but I shouldn't have to. Thirdly VB.DOC is a seperate project to nant so if you are finding problems with it they might be better addressed by the VB.Doc developers. See the forum at http://sourceforge.net/forum/forum.php?forum_id=184850

thanks

Ian


Michael A. Angelo wrote:


Does anyone have a clue as to how I can get my .xml doc file to be created
with Nant? I tried the VB.DOC nant task, but it looks like it may be broken.
I am getting a syntax error on line 1 when I try the VB.DOC Nant task.

Any other suggestions?

TIA

Mike.



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&opĚk
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users




--
Ian MacLean, Developer, ActiveState, a division of Sophos
http://www.ActiveState.com


--- VBDOCTask.cs        2003-12-29 12:40:08.000000000 +0900
+++ VBDOCTaskupdated.cs 2004-04-14 11:03:32.000000000 +0900
@@ -198,11 +198,11 @@
 
                                for(int i=0;i<sources.FileNames.Count;i++)
                                {
-                                       options.Files[i] = 
Path.Combine(sources.BaseDirectory, sources.FileNames[i]);
+                                       options.Files[i] = 
Path.Combine(sources.BaseDirectory.FullName, sources.FileNames[i]);
                                }
                                
                                for(int 
i=0;i<referencedirectories.DirectoryNames.Count;i++) {
-                                       options.ReferenceDirectories[i] = 
Path.Combine(referencedirectories.BaseDirectory, 
referencedirectories.DirectoryNames[i]);
+                                       options.ReferenceDirectories[i] = 
Path.Combine(referencedirectories.BaseDirectory.FullName, 
referencedirectories.DirectoryNames[i]);
                                }
                                
                                if(rootnamespace != null) {

Reply via email to