title: Creating dll files to be used in another project gives FIle Not Found Exception error C#
body: <p>I created two dll files Person and Student. The Student class inherits from the Person class. I then created a Winforms file and added a reference to both the person and student dll files. I created an instance of Student and gave it some data which was supposed to be displayed in my GUI. once I run it however I get an error which says</p>
  <p>System.IO.FileNotFoundException: 'Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.'</p>
  <p>I'm using Visual Studio 2022 and .net Framework 4.7.2. can anyone pls help me with this<a href="https://i.stack.imgur.com/5L9qX.png" rel="nofollow noreferrer">enter image description here</a></p>