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

Visual Studio 2010 Keyboard Shortcuts.

Visual Studio 2010 Keyboard Shortcuts.


Refer below link for Visual studio 2010 keyboard short cuts.
Different documents as pdf available to download.  

You can easily read and if want to print for stick on your desk board (:D I always do it) you can easily print it.





Posted in | 0 comments

New features in Visual C# in Visual Studio 2012 (C# 5.0).

New features in Visual C# in Visual Studio 2012 (C# 5.0).

    
     Two new features introduce in C# visual studio 2012. 
    1. Async and Await and 
    2. Caller Information. 

  Async and Await.

This feature introduces two new keywords Async and Await. For more details about this features please read below article.

   
  Caller Information.

      Using this feature you can easily get information about the caller of method. You can get details about path of the source code, the line number in the source code and member name of the caller. For more details about this features please read below article.

Posted in | 0 comments