Click here to Skip to main content
15,914,905 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Windows Service OR Console Application AS Windows Scheduler Task Pin
Vipul Mehta8-Oct-07 17:51
Vipul Mehta8-Oct-07 17:51 
GeneralRe: Windows Service OR Console Application AS Windows Scheduler Task Pin
Dave Kreskowiak8-Oct-07 17:59
mveDave Kreskowiak8-Oct-07 17:59 
GeneralRe: Windows Service OR Console Application AS Windows Scheduler Task Pin
Vipul Mehta8-Oct-07 18:32
Vipul Mehta8-Oct-07 18:32 
QuestionVirtual Memory Problem Pin
mariano.mazzieri8-Oct-07 2:14
mariano.mazzieri8-Oct-07 2:14 
Questionreflection issue Pin
Tauseef A7-Oct-07 23:04
Tauseef A7-Oct-07 23:04 
QuestionBug: AppDomain needs to load Assembly twice Pin
Doomii7-Oct-07 21:18
Doomii7-Oct-07 21:18 
AnswerRe: Bug: AppDomain needs to load Assembly twice Pin
originSH8-Oct-07 3:28
originSH8-Oct-07 3:28 
GeneralRe: Bug: AppDomain needs to load Assembly twice Pin
Doomii8-Oct-07 5:41
Doomii8-Oct-07 5:41 
originSH wrote:
You can see in your output that 'PluginA, Version=1.0.2837.29213' and 'PluginA, Version=1.0.2837.29052' have different versions.


Thats just because i didn't update the copied PluginA in the working directory. It doesn't matter, even if I use an updated version, the problem is still the same, see here:

mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
PluginA, Version=1.0.2837.29477, Culture=neutral, PublicKeyToken=a740aaa0a688231e
msvcm80d, Version=8.0.50608.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
PluginB, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
PluginA, Version=1.0.2837.29477, Culture=neutral, PublicKeyToken=a740aaa0a688231e

originSH wrote:
If you use 'Assembly.LoadFrom(string assemblyLocation)' then that method should try and resolve all the references of the assembly it's loading.


It should, but it sadly doesn't. I get the same problem if I compile PluginB with the updated version of PluginA (which I always do) and use LoadFrom instead (the output above is generated when using LoadFrom). If I don't copy "PluginA, Version=1.0.2837.29477, Culture=neutral, PublicKeyToken=a740aaa0a688231e" to the working directory, it will say:

Could not load file or assembly 'PluginA, Version=1.0.2837.29477, Culture=neutral, PublicKeyToken=a740aaa0a688231e' or one of its dependencies.

Which clearly is already loaded.
GeneralRe: Bug: AppDomain needs to load Assembly twice Pin
originSH8-Oct-07 6:23
originSH8-Oct-07 6:23 
GeneralRe: Bug: AppDomain needs to load Assembly twice Pin
Doomii8-Oct-07 8:18
Doomii8-Oct-07 8:18 
GeneralRe: Bug: AppDomain needs to load Assembly twice Pin
originSH8-Oct-07 10:08
originSH8-Oct-07 10:08 
QuestionDisplay Properties Pin
bfinighan7-Oct-07 18:21
bfinighan7-Oct-07 18:21 
GeneralRe: Display Properties Pin
Paul Conrad31-Dec-07 9:26
professionalPaul Conrad31-Dec-07 9:26 
Questionnew features of .net framework 2.0 at higher level Pin
mukkanti0076-Oct-07 22:37
mukkanti0076-Oct-07 22:37 
AnswerRe: new features of .net framework 2.0 at higher level Pin
Pete O'Hanlon7-Oct-07 9:07
mvePete O'Hanlon7-Oct-07 9:07 
GeneralRe: new features of .net framework 2.0 at higher level Pin
mukkanti0077-Oct-07 21:17
mukkanti0077-Oct-07 21:17 
GeneralRe: new features of .net framework 2.0 at higher level Pin
lmoelleb8-Oct-07 2:03
lmoelleb8-Oct-07 2:03 
QuestionHow to write propect a Drive .... Pin
Gopi Ramanathan5-Oct-07 20:50
Gopi Ramanathan5-Oct-07 20:50 
QuestionIs there any.... Pin
MMaines20055-Oct-07 16:49
MMaines20055-Oct-07 16:49 
AnswerRe: Is there any.... Pin
lmoelleb6-Oct-07 1:26
lmoelleb6-Oct-07 1:26 
GeneralRe: Is there any.... Pin
George L. Jackson6-Oct-07 5:00
George L. Jackson6-Oct-07 5:00 
QuestionMaking a menu-like form. Pin
chaiguy13375-Oct-07 15:56
chaiguy13375-Oct-07 15:56 
AnswerRe: Making a menu-like form. Pin
chaiguy13375-Oct-07 16:17
chaiguy13375-Oct-07 16:17 
QuestionHow can I Read Excel-documents? Pin
MaWeRic5-Oct-07 15:18
MaWeRic5-Oct-07 15:18 
AnswerRe: How can I Read Excel-documents? Pin
Christian Graus5-Oct-07 16:17
protectorChristian Graus5-Oct-07 16:17 

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.