Problem with VS2005. ResXFileCodeGenerator

  • Thread starter Thread starter Wernfried Schwenkner
  • Start date Start date
W

Wernfried Schwenkner

Can this question been asked here or is there any bether group?

I have installed the VS2005 on a Windows XP and played al little bit
twith the features of the new CF. I could deploy a simple Forms
application to the emulating device.

Now today I tried to develope a bit more complicated program. On my
first try to deploy it to the emulator, I got an error:
The custom tool 'ResXFileCodeGenerator' failed while processing the file
'Properties\Resources.resx'.

And now I also get the same error on my formerly allready running
project. What can be the reason therefor? Meanwhile I installed a german
version of ActiveSync. Can this be the reason? And hoe can I solve this
problem?
 
Wernfried,

I have the same message, although it is a warning for me and not an error,
so I just ignore it and everything looks ok. I don't run German ActiveSync
so that's probably not the cause of the message.
 
I have the same message, although it is a warning for me and not an error,
so I just ignore it and everything looks ok. I don't run German ActiveSync
so that's probably not the cause of the message.

But for me the applications isn't deployed to the emulating device and
so it doesn't run. Do You use the emulator or e real pocket PC (which I
don't have yet)?
 
I have the same message, although it is a warning for me and not an error,
so I just ignore it and everything looks ok. I don't run German ActiveSync
so that's probably not the cause of the message.

O.K, it seems that I misinterpreted this warning as an error. When I
start to deploy to "Pocket PC 2003 SE Emulator", first opens the
emulator, then start Windows Mobile on it and then I get an error:
"The operation could not be completed. The system can not find the
specified file." No hint, which file. An so I misinterpreted that
warning as the missing file. Is there any log file I can see the missing
file?
I can remember, when I've done my first deployment, then the .NET CF
frramework was deployed to the emulator. This also doesn't seem to work
in the moment. I swirtched off the emulator without saving the state to
enforce reinstallaion of the framework and also did a reset. Nothing
changed. Does anybody have a hint?
 
Wernfried,

I have only tested with the current Whidbey version on the emulator, but
with previous versions I also saw this message and was able to deploy to
devices ok.
 
Wernfried,

Can you deploy any app at all to the emulator? Make sure you are waiting
long enough - the emulator is VERY slow in this beta compared to the
production legacy one in VS 2003. Sometimes it seems to help if you first
launch the emulator from the Tools, Connect to Device menu option before
attempting to deploy.

The other question I have is what network transport are you using for the
emulator? I find the Microsoft Loopback Adapater is the most reliable with
the current Whidbey. You can specify this stuff under Tools, Device Tools,
Devices, etc.
 
o.k. I've seen the same warning message also on another maschine, where
I'm able to deploy.
Can you deploy any app at all to the emulator? Make sure you are waiting
long enough - the emulator is VERY slow in this beta compared to the
production legacy one in VS 2003. Sometimes it seems to help if you first
launch the emulator from the Tools, Connect to Device menu option before
attempting to deploy.

I can't deploy to none of the emulators, only to "My computer".
As You mentioned, I tried to first connect to the device. Right before I
reinstalled the whole VS2005. And it did deploy one time. I don'nt know,
if it is because of the reinstall or the separate connect to the device.
Thenafter I tried it several time, now I get a message "There where
Deployment errors. Continue?" And it takes a verey ling time to connect
to the device.
The other question I have is what network transport are you using for the
emulator? I find the Microsoft Loopback Adapater is the most reliable with
the current Whidbey. You can specify this stuff under Tools, Device Tools,
Devices, etc.

On my laptop I have a LAN adapter and a WLAN adapter. I've tried it with
both adapters as active. Same error. Now I also installed the Loopback-
adapter (192.168.11.11), no changes. Do I have somehow adopt the
emulator to one of the adapters? Can I select which adapter is used? For
tests I deactivated the other, except loopback, no success.
 
Solved!!!!!!

On my desktop, where it wirks, I had a DGCP server running. And the
standerd settings for the NE2000 card was DHCP. On my laptop I have no
DHCP server. So the NE2000 card got an IP adress iferrent from
192.168.x.x where the loopback adapter is.

After I've set the IP address to a fix address it works.

Thanks, with Your remarks You pointed me in the right direction.
 
Wernfried,

I'm glad you got it working. That's really why the Loopback adapter is
easiest - it works everywhere. But you do need to tell the emulator to use
it - it's on the Tools menu - Options, Device Tools, Device, Emulator,
etc.Once you get to the emulator dialog, you can click on the Network tab
and then select the adapter you want. Note that this is just for the new
emulators and not the legacy ones.
 
Back
Top