Visual Studio Code is fast lightweight code editor, but there’s one problem that totally bugs me.
'Property Declarations' can only be used in a .ts file (Visual Studio Code)
This generates a bunch of malformed errors in syntax detection in the image shown below. If you are facing this issue in Visual Studio Code (v1.5.2), it is because of TS1.8.1. Here’s how to solve it: Install typescript into your project workspace
npm install typescript@next --save-dev
… Read more →
In Visual Studio 2005, references to the System.Data and System.Xml are automatically added when new class files are created. This happens even when you do not use Data or Xml at all. Why should you always manually remove these references from your project after adding new classes? Time to remove them permanently. Read more →
When trying to nest usercontrols, the child usercontrol sometimes disappears off the parent usercontrol. This is a commonly reported bug on the internet, and there’s a hotfix FIX:#842706 for vs2003 but not for vs2005, and its extremely annoying. What happens is that after placing the MyControl on your MyForm.designer.cs, it just disappears when you save MyParentControl in wysiwyg mode.
For me, the problem occurs because the Component Designer auto-validates & re-generates your MyParentControl.designer.cs code again. And, if your MyControl constructor requires initializing parameters, vs2005 will just delete that instantiation in MyParentControl.designer.cs. Read more →
User controls when placed in the same project in visual studios some times don’t appear on your toolbar. Recently had this experience when loading up some code on another workstation. Here’s how to fix it. Read more →