Hello,
it there any way how to register managed custom tool (in VsPackage) into VS I found ProvideGeneratorAttribute in msdn documentation, but it seems to be missing.
ProvideObjectAttibute do part of the job (regarding docs) but not the main part. I'd like some ProvideXXX attribute even for this.
Thanks in advance

custom tool registration
dobry
Hello,
neither I'm sure, if we speak about the same thing. Too many things is names "custom tool". I mean tool, which you write to "Custom tool" field in File Properties. Like "MSDatasetGenerator".
As far as I know, this to work correctly, needs COM registration (regasm) + few more registry entries. See for example "Registering Custom Tools" in VSSDK. Or look into "Generators" registry entry under VS root. RegAsm know about those as well
But mine original post was about regpkg tool, which is used with VsPackage. I coudn't find atribute for those Generator entries. Found them (2nd post) but, it seems to have a little inconsistent name (not ProvideXXX).
Anyway, thanks alot for response! Hope, this info'll help someone.
Regards,
Salva Madrid
Hello, maliger!
I am not dure I understand what did you mean but if the question was: How to register custom tool and make it available for work The answer is following way:
in example we have
to register custom tools in this assembly in your system:
to remove custom tool from your system:
Hope it will help you. But maybe you meant something differ
v.iyer
I found it:
[
Guid("77BAF5D3-55AA-4878-BB75-D42747562E7D")][ProvideObject(typeof(GDataSetGenerator456), RegisterUsing = RegistrationMethod.CodeBase)]
[CodeGeneratorRegistration(typeof(GDataSetGenerator456), "Gordic C# Code Generator for XSD (456)", "{fae04ec1-301f-11d3-bf4b-00c04f79efbc}", GeneratesDesignTimeSource = true)]
public class GDataSetGenerator456 : BaseCodeGeneratorWithSite
...
Its strange, that CodeGeneratorRegistrationAttribute is not prefixed with "Provide" as many other regpkg attributes.