i’m trying to do this:
#region COM Registration Methods
/// <summary>
/// Performs COM and GAC registration services
/// </summary>
/// <param name="type"></param>
[ComRegisterFunction]
public static void RegisterServer(Type type)
{
// Create a new registry tools object
RegistryTools registry = new RegistryTools()
{
Hive = PluginHive
};
in my C# project in VS2010 and it give me this error
“Error 1 The type or namespace name ‘RegistryTools’ could not be found (are you missing a using directive or an assembly reference?)”
I look for the references, but i don’t find anything.
Can anyone help?
Thanks
already figured out how to solve the problem. I use this insted:
RegistryKey clsidkey = Registry.ClassesRoot.CreateSubKey(key);