List of all Ids for Icon for AddNamedCommand2 (Visual Studio Add-In).


List of all Ids for Icon for AddNamedCommand2 (Visual Studio Add-In).

Hello Frd's

Below is most of list of icon which used in Visual Studio Add-In Icon.

Command command = commands.AddNamedCommand2(_addInInstance,
"MyAddin1", "MyAddin1", "Executes the command for MyAddin1",
true, 59, ref contextGUIDS, (int)vsCommandStatus.
vsCommandStatusSupported+(int)vsCommandStatus.
vsCommandStatusEnabled, (int)vsCommandStyle.
vsCommandStylePictAndText, vsCommandControlType
.vsCommandControlTypeButton);

In this number six Argument is for Icon, You can take from below list.



































Posted in | 0 comments

Visual Studio Warning : Missing XML comment for publicly visible type or member

Missing XML comment for publicly visible type or member 


You are getting this warning because your publicly visible types and members do not contains XML comment. You can disable this warning message by "Turn off the comment generation (in project properties)" but Best practice is to include comment in each publically visible types and members.


Add XML comments as shown below.

///<Summary>
/// gets the answer
///</Summary>
Public string Method()
{
   return "Now I am not getting, Missing XML comment for publicly visible    type or member ";
}



Why to include comments.
You are getting this error because your Visual studio editor set project to output documentation xml file (in the project settings). This is useful for class libraries (.dll assemblies) which mean users of your .dll are getting intelligence documentation for your API right there in visual studio.



Posted in | 0 comments

The type or namespace '' does not exist in the class or namespace '' (are you missing an assembly reference?)

The type or namespace '<namespace name>' does not exist in the class or namespace '<parent namespace>' (are you missing an assembly reference?)

You need to add a reference in your project to an assembly where that namespace is defined.

If you are using VS.NET:

1.  Right click on the References folder on your project.

2.  Select Add Reference.

3.  Select the .NET tab (or select the Browse button if it is not a .NET Framework assembly).

4.  Double-click the assembly containing the namespace in the error message.

5.  Press the OK button.


Posted in | 0 comments