Select to view content in your preferred language

ArcGIS for Windows Mobile custom extension - target DotNet framework ?

2160
2
06-09-2013 11:51 PM
VishApte
Esri Contributor
Hi all,

I have a requirement that needs custom extension for ArcGIS for Windows Mobile on Windows 8. To use some of the third party and Windows SDK tools, I need to target my custom extension on DotNet framework 4.5. However, it seems that ArcGIS Mobile Project Centre does not identify customisations with target framework other than 3.5. Is it expected or am I doing something wrong?

Regards,
Vish
0 Kudos
2 Replies
DeniseKing
Esri Regular Contributor
Vish,

ArcGIS  Mobile SDK requires the .NET compact framework 3.5 or higher; you should use Visual Studio 2008 to develop custom applications to run with Windows Mobile SDK as there are no Mobile SDK tools available for Visual Studio 2010. For more information review the ArcGIS Runtime for Windows Mobile Help documentation found here, http://resources.arcgis.com/en/help/windows-mobile-sdk/concepts/#/Frequently_asked_questions/01sp000....

Cheers,
Denise
0 Kudos
VishApte
Esri Contributor
Hi Denise,

I started my extension project with Visual Studio 2008 to use plugin that creates required projects (Project Centre, Win and Win Mobile). I compiled and copied DLLs to necessary folders. I could see and use the extension in MPC.

I then opened the same project in VS2012, changed the target framework to 4.5 and recompiled, no other changes. This time MPC could not see the extension. When I targeted the framework back to 3.5 still in VS2012, surely the extension started appearing in MPC extension list. So my guess is somewhere MPC checks the dotnet framework version of the dll found in the C:\ProgramData\ESRI\MobileProjectCenter\Extensions folder, though I am not sure why.

Cheers,
Vish
0 Kudos