PC Review


Reply
Thread Tools Rate Thread

Assembly.LoadFrom error?

 
 
Juan
Guest
Posts: n/a
 
      28th Jan 2005
Hello

I'm Developing for PDA and using Assembly.LoadFrom("") static method, but I
obtain a strange behavoiur.

If i use an old DLL I compiled long time ago, the method correctly loads
the assembly dinamically, but If i use now compiled DLL, instead of return
the DLLs assembly it returns my EXE assembly, without giving any error.

The Path and DLL localization are correct.

Anybody can help me?

thanks
Juan




 
Reply With Quote
 
 
 
 
Yunus Emre ALPÖZEN
Guest
Posts: n/a
 
      28th Jan 2005
May be caused by loading wrong version to GAC. Are u sure that you've
cleared the GAC...
--
Thanks,
Yunus Emre ALPÖZEN



"Juan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello
>
> I'm Developing for PDA and using Assembly.LoadFrom("") static method, but
> I obtain a strange behavoiur.
>
> If i use an old DLL I compiled long time ago, the method correctly loads
> the assembly dinamically, but If i use now compiled DLL, instead of
> return the DLLs assembly it returns my EXE assembly, without giving any
> error.
>
> The Path and DLL localization are correct.
>
> Anybody can help me?
>
> thanks
> Juan
>
>
>
>



 
Reply With Quote
 
Juan
Guest
Posts: n/a
 
      28th Jan 2005
Where is the Compact Framework GAC?

And....anyway, is my DLL loaded into it? why?

Thanks

"Yunus Emre ALPÖZEN" <(E-Mail Removed)> escribió en el mensaje
news:(E-Mail Removed)...
> May be caused by loading wrong version to GAC. Are u sure that you've
> cleared the GAC...
> --
> Thanks,
> Yunus Emre ALPÖZEN
>
>
>
> "Juan" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Hello
>>
>> I'm Developing for PDA and using Assembly.LoadFrom("") static method,
>> but I obtain a strange behavoiur.
>>
>> If i use an old DLL I compiled long time ago, the method correctly loads
>> the assembly dinamically, but If i use now compiled DLL, instead of
>> return the DLLs assembly it returns my EXE assembly, without giving any
>> error.
>>
>> The Path and DLL localization are correct.
>>
>> Anybody can help me?
>>
>> thanks
>> Juan
>>
>>
>>
>>

>
>



 
Reply With Quote
 
Yunus Emre ALPÖZEN
Guest
Posts: n/a
 
      28th Jan 2005
I think, this link would help u:
http://msdn.microsoft.com/library/de...deployment.asp

--
Thanks,
Yunus Emre ALPÖZEN



"Juan" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Where is the Compact Framework GAC?
>
> And....anyway, is my DLL loaded into it? why?
>
> Thanks
>
> "Yunus Emre ALPÖZEN" <(E-Mail Removed)> escribió en el mensaje
> news:(E-Mail Removed)...
>> May be caused by loading wrong version to GAC. Are u sure that you've
>> cleared the GAC...
>> --
>> Thanks,
>> Yunus Emre ALPÖZEN
>>
>>
>>
>> "Juan" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Hello
>>>
>>> I'm Developing for PDA and using Assembly.LoadFrom("") static method,
>>> but I obtain a strange behavoiur.
>>>
>>> If i use an old DLL I compiled long time ago, the method correctly
>>> loads the assembly dinamically, but If i use now compiled DLL, instead
>>> of return the DLLs assembly it returns my EXE assembly, without giving
>>> any error.
>>>
>>> The Path and DLL localization are correct.
>>>
>>> Anybody can help me?
>>>
>>> thanks
>>> Juan
>>>
>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unload an Assembly loaded via Assembly.LoadFrom() GD Microsoft Dot NET Compact Framework 4 10th Aug 2006 04:12 AM
Re: Assembly.LoadFrom loading a .net 2.0 assembly from a 1.1 app Mattias Sjögren Microsoft Dot NET Framework 0 27th Jun 2006 10:34 PM
Diif Assembly.Load and Assembly.LoadFrom =?Utf-8?B?R3VqanU=?= Microsoft VB .NET 1 22nd Jul 2005 09:54 AM
Restricting access to Assembly.LoadFrom call within an assembly based on strong names Nicholas Paldino [.NET/C# MVP] Microsoft C# .NET 3 9th Dec 2003 08:32 PM
Re: AxImporter, Assembly.LoadFrom(), Assembly.GetTypes() Nicholas Paldino [.NET/C# MVP] Microsoft C# .NET 3 10th Jul 2003 02:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:13 PM.