Monday, November 5, 2012

Suppress Warnings in XML comments (Visual Studio)

If we've checked the "XML documentation file" mark in the Visual Studio project settings, a XML file containing all XML comments is created. Additionally we'll get a lot of warnings also in designer generated files, because of the missing or wrong XML comments. While sometimes warnings helps us to improve and optimize our code but not the case all times.

Warnings

Missing XML comment for publicly visible type or member --- XML comment on --- has a param tag for "---", but there is no parameter by that name Parameter "---" has no matching param tag in the XML comment for "---"

Solution

We can suppress every warning in Visual Studio.
- In Visual Studio Right-click the the specific project / Properties / Build Tab
- Insert the following warning numbers in the "Suppress warnings": 1591,1572,1571,1573,1587,1570

Saturday, November 3, 2012

Back/Left arrow key not working on keyboard after windows 8 install

I was having an issue getting the left/back arrow key to work after installing Windows 8.   The key works neither on the metro screen, nor the desktop.  I have tried other known working keyboards as well and all have this issue.  I have also tried the keyboards on other non-windows 8 computers and they work fine.  One interesting point to note is that if you are highlighting something by holding down Shift, or Ctrl + Shift the left arrow key will work just fine for that, regardless of the keyboard.

Well for your information this issue is not in Windows 8 it arises if we start some start menu utility like I installed IObit StartMenu8. I uninstalled it and the left arrow key works fine again.
you can test it by just right click on the start menu and click on exit ant key will work fine

I recommend this https://www.pokki.com/windows-8-start-menu

I hope it helps....


Thursday, November 1, 2012

SQL Server 2008 R2 IntelliSense not working

I had the same issue, that intellisense did not work on SQL Server 2008 R2 There might be different reasons.
  • One of the reason for this behavior can be a database switched offline. When  switched all databases online, intellisense worked (after i refreshed the local cache if it is caused by this reason).
  • Another check you should check if your IntelliSense is enabled in the Query Drop down menu it'll be visible if you open a query window confirm it is enabled.
  • You should refresh you local cache from Edit menu then IntelliSense and then click on Refresh Local Cache or shortcut key is Ctrl + Shift + R
if still its not working

I hope this'll fix your problem thanks for reading...