Solved

Assembly.LoadWithPartialName()

Posted on 2006-11-21
2
453 Views
Last Modified: 2008-02-20
Hi,

I have an assembly I need to load from the GAC at run time. I used to use Assembly.LoadWithPartialName("ClassLibrary1") and it worked fine. However, I noticed the compiler is telling me that Assembly.LoadWithPartialName() is now obselete. So how then do I load an assembly from the GAC with just it's assembly name?

Thanks
0
Comment
Question by:maloriopolium
  • 2
2 Comments
 
LVL 22

Accepted Solution

by:
Mohammed Nasman earned 50 total points
ID: 17995500
0
 
LVL 22

Expert Comment

by:Mohammed Nasman
ID: 18001228
Why "C" Grade?
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

948 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now