How to fix VS Code Canvas IntelliSense problem

When working on JavaScript files that use HTML Canvas Context in either VS Code editor or Visual Studio IDE, we might notice that IntelliSense is not able to provide us with the AutoComplete suggestions for the "Canvas Context" type. In this post, we are going to learn two solutions to this problem.

Visual Studio: How to fix missing blank solution template

Visual Studio allows us to create a blank solution when creating a new project. But it seems that for some users, the blank solution is missing from the list of templates. In this tutorial, we are going to learn two different solutions to this problem. First, we will manually create a .sln solution file, and in the other solution, we will install a component using Visual Studio Installer.

MonoGame: Fixing type or namespace name 'Xna' does not exist error

I wanted to play around with game development the other day, so I looked around for a decent .NET Game Framework and decided to go with the MonoGame framework. After installing it, I used the MonoGame OpenGL template to create a project in Visual Studio. Unfortunately, the build failed with the "The type or namespace name 'Xna' does not exist" error, but fortunately, the solution was straightforward and is the focus of this post.

ASP.NET MVC : How to fix razor view error - type or namespace could not be found

Recently, I was working on an ASP.NET MVC project using Visual Studio and the web project had strongly-typed views that were using model classes located in another class project in the same solution. The project itself got built successfully and was running fine until it tried to show those views, it returned the Compilation Error saying that the type or namespace name could not be found. In this article, I will show you what I tried and how I finally solved the problem.

VS : How to solve Could not load file or assembly Newtonsoft.Json error

I was working on my ASP.NET MVC application recently and I needed to do some serialization/deserialization work on JSON data. I chose to use Json.NET, a very popular JSON framework for .NET. The problem was that when I ran the application, I was getting an exception telling me that the Newtonsoft.Json could not be loaded due to the assembly's manifest definition not matching the assembly reference. In this article, I will show you what I tried and how I managed to solve the problem.

How to fix stuck Visual Studio 2015 installation problem

Visual Studio Community 2015 is the free edition of Visual Studio, so I decided to install it on my computer. Setup contains lots of components, so installation running considerable amount of time was expected, but after 3 hours, it was only 30% finished. Another hour later, the setup was still trying to install the same package. It seemed that the installation got stuck. In this post I will share how I tried to solve the problem and what eventually worked.