project.assets.json’ not found. Run a NuGet package restore to generate this file.

I was getting this exception while building my blazor application.

project.assets.json’ not found. Run a NuGet package restore to generate this file.

I fixed this issue by clearing NuGet Caches. I hope this will help to other developer.


How to create Model class from Json or XML file ?

While working on core project, so many time we will get scenario to create the model class from Json or Xml file. But in visual studio 2019/2017/2015 there is option to quickly generate the model class from Json or Xml file. It is very handy tips, while working with visual studio

Step to use this feature
1. Create the Class file
2. Go to Edit > Paste Sepcial > Paste JSON As Classes or Paste XML As Class in Class file.

Tips and Tricks of visual studio

I hope it will help to become more productive while working with visual studio.

Improved search functionality in Visual studio 2019

In visual studio 2019 we can use the search option for changing the setting the visual studio or creating any application or project using just single click event which was not there in visual studio 2017. It has very advanced and improved search functionality in visual studio.

This is also one of nice features for developer where developer can change the setting of visual studio or create any application quickly.

Context-aware code completions in Visual Studio 2019

This is also one of cool feature added in visual studio 2019. Visual Studio IntelliCode enhances your software development efforts by using artificial intelligence (AI).

IntelliCode provides AI-assisted IntelliSense in Visual Studio 2019 by default. IntelliCode suggestions appear at the top of the completion list with a star icon next to them as given below image.

Now visual studio will give the exact suggestion to developer to write code on basis of current context.This will really help to developer to be more productive.