VB Express 2008 - How to remove reference to obsolete data set

  • Thread starter Thread starter xxx
  • Start date Start date
X

xxx

Let me know if not the right forum, but, I have removed all references
(I thought) to an obsolete data set, but the following message keeps
coming up when I rebuild. Thanks

Error 2 Unable to copy file "D:\Documents and Settings\bodiddly\Desktop
\SOLUTIONS\majorCore\BA\MajorCore Projects\Majorcore Project 3 0\BD
Majorcore v2 6.mdb" to "bin\Release\BD Majorcore v2 6.mdb". Could not
find file 'D:\Documents and Settings\bodiddly\Desktop\SOLUTIONS
\majorCore\BA\MajorCore Projects\Majorcore Project 3 0\BD Majorcore v2
6.mdb'. Majorcore v3 0
 
When you say "all references" what do you mean? When you need access to an
external library, a project makes ONE reference to it, not several.

-Scott
 
Let me know if not the right forum, but, I have removed all references
(I thought) to an obsolete data set, but the following message keeps
coming up when I rebuild. Thanks

Error 2 Unable to copy file "D:\Documents and
Settings\bodiddly\Desktop \SOLUTIONS\majorCore\BA\MajorCore
Projects\Majorcore Project 3 0\BD Majorcore v2 6.mdb" to
"bin\Release\BD Majorcore v2 6.mdb". Could not find file 'D:\Documents
and Settings\bodiddly\Desktop\SOLUTIONS \majorCore\BA\MajorCore
Projects\Majorcore Project 3 0\BD Majorcore v2 6.mdb'. Majorcore
v3 0

I have not seen this for a database, but it does happen with 2.0+ web
sites and assemblies added to the bin. Open Windows Explorer and make
sure you have deleted the .refresh files for any deleted reference. You
will not see these, by default, in Visual Studio, so Windows Explorer is
the easiest.

NOTE: These files make sure the references stay up to date, so don't
delete the ones you need, especially if you are compiling new versions
to the directory named.

One more thing. Sometimes crap is left in the solution file that you
need to delete out. In this case, I don't think that is the issue, but
manually editing the solution file, or opening the website and then
writing a new solution file, will solve this. If it is the case, that
is.

Peace and Grace,

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Back
Top