Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / January 2006

Tip: Looking for answers? Try searching our database.

Finding and Creating Assemblies?!? fuslogvw

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark Olbert - 30 Jan 2006 17:10 GMT
I am trying to track down an annoying and deep-seated bug in a custom designer for a custom component.

In the course of trying to figure out why certain errors are occuring I ran fuslogvw to see exactly what assemblies are being loaded
when my application loads into VS2003.

I was astonished to see that an assembly I no longer use/reference in the project gets loaded. I was even more astonished to see
that the framework went back and re-created the directory structure of the project which used to create the "old" assembly, and
plopped a copy of the old assembly into it.

Why is this happening? How do I stop it? What do I do in the future to keep stale/old assemblies from being re-introduced to my
projects?

- Mark
Luke Zhang [MSFT] - 31 Jan 2006 06:33 GMT
Hello Mark,

If you open the original project in VS.NET 2003, re-compile the whole
solution, will this fix the problem? Also, is it possible that the assembly
was not referenced directly, but referenced by an assembly which referenced
by your project?

Luke
Mark Olbert - 31 Jan 2006 16:25 GMT
Luke,

No, recompiling/rebuilding doesn't solve the problem. It turns out the culprit was a deployment project which referenced the
"phantom" assemblies. Why the deployment project would force recreation of the phantom assemblies' directory structure is bizarre,
but eliminating the phantom assemblies from the deployment project solved the problem.

- Mark

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.