Search code examples
c#visual-studio-2013chmsandcastle

How to get Sandcastle to include inherited properties


I have 2 POCO classes for my view model:

public class BaseView
{
    public int Id { get; set; }

    public string Name { get; set; }
}

and

public class FullView : BaseView
{
    public string Reference { get; set; }

    public bool IsActive { get; set; }
}

When I generate a CHM help file using Sandcastle (2014.5.31.0) both are included but the FullView only shows it's 2 properties.

How can I get it to include the BaseView properties that it is inheriting?


Solution

  • Right click the Sandcastle project > Properties > Visibility > Inherited Base Class Members

    sandcastle screenshot