Cannot Save on a Windows XP virtual machine

Jul 26, 2012 at 8:10 AM

Hi!

I'm having an issue with a program I wrote and part of it uses the DotNetZip Library: at some point I'm building a ZIP archive using the ZipFile class and the ZipFile.Save(string) method.

I'm working on Windows 7 and everything's OK, but I tried on a Windows XP running as a virtual machine and I've got a DirectoryNotFoundException in the Save method. It says it cannot find a part of the path

'C:\[folder_where_I_create_the_file]\DotNetZip-[some_random_char].tmp'

According to the documentation, I assume the .tmp file is the .zip file before it is renamed with the given name.

Are they any known issues with Windows XP and the DotNetZip library ? Maybe the fact that I'm running a virtual machine messes with it ? (I had problems with that some time ago with an audio library and a fedora vm, but this is the first time it happens with Windows XP...)

I'm using VMWare 8.0, Windows 7 Professional x64 as host and Windows XP Professional SP3 x86 as guest, and installed the .NET Framework 4.0 on XP.

Thanks a lot,

Wred