Click here to Skip to main content
15,921,793 members
Home / Discussions / C#
   

C#

 
QuestionAppDomain.Unload() doesn't release assemblies? Pin
EssOEss15-Aug-05 11:43
EssOEss15-Aug-05 11:43 
AnswerRe: AppDomain.Unload() doesn't release assemblies? Pin
S. Senthil Kumar15-Aug-05 23:53
S. Senthil Kumar15-Aug-05 23:53 
GeneralRe: AppDomain.Unload() doesn't release assemblies? Pin
EssOEss16-Aug-05 5:25
EssOEss16-Aug-05 5:25 
GeneralRe: AppDomain.Unload() doesn't release assemblies? Pin
S. Senthil Kumar16-Aug-05 5:34
S. Senthil Kumar16-Aug-05 5:34 
GeneralRe: AppDomain.Unload() doesn't release assemblies? Pin
EssOEss16-Aug-05 8:05
EssOEss16-Aug-05 8:05 
AnswerRe: AppDomain.Unload() doesn't release assemblies? Pin
leppie16-Aug-05 0:55
leppie16-Aug-05 0:55 
GeneralRe: AppDomain.Unload() doesn't release assemblies? Pin
EssOEss16-Aug-05 5:23
EssOEss16-Aug-05 5:23 
GeneralHELP with deserialization Pin
Max Silberztein15-Aug-05 10:31
Max Silberztein15-Aug-05 10:31 
Hello,

I have developed a .NET application for three years. This application
builds several types of objects, and serialize them with the Binary formatter.
Everything has been fine, until...

Now, I need to build another application, independant from the first
one, that needs to access some of the serialized objects built with the first application.

Apparently, even though I define my objects with the same structure (even
the same source!), the 2nd application's deserializer refuses to load the objects:
.NET is looking for the assembly of the *original* application.

Therefore I rewrote the first application, with a DLL responsible for these
objects processing, including their serialization/deserialization. I was hoping that this
DLL, if shared by the two applications, would accept in both cases to load & save these
objects (because it would be the same assembly, right?).

But this DLL, when run by the two applications (even the first one), refuses to
deserialize anything (I guess the new version of my first application has not the
same "assembly" as when it did not have the DLL...)

Is there any way to tell .NET that another application needs to access the data?
I cannot believe that the serialization/deserialization system would not allow
two independant applications to share data stored in a file...

Any help would be welcome!
Max Silberztein
(please cc your answer to msilberz@univ-fcomte.fr)

GeneralRe: HELP with deserialization Pin
Charlie Williams15-Aug-05 12:15
Charlie Williams15-Aug-05 12:15 
GeneralRe: HELP with deserialization Pin
Max Silberztein15-Aug-05 15:27
Max Silberztein15-Aug-05 15:27 
GeneralRe: HELP with deserialization Pin
Silberztein23-Aug-05 14:24
Silberztein23-Aug-05 14:24 
QuestionHow to catch Paste on Ctrl+V (RichTextBox) Pin
cbadal15-Aug-05 10:02
cbadal15-Aug-05 10:02 
AnswerRe: How to catch Paste on Ctrl+V (RichTextBox) Pin
gnjunge15-Aug-05 10:23
gnjunge15-Aug-05 10:23 
AnswerRe: How to catch Paste on Ctrl+V (RichTextBox) Pin
Mohamad Al Husseiny15-Aug-05 10:28
Mohamad Al Husseiny15-Aug-05 10:28 
GeneralRe: How to catch Paste on Ctrl+V (RichTextBox) Pin
cbadal15-Aug-05 10:41
cbadal15-Aug-05 10:41 
Questionhow can i read the pressed key from windows Pin
m.rastgar15-Aug-05 9:57
m.rastgar15-Aug-05 9:57 
AnswerRe: how can i read the pressed key from windows Pin
Mohamad Al Husseiny15-Aug-05 10:10
Mohamad Al Husseiny15-Aug-05 10:10 
GeneralRe: how can i read the pressed key from windows Pin
m.rastgar15-Aug-05 11:42
m.rastgar15-Aug-05 11:42 
QuestionHow to build a byte from a BitArray? Pin
bouli15-Aug-05 7:44
bouli15-Aug-05 7:44 
AnswerRe: How to build a byte from a BitArray? Pin
Guffa15-Aug-05 8:13
Guffa15-Aug-05 8:13 
GeneralRe: How to build a byte from a BitArray? Pin
bouli15-Aug-05 8:46
bouli15-Aug-05 8:46 
GeneralRe: How to build a byte from a BitArray? Pin
Guffa15-Aug-05 9:01
Guffa15-Aug-05 9:01 
GeneralRe: How to build a byte from a BitArray? Pin
bouli15-Aug-05 11:19
bouli15-Aug-05 11:19 
GeneralRe: How to build a byte from a BitArray? Pin
leppie15-Aug-05 10:27
leppie15-Aug-05 10:27 
QuestionHow to make ListBox multiselect Pin
zaboboa15-Aug-05 7:11
zaboboa15-Aug-05 7:11 

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.