R
RickyJack
Using XML comments with the following code works correctly:
using System;
using System.Runtime.InteropServices;
namespace test
{
//[ClassInterfaceAttribute(ClassInterfaceType.AutoDual)]
/// <summary>Summary description for temp1.</summary>
public class temp1
{
/// <summary></summary>
public temp1() {}
}
}
However, if I uncomment the "//[ClassInterfaceAttribute" line, I get
the following XML comment build errors:
XML comment is not placed on a valid language element
Missing XML comment for publicly visible type or member 'test.temp1'
I need to specify the [ClassInterfaceAttribute so that I can use this
class as a COM component.
Any ideas on how to get XML comments as well as COM Interop??
Thanks,
Rick Webster
using System;
using System.Runtime.InteropServices;
namespace test
{
//[ClassInterfaceAttribute(ClassInterfaceType.AutoDual)]
/// <summary>Summary description for temp1.</summary>
public class temp1
{
/// <summary></summary>
public temp1() {}
}
}
However, if I uncomment the "//[ClassInterfaceAttribute" line, I get
the following XML comment build errors:
XML comment is not placed on a valid language element
Missing XML comment for publicly visible type or member 'test.temp1'
I need to specify the [ClassInterfaceAttribute so that I can use this
class as a COM component.
Any ideas on how to get XML comments as well as COM Interop??
Thanks,
Rick Webster