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.
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.
When developing .NET applications either for Desktop or Web applications, you will most likely use one of the Visual Studio Editions. As such you need to be familiar with Visual Studio IDE (integrated development environment) and in this article we will examine Visual Studio Environment most important sections.
I recently rearranged the content of my working folder which is used to store all my coding-related projects. But after doing that I had a problem loading the solution of my WinForm project in Visual Studio as I received an error telling me about a problem with a project file.
The exact error message in the Output window was:
Another way you can encounter this error is if you renamed your project folder and sometimes you can get this error without moving or renaming anything at all. In this article, you will be shown how to solve this problem for all those cases.
Recently I wanted to get a better understanding of what Entity Framework is all about. I looked for the blog posts dedicated to this topic and I found one such post with a concrete example. I was eager to test the code, so I created a project in Visual Studio Express but to my surprise, I was not able to successfully build the project as it gave me System.Data.Entity.DbContext Compilation Error.
It took me a while before I managed to get rid of this annoying error and I want to share the solution that worked for me so that it might also help others with the same issue.