Question

Nithin Kamble on Tue, 27 May 2014 09:29:20


I was able to extend the Project Property pages of the project created in my Visual Studio Extension project (VSIX), from here.

However, the property pages I obtained from this was like:

But I'd like to get my property pages in this style:

Can someone help me to achieve this? 

C# help would be nice :)

Replies

Amanda Zhu on Wed, 28 May 2014 06:07:03


Hi,

I moved this thread to Visual Studio Integrate forum for bette support because your issue is more related to project properties page extension.

Thanks,

Ed Dore on Wed, 28 May 2014 18:52:31


Hi Crystal,

You should be able to use the project designer instead of the dialog, by setting the SupportsProjectDesigner property to true, in your custom project node's constructor.

For example:

public MyCustomProjectNode(CustomProjectPackage package)
{
    this.package = package;
    InitializeImageList();
    this.CanProjectDeleteItems = true;
    this.SupportsProjectDesigner = true; }

However, with the later MPF_Proj codebase, there is a known bug that causes an InvalidCastException to be thrown, and you'll need to modified the underlying ProjectDesignerDocumentManager.cs file to fix that, as described in the above link.

Sincerely,

Nithin Kamble on Thu, 29 May 2014 06:15:48


Thanks Ed, worked like a charm!


hakdag on Sun, 05 Oct 2014 08:05:40


Please take a look at this question also:

VSIX Identifier issue