Hello to evereyone, i am following courses on plural sight but i ran into a problem and cannot get past this, so i wanna thank everyone who will help me with this.
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Unknown Module.
Could not load file or assembly 'System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
This happens when i create through the terminal and also when i create a project in Visual Studio it works fine but after 1-2 days when i open the project this error comes.
The error comes after i try to debugg
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Unknown Module.
Could not load file or assembly 'System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies
In your project, did you reference System.Runtime?
You can right click on the References, then look for the System.Runtime and select it In your project.
and you can also refer to this link about similar error. you can confirm the working directory is either empty or equal to the bin\debug directory and check dependencies.
IIS.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today. Learn more >
None
0 Points
1 Post
Visual Studio Break Mode
Nov 08, 2019 10:10 AM|Aowek|LINK
Hello to evereyone, i am following courses on plural sight but i ran into a problem and cannot get past this, so i wanna thank everyone who will help me with this.
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in Unknown Module.
Could not load file or assembly 'System.Runtime, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
This happens when i create through the terminal and also when i create a project in Visual Studio it works fine but after 1-2 days when i open the project this error comes.
The error comes after i try to debugg
Contributor
3370 Points
1409 Posts
Re: Visual Studio Break Mode
Nov 11, 2019 03:22 AM|samwu|LINK
Hi Aowek,
In your project, did you reference System.Runtime?
You can right click on the References, then look for the System.Runtime and select it In your project.
and you can also refer to this link about similar error. you can confirm the working directory is either empty or equal to the bin\debug directory and check dependencies.
https://stackoverflow.com/a/9729835
Best regards,
Sam