I'm the author of a small os vs2015 extension (AsmDude) and my users complain that the options pages are only visible after disabling the extension, restarting visual studio, enabling the extension and restarting again.
1] I have sifted through many tutorials, examples and manuals on how to use the ProvideOptionPage attribute properly, but nothing helped.
2] I have run devenv.exe with /LOG, but nothing strange comes up.
3] I have cleaned all registry entries that this plugin makes, but no fix.
4] The problem exists on clean installs of visual studio 2015 (sp2)
Next are some code snipets:
[PackageRegistration(UseManagedResourcesOnly = true)] [InstalledProductRegistration("AsmDude", Vsix.Description, Vsix.Version)] [ProvideAutoLoad(UIContextGuids.NoSolution)] [Guid(Guids.GuidPackage_str)] [ComVisible(true)] [ProvideOptionPage(typeof(OptionsPageSyntaxHighlighting), "AsmDude", "Syntax Highlighting", 0, 0, true)] public sealed class AsmDudePackage : Package { //snip
}[Export(typeof(DialogPage))]
[Guid(Guids.GuidOptionsPageSyntaxHighlighting)]
public class OptionsPageSyntaxHighlighting : DialogPage {
// snip
}
Question: how to debug this, there must be a warning or error message logged somewhere.
Regards!