Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I just randomly got that warning. That file exists on my hard drive, but VS refuses to understand it. I have no idea how to fix it, there are no solutions available online.

Weird thing is VS is not actually letting me manually insert the path. It basically says "Not found and there is nothing you can do about it". But there must be solution that does not include format.

What I have tried:

Nothing beside googling because it appears there is no solution. If you get it, you are screwed.
Posted
Comments
20212a 2-Mar-21 16:40pm    
Need more info. What version of Visual Studio? When do you get the error? Did you check references?
Member 15047625 4-Mar-21 14:59pm    
Newest VS 2019 Community version. All projects. Reference is missing, but file is on the hard drive in proper location.

go to the Dependences => Frameworks => what ever did you use to create your project => and look for System.Runtime if it missing then you might messed up. the things you can do is download the framework from web and run the installation and during installation choose repair it should be fixed. but if System.Runtime is exist then clean and rebuild you project..
 
Share this answer
 
Comments
Member 15047625 4-Mar-21 12:23pm    
System.Runtime is on the hard drive with all other files. Cleaning and rebuilding did not help.

I will try to fix installation, but it says it will reset everything.
Open The Dependencies folder of your project => Frameworks => (which you use to create your project or chose the first one) => Looks for System.Runtime

if System.Runtime is not missing then clean the build the project should fix the problem.

or else you might messed up your framework... right now all you can do go to online and download the framework which you are using then during installation choose repair should fix the issue..
 
Share this answer
 
v10

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900