Sandcastle没有添加param文档

时间:2010-12-27 00:38:36

标签: .net visual-studio-2010 documentation sandcastle

我的方法如下

    ''' <summary>
    ''' Adds the activity.
    ''' </summary>
    ''' <param name="userid">An  that is derived from the <see cref="Domain.User.ID" /></param>
    ''' <param name="activity">The activity integer that is to be derived from the <see cref="ActivityLogService.LogType" />.</param>
    ''' <param name="ip">An IP V4 IP Address.</param>integer
    ''' <remarks></remarks>
    Public Sub AddActivity(ByVal userid As Integer, ByVal activity As Integer, ByVal ip As String) Implements IActivityLogService.AddActivity
        Dim _activity As ActivityLog = New ActivityLog
        _activity.Activity = activity
        _activity.UserID = userid
        _activity.UserIP = ip.IPAddressToNumber
        _activity.ActivityDate = DateTime.UtcNow

        ActivityLogRepository.AddActivity(_activity)
    End Sub

但是当我运行Sandcastle时,我的文档最终看起来像这样

  

用户标识   类型:System .. :: .. Int32

     

[缺少“M:myapp.Core.Domain.ActivityLogService.AddActivity(System.Int32,System.Int32,System.String)”的文档。]

     

活性   类型:System .. :: .. Int32

     

[缺少“M:myapp.Core.Domain.ActivityLogService.AddActivity(System.Int32,System.Int32,System.String)”的文档。]

     

IP   键入:System .. :: .. String

     

[缺少“M:myapp.Core.Domain.ActivityLogService.AddActivity(System.Int32,System.Int32,System.String)”的文档。]

我做错了什么?

1 个答案:

答案 0 :(得分:4)

好的,我明白了。我将构建设置为“发布”,而Sandcastle正在选择没有新注释的“旧”调试版本。