Click here to Skip to main content
15,888,286 members
Home / Discussions / C#
   

C#

 
AnswerRe: datetime problem Pin
V.25-Oct-10 21:02
professionalV.25-Oct-10 21:02 
QuestionT[,] can't be cast to object[,] ? Why not? [solved] Pin
Matthew Klein25-Oct-10 9:32
Matthew Klein25-Oct-10 9:32 
AnswerRe: T[,] can't be cast to object[,] ? Why not? Pin
Nish Nishant25-Oct-10 10:00
sitebuilderNish Nishant25-Oct-10 10:00 
GeneralRe: T[,] can't be cast to object[,] ? Why not? Pin
TheyCallMeMrJames25-Oct-10 10:11
TheyCallMeMrJames25-Oct-10 10:11 
GeneralRe: T[,] can't be cast to object[,] ? Why not? Pin
Nish Nishant25-Oct-10 10:23
sitebuilderNish Nishant25-Oct-10 10:23 
GeneralRe: T[,] can't be cast to object[,] ? Why not? Pin
TheyCallMeMrJames25-Oct-10 10:41
TheyCallMeMrJames25-Oct-10 10:41 
GeneralRe: T[,] can't be cast to object[,] ? Why not? Pin
Matthew Klein25-Oct-10 10:17
Matthew Klein25-Oct-10 10:17 
QuestionDynamically Load Referenced Assembly Pin
Adam R Harris25-Oct-10 6:32
Adam R Harris25-Oct-10 6:32 
Hey All,

I have a problem with dynamically loading and referenced assembly at run time. The issue is that i am coding a 3rd party app for a larger application that is constantly getting patched and upgraded. Every time a new patch or upgrade comes out i need to recompile and redistribute the app too all the clients. Now nothing really ever changes in the referenced assembly aside from version number which is causing me to have to remove the reference and add it again. I don't even have to change code, just update the reference.

I know i can load this specific assembly when the reference isn’t found by attaching to the AssemblyResolve event; however this is where I’m having problems. I’m not exactly sure how i should implement this. All the documentation i can find from MS isn’t very helpful, as per usual.

Really the end goal is to have it load this referenced assembly when it is called at run time. The referenced assemblies path will change from machine to machine so it needs to fully dynamic, i can work out finding the proper assembly to load i just need some insight on the best way to implement this.

Also another quick question ... if i reference say v1.2 and then dynamically load v3.5 is the framework going to freak out about the version numbers or just accept that this is the assembly i want to load.

TIA
Don't comment your code - it was hard to write, it should be hard to read!

AnswerRe: Dynamically Load Referenced Assembly Pin
Nish Nishant25-Oct-10 6:48
sitebuilderNish Nishant25-Oct-10 6:48 
GeneralRe: Dynamically Load Referenced Assembly Pin
Adam R Harris25-Oct-10 6:53
Adam R Harris25-Oct-10 6:53 
AnswerRe: Dynamically Load Referenced Assembly Pin
Ennis Ray Lynch, Jr.25-Oct-10 7:17
Ennis Ray Lynch, Jr.25-Oct-10 7:17 
GeneralRe: Dynamically Load Referenced Assembly Pin
Adam R Harris25-Oct-10 7:57
Adam R Harris25-Oct-10 7:57 
QuestionHttpWebRequest/Response in a Duplex way? Pin
softwarejaeger25-Oct-10 3:37
softwarejaeger25-Oct-10 3:37 
AnswerRe: HttpWebRequest/Response in a Duplex way? Pin
Adam R Harris25-Oct-10 6:38
Adam R Harris25-Oct-10 6:38 
AnswerRe: HttpWebRequest/Response in a Duplex way? Pin
TheyCallMeMrJames25-Oct-10 9:56
TheyCallMeMrJames25-Oct-10 9:56 
QuestionRegistering for system power states. Pin
HalliHaida25-Oct-10 3:18
HalliHaida25-Oct-10 3:18 
AnswerRe: Registering for system power states. Pin
_Erik_25-Oct-10 5:35
_Erik_25-Oct-10 5:35 
AnswerRe: Registering for system power states. Pin
Luc Pattyn25-Oct-10 6:21
sitebuilderLuc Pattyn25-Oct-10 6:21 
QuestionCreate a list for a base class from two list of dervided classes Pin
Mc_Topaz25-Oct-10 2:42
Mc_Topaz25-Oct-10 2:42 
AnswerRe: Create a list for a base class from two list of dervided classes PinPopular
OriginalGriff25-Oct-10 3:13
mveOriginalGriff25-Oct-10 3:13 
GeneralRe: Create a list for a base class from two list of dervided classes Pin
Mc_Topaz25-Oct-10 6:04
Mc_Topaz25-Oct-10 6:04 
GeneralRe: Create a list for a base class from two list of dervided classes Pin
OriginalGriff25-Oct-10 8:36
mveOriginalGriff25-Oct-10 8:36 
QuestionProcessing scanned images. Pin
ameyakoshti24-Oct-10 22:43
ameyakoshti24-Oct-10 22:43 
AnswerMessage Closed Pin
24-Oct-10 23:19
stancrm24-Oct-10 23:19 
GeneralRe: Processing scanned images. Pin
ameyakoshti25-Oct-10 2:07
ameyakoshti25-Oct-10 2:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.