You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use this in an exsting extension, but getting build errors - what am I doing wrong?
CreatePkgDef : error : ArgumentException: The page class EFCorePowerTools.AdvancedOptions must derive from DialogPage.
at Microsoft.VisualStudio.Shell.ProvideOptionDialogPageAttribute..ctor(Type pageType, String pageNameResourceId)
at Microsoft.VisualStudio.Shell.ProvideOptionPageAttribute..ctor(Type pageType, String categoryName, String pageName, Int16 categoryResourceID, Int16 pageNameResourceID, Boolean supportsAutomation, String[] keywords)
at Microsoft.VisualStudio.Shell.ProvideOptionPageAttribute..ctor(Type pageType, String categoryName, String pageName, Int16 categoryResourceID, Int16 pageNameResourceID, Boolean supportsAutomation)
at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs)
at System.Reflection.CustomAttribute.CreateCaObject(RuntimeModule module, IRuntimeMethodInfo ctor, IntPtr& blob, IntPtr blobEnd, Int32& namedArgs)
at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes, Boolean isDecoratedTargetSecurityTransparent)
at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit)
at Microsoft.VisualStudio.Tools.CreatePkgDef.ProcessAssembly(String fileName, Hive hive, PkgDefContext context, Boolean register, RegistrationMode mode)
at Microsoft.VisualStudio.Tools.CreatePkgDef.DoCreatePkgDef(InputArguments inputArguments)
at Microsoft.VisualStudio.Tools.CreatePkgDef.Main(String[] arguments) EFCorePowerTools
internal class OptionsProvider
{
[ComVisible(true)]
public class AdvancedOptions : BaseOptionPage<EFCorePowerTools.AdvancedOptions> { }
}
public class AdvancedOptions : BaseOptionModel<AdvancedOptions>, IRatingConfig
{
The text was updated successfully, but these errors were encountered:
I am trying to use this in an exsting extension, but getting build errors - what am I doing wrong?
The text was updated successfully, but these errors were encountered: