Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I encountered a <strong>similar issue</strong> after transferring a project from one computer to another. I will simply explain <strong>what I discovered</strong> and <strong>how I fixed it</strong>, and you can determine if it fits your problem and solution. </p> <ol> <li><p>The work computer I wrote an application on contained a .dll file which my program was referencing. After moving the application to my home computer, the application could no longer locate the .dll file it was previously referencing because the file was no longer there. </p></li> <li><p>The application compiled and ran even without the referenced resource (.dll file) because the previously compiled assembly (debug folder) contained its own copy of the .dll file and other resources. Put simply, it is the old assembly build that is running and not the current application you're working on. This is also why this error tends to suspend the designer window and throw an error after the app is done running. </p></li> </ol> <p>I would take a look at the following:</p> <p>a) Under <strong>Solution Explorer</strong>, go into the <strong>References</strong> folder and <strong>right click the missing reference node</strong> and select <strong>properties</strong>. In the properties box, observe the <strong>Path</strong> of the resource being referenced. <strong>Is the resource still located at this path?</strong></p> <p>b) <strong>Check the debug folder</strong> for a copy of the resource you're looking for. If the resource is <strong>there, make a copy</strong> and save it to your desktop. If it's <strong>not there</strong>, <strong>get the file from the original source</strong>. </p> <p>c) <strong>Under Solution Explorer</strong>, right click '<strong>Properties</strong>' and '<strong>open</strong>'. From the menu that appears select '<strong>Resources</strong>' from the left and at the top of the new window that appears you you should see '<strong>Add Resource</strong>' with a small drop down arrow. <strong>Click the arrow</strong> and select '<strong>Add existing file</strong>' and then <strong>browse to the file</strong>. If you don't see it you may have to change the file being browsed from the small drop down above the 'open' and 'Cancel' buttons. After the file is located it should create a new folder in the solution explorer called 'resources.' Now the file is a permanent part of your application and not merely a reference to it. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload