Error when generating Operators

Oct 14, 2010 at 9:12 AM

error message:

  Info: BuildAssembler: Building topic Methods.T:ClassLibrary.CustomException
  Warn: SharedContentComponent: Missing shared content item. Tag:'include'; Id:'nsrtitle'.
  Warn: SharedContentComponent: Missing shared content item. Tag:'include'; Id:'feedbackheader'.
  Warn: SharedContentComponent: Missing shared content item. Tag:'include'; Id:'nsrtitle'.
  Warn: SharedContentComponent: Missing shared content item. Tag:'include'; Id:'feedbackheader'.
  Info: BuildAssembler: Building topic Operators.T:ClassLibrary.CustomException
  Warn: SharedContentComponent: Missing shared content item. Tag:'include'; Id:'operatorstopictitle'.
  Warn: SharedContentComponent: Missing shared content item. Tag:'includeAttribute'; Id:'operatorsindexentry'.
  Warn: SharedContentComponent: Missing shared content item. Tag:'include'; Id:'operatorstopictitle'.
BUILDASSEMBLER : error : SharedContentComponent: Error replacing item.
    Last step completed in 00:03:24.6607
-------------------------------

SHFB: Error BE0043: Unexpected error detected in last build step.  See output above for details.

my class has codes as below:

        public static bool operator >(CustomException t1, CustomException t2)
        {
            return true;
        }

        public static bool operator <(CustomException t1, CustomException t2)
        {
            return true;
        }

if I remove the codes of Operators , shfb will build successfully.

Coordinator
Oct 14, 2010 at 7:17 PM

The warnings and the error are the same as you were getting in this post: http://shfb.codeplex.com/Thread/View.aspx?ThreadId=227589

My answer is the same as it was in that thread.

Eric