Hello!
When I documenting dataset derived class with built-in NDoc, the documenting process
fail:
"C:\Projects\DataSet\Foo.build(19,10): Error reflecting against the Foo.dll assembly:
Exception has been thrown by the target of an invocation."
If I send the nant created temp file (C:\DOCUME~1\guba\LOCALS~1\Temp\tmp11.tmp'). to
the NDocConsole.exe, the documenting is success.
?
Regards,
Guba
----------------------------------------------------------------------------------------------------------------
Build message:
----------------------------------------------------------------------------------------------------------------
C:\Projects\DataSet>nant -verbose
Buildfile: file:///C:/Projects/DataSet/Foo.build
Base Directory: C:\Projects\DataSet
Internal:
Build:
[csc] Compiling 1 files to C:\Projects\DataSet\Foo.dll
[csc] Contents of C:\DOCUME~1\guba\LOCALS~1\Temp\tmpE.tmp
/fullpaths
"/doc:Foo.xml"
/debug
"/define:DEBUG"
"/define:TRACE"
/nologo
"/target:library"
"/out:C:\Projects\DataSet\Foo.dll"
"C:\Projects\DataSet\Foo.cs"
[csc] C:\Projects\DataSet>C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\csc.exe
@C:\DOCUME~1\guba\LOCALS~1\Temp\tmpE.tmp
InternalNDoc:
[ndoc] Writing project settings to 'C:\DOCUME~1\guba\LOCALS~1\Temp\tmp11.tmp'.
NDoc project file: file://C:\DOCUME~1\guba\LOCALS~1\Temp\tmp11.tmp
[ndoc] Initializing...
[ndoc] Merging XML documentation...
[ndoc] Error building documentation.
BUILD FAILED
C:\Projects\DataSet\Foo.build(19,10): Error reflecting against the Foo.dll assembly:
Exception has been thrown by the target of an invocation.
Try 'nant -help' for more information
C:\Projects\DataSet>
----------------------------------------------------------------------------------------------------------------
Foo.Cs:
----------------------------------------------------------------------------------------------------------------
using System.Data;
namespace Foo
{
/// <summary>
/// FooClass
/// </summary>
public class FooClass: DataSet
{
}
}
----------------------------------------------------------------------------------------------------------------
Foo.Build:
----------------------------------------------------------------------------------------------------------------
<?xml version="1.0"?>
<project name="Foo.Build" default="Internal" basedir=".">
<target name="Internal">
<call target="Build"/>
<call target="InternalNDoc"/>
</target>
<target name="Build">
<csc target="library" output="Foo.dll" doc="Foo.xml" debug="true">
<sources>
<includes name="Foo.cs"/>
</sources>
</csc>
</target>
<target name="InternalNDoc">
<ndoc>
<assemblies basedir=".">
<includes name="Foo.dll"/>
</assemblies>
<documenters>
<documenter name="MSDN">
<property name="OutputDirectory" value="DOC" />
<property name="HtmlHelpName" value="Foo" />
<property name="HtmlHelpCompilerFilename" value="hhc.exe" />
<property name="IncludeFavorites" value="False" />
<property name="Title" value="An NDoc Documented Class Library" />
<property name="SplitTOCs" value="False" />
<property name="DefaulTOC" value="" />
<property name="ShowVisualBasic" value="True" />
<property name="ShowMissingSummaries" value="True" />
<property name="ShowMissingRemarks" value="True" />
<property name="ShowMissingParams" value="True" />
<property name="ShowMissingReturns" value="True" />
<property name="ShowMissingValues" value="True" />
<property name="DocumentInternals" value="False" />
<property name="DocumentProtected" value="True" />
<property name="DocumentPrivates" value="False" />
<property name="DocumentEmptyNamespaces" value="False" />
<property name="IncludeAssemblyVersion" value="False" />
<property name="CopyrightText" value="" />
<property name="CopyrightHref" value="" />
</documenter>
</documenters>
</ndoc>
</target>
</project>
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users