Repository navigation
Question : Can not find BaseOptionPage and BaseOptionModel #529
|
Hi, I tried to add option to my extension but using System.ComponentModel;
using System.Runtime.InteropServices;
using Community.VisualStudio.Toolkit;
namespace CopyLineNumber
{
internal partial class OptionsProvider
{
// Register the options with this attribute on your package class:
// [ProvideOptionPage(typeof(OptionsProvider.General1Options), "CopyLineNumber", "General1", 0, 0, true, SupportsProfiles = true)]
[ComVisible(true)]
public class General1Options : BaseOptionPage<General1> { }
}
public class General1 : BaseOptionModel<General1>
{
[Category("General")]
[DisplayName("Use relative path")]
[Description("Use relative path from the solution.")]
[DefaultValue(false)]
public bool UseRelativePath { get; set; } = false;
}
}Any help will be greatly appreciated. Harry. |
Answered by
RobertvanderHulst
Nov 15, 2024
Replies: 1 comment 3 replies
|
What is the .Net Framework version of your extension? |
3 replies
Answer selected by
phg98
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the .Net Framework version of your extension?
The toolkit expects 4.8