random dll names

G

Guest

I have a VB2003 app (very simple) that runs on XP SP2

when I call the Constructor on XMLSerializer I get a
System.IO.FilenotFoundException in mscorlib.dll

quote

Additional information: File or assembly name ldvld7z2.dll, or one of its
dependencies, was not found.

/quote
The odd thing is each time i run the app the name of the file e.g.

ldvld7z2.dll
viqr5fl6.dll
mnu_zic1.dll
6uqb3zc3.dl

changes, it appears to be completely randomly generated and never a name I
have seen before. The only consistent thing is that it is always an 8
chracter file name and the extension is .dll !

any ideas?

guy
 
J

Jon Skeet [C# MVP]

guy said:
I have a VB2003 app (very simple) that runs on XP SP2

when I call the Constructor on XMLSerializer I get a
System.IO.FilenotFoundException in mscorlib.dll

quote

Additional information: File or assembly name ldvld7z2.dll, or one of its
dependencies, was not found.

/quote
The odd thing is each time i run the app the name of the file e.g.

ldvld7z2.dll
viqr5fl6.dll
mnu_zic1.dll
6uqb3zc3.dl

changes, it appears to be completely randomly generated and never a name I
have seen before. The only consistent thing is that it is always an 8
chracter file name and the extension is .dll !

Could you post a short but complete program which demonstrates the
problem?

See http://www.pobox.com/~skeet/csharp/complete.html for details of
what I mean by that.

My guess is that the XmlSerializer is creating a new temporary assembly
behind the scenes for you, to do the serialization, but for some reason
something goes wrong. We'll know more when we can reproduce it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top