Solved

References in Visual Basic Express 2008

Posted on 2011-03-14
4
422 Views
Last Modified: 2012-05-11
Why do I get <system cannot find reference specified> for the path in all of the references in a Visual Basic 2008 application?  I copied the project from another computer, but even the files that are in the same folder as the other computer show this as the path.  Also, I copied a project from a different computer and *didn't* have this problem.  In fact after copying a project from a different computer it resolved the path to the new location where the location was different AND the version of the .NET files on that computer weren't even the same and it worked.  So why do I have problem with this particular project?  I even deleted the references and re-selected them from the .net and the com list and still get this problem *AND* I tried specifying the reference paths and that didn't work either.  Also, I get kicked out of Visual Basic if I click on "Application Files" under the publish tab when in the troublesome project.
0
Comment
Question by:Declan_Basile
  • 2
4 Comments
 
LVL 7

Expert Comment

by:Chandan_Gowda
ID: 35133935
Sometimes reference's folder will not be included in the project. You have to manually include the project.
0
 
LVL 4

Accepted Solution

by:
LeDaouk earned 500 total points
ID: 35137329
if you still have access on the old computer:
Enter to references and on each one change the option copy local to true and compile it, so the dll files needed will be copied to the debug folder, then copy the project to the new computer and try.
0
 
LVL 1

Author Comment

by:Declan_Basile
ID: 35138112
Now even the project on the old computer says "<system cannot find reference specified>" for every reference *AND* it says it can't find the output path "D:\MIS\TOM" when the Output path under "Compile" is set to "bin\Release".  Why is this happening?
0
 
LVL 1

Author Closing Comment

by:Declan_Basile
ID: 35149646
Thanks for the idea.  All I had to do was re enter the output path to the same thing that it was already set to and build the application again.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question