“Value does not fall within the expected range!” when trying to load a reference in a project
5/13/2020 8:18:40 AM
Error: I was getting this error "Value does not fall within the expected range" whenever I was trying to add a project reference to main solution.I tried to rebuild my soutions again and again,but not succeded.
I close soutions and reload and tried the change the path of project reference in its .csproj file,but coulnd succeded,finally i got a solution by searching in stack overflow.
- Exit Visual Studio
- Click Start
- Type cmd, right click Command Prompt and select Run as administrator
- Navigate to the appropriate Visual Studio folder,I navigation to vs 2019 path
VS2012: programfiles(x86)\Microsoft Visual Studio 12.0\Common7\IDE
VS2015: programfiles(x86)\Microsoft Visual Studio 14.0\Common7\IDE
VS2017: programfiles(x86)\Microsoft Visual Studio\2017\<Edition>\Common7\IDE
VS2019: programfiles(x86)\Microsoft Visual Studio\2019\<Edition>\Common7\IDE
5. Type devenv /setup and press enter
When the command prompt returns, you're done. Close the command window, reopen Visual Studio, and test to see if the error's resolved.
0 Comments on this post
Comments(0)||Login to Comments
- see more..
Issues Resolved (2)
Sitecore 9.3 (1)
International Business (1)
Innovations in Industries (3)
Supply Chain Management (1)
Industrial Engineering (12)
Sitecore 10 (3)
Cloud Computing (1)
Online Courses (1)
Online Resources (2)
Blazor WebAssembly (2)
Sitecore form (1)
MS Sql Server (1)
Angular 11 (2)
Automobile Engineering (4)