What IDE (and version) and it components should I use to build that app? For now I write in C# so that will be cool if it is possible
This is what i use for wm:
VS 2008 pro, Microsoft .NET Core SDK 2.1 (x64), Windows Mobile 5.0 Pocket PC SDK. Im not sure about Davide Piras' answer above. I have never heard that anyone managed to install WM 6 project profiles in any VS above 2008 version. Beside v2008, i also have VS2012 installed and it doesnt register any MW project from Mobile SDK 5.0.
in the past i used Visual Studio .NET 2005 with the .NET compact Framework, that allows you to build apps for windows mobile 6.
mind that there is no above, Windows Phone ( 8 or 10 ) is a completely different beast than Windows Mobile 6 and app development for Windows Phone is still done in .NET but I don't think you have code or binary compatibility between Windows Mobile and Windows Phone.
Related
I need to release an application that:
must not be installed
must not involve the installation of dependencies for its execution if they are not installed on the PC in use (no versions of C ++, versions of .net Framework, etc ...).
For this purpose I made the application in .NET 5.0 and published it according to the settings visible in the image.
In the settings I specify the Self-Contained property.
Running the application on Windows 11, Windows 10 and Windows 8.1 I have no problems but on Windows 7 I have a .NET Runtime ID 1023 error as in the image.
What could be the problem? How should I publish the application so that I don't need to install anything?
Unfortunately Windows 7 SP1 is supported only with Extended Security Updates installed. The same statement also applies to net6.
I managed to get it to work (with net6) by installing those updates from the Microsoft Update Catalog:
Windows6.1-KB3063858-x64.msu
Windows6.1-KB2999226-x64.msu
Win7AndW2K8R2-KB3191566-x64.zip
this is Windows Management Framework 5.1
Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.29.30135
In addition, in some installation, I had to also install PowerShell v7.2.1 .
I was unable to run the application on a fresh install of Windows 7 SP1 in any way.
I have about 20 app demos, mostly for Windows Mobile but some for Windows CE. They were all created in Visual Studio 2008 for Mobile 6.1, Mobile 6.5, and CE 5.0. They are a mix of C# and VB.NET. I've been asked to update them.
I've done a fair bit of research, and I understand you can't do the standard Visual Studio project conversion, but is there anyway to salvage these projects? Ideally, I need to get them running on the current version of Windows Mobile/CE and compiling in the current Visual Studio. Is there any hope for them?
The latest version of Windows Mobile/CE is WEC 2013, and is supported in VS2012 and later. Note that for .NET CF development you will need an Application Builder SDK from the device vendor.
Whether you will be able to port the applications really depends on what they do.
For instance, one of the main differences between CE 5.0 (and its mobile derivatives that you mention) and WEC 2013 is that in WEC 2013 user mode code can no longer access hardware directly, so if the applications rely on direct hardware access you will need to find or implement device drivers to do this. On a related note, P/Invoke is always a potential cause for concern when porting.
You'll also need to determine if the target device includes all the OS features that are required by the applications. Remember Windows CE / WEC are componentized OS's, and the device vendor might have excluded features from the OS image that the applications need in order to function.
I need to make an app for a windows ce 6 device, but i haven't find any emulators for this type of operating system and I don't have the device. I only get windows ce 5 or windows mobile 5 and 6 emulators. If a write the app for a windows mobile 6 can it be installed afterwards on a windows ce? will it work? They both use net framework 3.5. If not what can I do? Any suggestions?
Thank you.
You have to write your app against Windows CE not Windows Mobile!
Apps written, compiled against Windows Mobile have references to shell functions (aygshell) that are not available on WM.
You should get a Windows CE Platform SDK for the device you are writing for by the OEM. That should enable you to run an emulator.
see also https://msdn.microsoft.com/en-US/library/ee504799%28v=winembedded.60%29.aspx
BTW: you can run Compact Framework app on your PC without any change as long as they do not reference any CE only functions.
I have windows 8.1 64 bit with visual studio 2013. But I want to develop C# application which will run on all Windows operating system xp,vista,7,8,8.1 32bit&64bit.
Is it possible to develop universal C# application for 32&64 bit xp,vista,7,8,8.1 OS.???
As pointed out in the comments, you can use .NET 4.0 to do this, and compile with Any CPU. Don't use 4.5 or later, as it's not supported on Windows XP.
You can even back-target your app all the way to the 2.0 runtime if you have a very simple application and you want to have the widest availability without having to install a later version of the .NET Framework on old machines. You give up a lot when you do this, though. I recommend just targeting 4.0 and being done with it.
Will their be a new release of the compact framework with VS2010 and .net 4.0 and if so what new features will it include?
WPF?
linq to SQL?
etc
Visual Studio 2010 only supports developing for windows phone 7. This is a silver light based framework, it does not support win forms or native code.
VS2010 can not be used to develop for Windows Mobile 6.5 or lower.
You can however install VS2008 along side VS2010.
From what I heard from guys in redmond, there will be a mobile silverlight platform for both windows mobile and nokia (symbian, I think).
The "silverlight mobile" platform should be built on top of the compact framework, so it will NOT be a port of the desktop version.
There seems to be an information embargo on Windows Mobile right now, but I think things will be much clearer once Windows Mobile 7 is out.
I'm not sure about 4.0 for compact devices (although it seems likely),
and I don't know about WPF either, but I can tell you they are going to provide Silverlight for mobile devices giving you access to a subset of WPF.
Haven't found any other references yet...
You can go here and vote to have Microsoft add Compact Framework Support for Visual Studio 2010.
UPDATE: MS has more or less abandoned existing feature requests in Connect. Please go to the new User Voice site to vote for this feature.
There's an unofficial release of CF 3.7 kicking around the intertubes:
http://www.google.com/search?q=compact+framework+3.7&rls=com.microsoft:en-us&ie=UTF-8&oe=UTF-8&startIndex=&startPage=1
It appears that someone ripped it off a ROM image and dropped it in a torrent.