Click here to Skip to main content
15,887,242 members
Home / Discussions / C#
   

C#

 
QuestionHow to do unblock socket server by C#? Pin
rushing6-Oct-05 6:23
rushing6-Oct-05 6:23 
Questionsimple user control / panel question Pin
theStorminMormon6-Oct-05 6:03
theStorminMormon6-Oct-05 6:03 
AnswerRe: simple user control / panel question Pin
Wjousts6-Oct-05 6:45
Wjousts6-Oct-05 6:45 
AnswerRe: simple user control / panel question Pin
dbetting8-Oct-05 4:07
dbetting8-Oct-05 4:07 
QuestionExporting data from CVS and entering into MSSQL table Pin
hasanali006-Oct-05 6:01
hasanali006-Oct-05 6:01 
AnswerRe: Exporting data from CVS and entering into MSSQL table Pin
Guffa6-Oct-05 7:43
Guffa6-Oct-05 7:43 
GeneralRe: Exporting data from CVS and entering into MSSQL table Pin
hasanali006-Oct-05 23:23
hasanali006-Oct-05 23:23 
QuestionReflection onto Assemblies with dependencies Pin
MrEyes6-Oct-05 5:56
MrEyes6-Oct-05 5:56 
I have an assembly that is in the GAC which is using Reflection code to call a second assembly located elsewhere.

This second assembly has various dependencies, and for various reasons I dont want to GAC it or any of its dependencies.

The problem I am having is that while I can load the second assembly fine (by providing the full path to the Assembly.LoadFile(...) function, when I Invoke one of its functions I get a exception indicating that one of the dependencies cannot be found.

Is there anyway I can solves this problem without adding the second assemblies and its dependencies to the GAC??

I think the key here is the intellisense comment on the Assembly.LoadFile(...) function :

"..loading the assembly into the domain of the caller..."

Considering that the reflection code is called from an assembly in the GAC, does this mean that a virtual copy of the loaded assembly is placed into the GAC directories behind the calling assembly
AnswerRe: Reflection onto Assemblies with dependencies Pin
Tom Larsen6-Oct-05 8:47
Tom Larsen6-Oct-05 8:47 
Questiondataset Pin
amin saffari6-Oct-05 5:12
amin saffari6-Oct-05 5:12 
QuestionP/Invoke Pin
Member 18186146-Oct-05 3:54
Member 18186146-Oct-05 3:54 
AnswerRe: P/Invoke Pin
mav.northwind6-Oct-05 20:28
mav.northwind6-Oct-05 20:28 
GeneralRe: P/Invoke Pin
Member 18186146-Oct-05 21:50
Member 18186146-Oct-05 21:50 
QuestionHow do I invoke or call the insert table dialog Pin
Agyeman6-Oct-05 3:48
Agyeman6-Oct-05 3:48 
QuestionParser replacement target to Dot Net platform Pin
Member 23353326-Oct-05 3:44
Member 23353326-Oct-05 3:44 
AnswerRe: Parser replacement target to Dot Net platform Pin
David Stone6-Oct-05 12:12
sitebuilderDavid Stone6-Oct-05 12:12 
QuestionSendMessage return value Pin
status()6-Oct-05 3:24
status()6-Oct-05 3:24 
AnswerRe: SendMessage return value Pin
status()6-Oct-05 3:50
status()6-Oct-05 3:50 
AnswerRe: SendMessage return value Pin
status()6-Oct-05 4:19
status()6-Oct-05 4:19 
GeneralRe: SendMessage return value Pin
mav.northwind6-Oct-05 20:42
mav.northwind6-Oct-05 20:42 
QuestionListening to keypresses?? Pin
.M6-Oct-05 0:29
.M6-Oct-05 0:29 
QuestionHow can we add values in ArratList in different way?? Pin
parvinder sehrawat6-Oct-05 0:04
parvinder sehrawat6-Oct-05 0:04 
AnswerRe: How can we add values in ArratList in different way?? Pin
Stefan Troschuetz6-Oct-05 0:14
Stefan Troschuetz6-Oct-05 0:14 
Questionconverting aspx pages to HMTL pages Pin
A.Grover5-Oct-05 23:52
A.Grover5-Oct-05 23:52 
AnswerRe: converting aspx pages to HMTL pages Pin
Guffa6-Oct-05 0:06
Guffa6-Oct-05 0:06 

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.