Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Getting error message that a file can't be loaded but there are no references to it

$
0
0

I have been working to upgrade a VS solution from VS2003 to VS2012 (through several steps through VS2005 and VS2008).  I have one assembly (TMGDevelopment.PrintForm) which I am removing from the project and replacing with other functionality.  I have removed all references to this assembly including doing a Windows Explorer search for the name (PrintForm) and its PublicKeyToken (cb51e09df98aa227) and removing all lines that existed anywhere within the solution hierarchy.  I have also removed a number of licenses.licx files that reference the assembly.  Most of these edits have been done directly in an editor rather than in VS2012.  I have also removed all of the cache files that have contained references to this assembly and let them be rebuilt.

My problem is that even though I believe I have removed all references to this assembly, I am still getting the error "Could not load file or assembly 'PrintForm, Version=2.0.1.0, Culture=neutral, PublicKeyToken=cb51e09df98aa227' or one of its dependencies. The system cannot find the file specified." when I attempt to open one of the forms.  This is driving me batty because I can't find anything that would cause this reference to occur.

Any help would be appreciated.   Thanks.


Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>