>I'm having trouble generating a COM component from C#. It looks like I'm doing everything right:
>
>- public class and public methods
>- using System.Runtime.InteropServices
>- Checked "Register for COM interop" in the project's Build configuration
>
>but I can't see the component in VFP.
>
>Any ideas on what's wrong?
Did you use the ClassInterface / ProgId attributes on your class?
ex.
[ClassInterface(ClassInterfaceType.AutoDual)]
[ProgId("MyProject.MyClass")]
public class SomeClass
{
}