"Could not find resource assembly" with Smartphone

M

Marcos Mello

This error has been posted all around the net and is described by the .NET
Compact Framework Team themselves here:
http://blogs.msdn.com/netcfteam/archive/2004/08/06/210232.aspx

My problem does not rest here. If I create a new project of type 'Windows CE
5.0' - 'Device Application', everything works as advertised. When I do get
an error, I get the exact error description that I am looking for. However,
if I create another new project of type 'Smartphone 2003' - 'Device
Application (1.0)' and copy in the *exact* code from the first project, I
get the now infamous 'Could not find resource assembly' error.

So I peruse my harddrive for the elusive 'System_SR_[Language].CAB' files. I
do find two sets of them at the following locations:
C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v1.0\WindowsCE\Diagnostics
C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\Diagnostics

As you can see, there are only WindowsCE versions of these files. This
explains why Visual Studio displays the proper message for the WinCE app and
not the Smartphone one. For giggles, I tried to install the CE version on
the Smartphone emulator and got the expected invalid version message.

So this seems quite simple to me: I need the Smartphone version of these
files. But as is constant in life, nothing is ever that simple. I can not
find them anywhere. I have looked everywhere and it is as if they do not
exist.

This is what I currently have installed:
Visual Studio 2005
ActiveSync 4.0
Microsoft .NET Compact Framework 2.0
Microsoft Device Emulator version 1.0
Microsoft Smartphone 2003 SDK

As a side note and I do not know if this is related or not, I am only able
to create .NET version 1.0 applications. There are no project templates
installed for version 2.0. Doubt it is related but thought I would mention
it.

If anybody can throw a little light onto the possible existance of these
files or tell me that I am going about this completely wrong, either would
be greatly appreciated.

Thank you.
 
I

Ilya Tumanov [MS]

Please try System_SR_ENU_wm.cab in ProgramFiles%\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v1.0\WindowsCE\Diagnostics
Note SP 2003 can only run NETCF V1.
--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
M

Marcos Mello

Excellant and thank you Ilya. Your information cleared up a lot for me. I
did find the file you mentioned and was able to manually install it on the
emulator. I then received the error messages I was looking for. However, it
also raised two questions:

1) Why does Visual Studio not automatically install the system resources cab
file when running an appplication from the IDE as it does for a WinCE
project?
2) Is there a CF SDK newer than 2003 that that supports .NET v2.0? And, if
not, is there one on the horizon?

Thanks again for the assistance.

Ilya Tumanov said:
Please try System_SR_ENU_wm.cab in ProgramFiles%\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v1.0\WindowsCE\Diagnostics
Note SP 2003 can only run NETCF V1.
--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no
rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

Marcos Mello said:
This error has been posted all around the net and is described by the
.NET Compact Framework Team themselves here:
http://blogs.msdn.com/netcfteam/archive/2004/08/06/210232.aspx

My problem does not rest here. If I create a new project of type 'Windows
CE 5.0' - 'Device Application', everything works as advertised. When I do
get an error, I get the exact error description that I am looking for.
However, if I create another new project of type 'Smartphone 2003' -
'Device Application (1.0)' and copy in the *exact* code from the first
project, I get the now infamous 'Could not find resource assembly' error.

So I peruse my harddrive for the elusive 'System_SR_[Language].CAB'
files. I do find two sets of them at the following locations:
C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v1.0\WindowsCE\Diagnostics
C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\Diagnostics

As you can see, there are only WindowsCE versions of these files. This
explains why Visual Studio displays the proper message for the WinCE app
and not the Smartphone one. For giggles, I tried to install the CE
version on the Smartphone emulator and got the expected invalid version
message.

So this seems quite simple to me: I need the Smartphone version of these
files. But as is constant in life, nothing is ever that simple. I can not
find them anywhere. I have looked everywhere and it is as if they do not
exist.

This is what I currently have installed:
Visual Studio 2005
ActiveSync 4.0
Microsoft .NET Compact Framework 2.0
Microsoft Device Emulator version 1.0
Microsoft Smartphone 2003 SDK

As a side note and I do not know if this is related or not, I am only
able to create .NET version 1.0 applications. There are no project
templates installed for version 2.0. Doubt it is related but thought I
would mention it.

If anybody can throw a little light onto the possible existance of these
files or tell me that I am going about this completely wrong, either
would be greatly appreciated.

Thank you.
 
I

Ilya Tumanov [MS]

1. Most likely VS was trying to deploy SR CABs but failed because it's
signed with test certificate.

2. SP 2003 does not support NETCF V2. WM 5.0 does, you'll need to install WM
5.0 SP and/or PPC SDK to get WM 5.0 native (C++) support and emulators.


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

Marcos Mello said:
Excellant and thank you Ilya. Your information cleared up a lot for me. I
did find the file you mentioned and was able to manually install it on the
emulator. I then received the error messages I was looking for. However,
it also raised two questions:

1) Why does Visual Studio not automatically install the system resources
cab file when running an appplication from the IDE as it does for a WinCE
project?
2) Is there a CF SDK newer than 2003 that that supports .NET v2.0? And, if
not, is there one on the horizon?

Thanks again for the assistance.

Ilya Tumanov said:
Please try System_SR_ENU_wm.cab in ProgramFiles%\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v1.0\WindowsCE\Diagnostics
Note SP 2003 can only run NETCF V1.
--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no
rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).

Marcos Mello said:
This error has been posted all around the net and is described by the
.NET Compact Framework Team themselves here:
http://blogs.msdn.com/netcfteam/archive/2004/08/06/210232.aspx

My problem does not rest here. If I create a new project of type
'Windows CE 5.0' - 'Device Application', everything works as advertised.
When I do get an error, I get the exact error description that I am
looking for. However, if I create another new project of type
'Smartphone 2003' - 'Device Application (1.0)' and copy in the *exact*
code from the first project, I get the now infamous 'Could not find
resource assembly' error.

So I peruse my harddrive for the elusive 'System_SR_[Language].CAB'
files. I do find two sets of them at the following locations:
C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v1.0\WindowsCE\Diagnostics
C:\Program Files\Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\Diagnostics

As you can see, there are only WindowsCE versions of these files. This
explains why Visual Studio displays the proper message for the WinCE app
and not the Smartphone one. For giggles, I tried to install the CE
version on the Smartphone emulator and got the expected invalid version
message.

So this seems quite simple to me: I need the Smartphone version of these
files. But as is constant in life, nothing is ever that simple. I can
not find them anywhere. I have looked everywhere and it is as if they do
not exist.

This is what I currently have installed:
Visual Studio 2005
ActiveSync 4.0
Microsoft .NET Compact Framework 2.0
Microsoft Device Emulator version 1.0
Microsoft Smartphone 2003 SDK

As a side note and I do not know if this is related or not, I am only
able to create .NET version 1.0 applications. There are no project
templates installed for version 2.0. Doubt it is related but thought I
would mention it.

If anybody can throw a little light onto the possible existance of these
files or tell me that I am going about this completely wrong, either
would be greatly appreciated.

Thank you.
 

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