Suddenly I am getting this error \"Value does not fall within the expected range\" whenever I try to add a reference to any project. This also happens with a new blank proje
In my case it was simple, if the file is open and then I run it, it will run. If the file is closed and then I run it by right clicking from the "Solution Explorer", then it throws the error you mentioned. So, simple steps: In the Solution Explorer,