Solved

Assembly.LoadWithPartialName()

Posted on 2006-11-21
2
450 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:
mnasman earned 50 total points
ID: 17995500
0
 
LVL 22

Expert Comment

by:mnasman
ID: 18001228
Why "C" Grade?
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

758 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

19 Experts available now in Live!

Get 1:1 Help Now