Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > BOOK: Professional C#, 2nd and 3rd Editions
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional C#, 2nd and 3rd Editions
This is the forum to discuss the Wrox book Professional C#, 3rd Edition by Simon Robinson, Christian Nagel, Karli Watson, Jay Glynn, Morgan Skinner, Bill Evjen; ISBN: 9780764557590
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C#, 2nd and 3rd Editions section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 10th, 2006, 01:13 AM
Registered User
 
Join Date: Feb 2006
Location: , , India.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Reflection -:System.IO.FileNotFoundExc,3rd edition

hi
I am trying one of your codes in reflection Chapter10 and getting error as

Unhandled Exception: System.IO.FileNotFoundException: File or assembly name VectorClass, or one of its dependencies, was not found.
File name: "VectorClass"
   at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark)
   at System.Reflection.Assembly.InternalLoad(AssemblyNa me assemblyRef, Boolean
stringized, Evidence assemblySecurity, StackCrawlMark& stackMark)
   at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence as
semblySecurity, StackCrawlMark& stackMark)
   at System.Reflection.Assembly.Load(String assemblyString)
   at Wrox.ProCSharp.LookUpWhatsNew.WhatsNewChecker.Main () in c:\my documents\visual studio projects\whatsnewattributes\lookupwh
atsnew.cs:line 17

=== Pre-bind state information ===
LOG: DisplayName = VectorClass
 (Partial)
LOG: Appbase = C:\My Documents\Visual Studio Pro
jects\WhatsNewAttributes\bin\DebugLOG: Initial PrivatePath = NULL
Calling assembly : WhatsNewAttributes, Version=0.0.0.0, Culture=neutral, PublicK
eyToken=null.
===

LOG: Policy not being applied to reference at this time (private, custom, partia
l, or location-based assembly bind).
LOG: Post-policy reference: VectorClass
LOG: Attempting download of new URL file:///C:/M
y Documents/Visual Studio Projects/WhatsNewAttributes/bin/Debug/VectorClass.DLL.

LOG: Attempting download of new URL file:///C:/M
y Documents/Visual Studio Projects/WhatsNewAttributes/bin/Debug/VectorClass/Vect
orClass.DLL.
LOG: Attempting download of new URL file:///C:/M
y Documents/Visual Studio Projects/WhatsNewAttributes/bin/Debug/VectorClass.EXE.

LOG: Attempting download of new URL file:///C:/M
y Documents/Visual Studio Projects/WhatsNewAttributes/bin/Debug/VectorClass/Vect
orClass.EXE.

I am not able to rectify it comes near "Assembly theAssembly = Assembly.Load("VectorClass");" in the lookupwhatsnew class .
Can anyone tell me what went wrong and how to rectify it

thanks in advance



 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
System.InvalidCastException; System.Reflection.Tar Jophie BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 January 16th, 2008 03:29 PM
Beginning JavaScript 3rd Edition r_1481 BOOK: Beginning JavaScript 3rd Ed. ISBN: 978-0-470-05151-1 0 November 2nd, 2007 02:24 PM
Commentary on XSLT 2.0 3rd Edition Doug Bell Wrox Book Feedback 1 December 6th, 2006 11:43 AM
Reflection -VectorClass :System.IO.FileNotFoundExc kal2na2 C# 1 February 9th, 2006 10:10 AM
C# 3rd edition -chapter 25 fjgnena BOOK: Professional C#, 2nd and 3rd Editions 0 September 9th, 2004 03:47 PM



All times are GMT -4. The time now is 04:02 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.