Can I develop a WPF application to install on Windows machine using Visual Studio for Mac with .NET Core?
No.
See https://learn.microsoft.com/en-us/visualstudio/productinfo/vs2019-compatibility-mac#platform-targeting
"Visual Studio for Mac does not support Windows client projects like Windows Forms, WPF, or UWP."
You can develop xamarin or unity but no wpf.
I was reading about Windows Phone 8.1 Development, because I already work with Windows Phone 8 and I intend to start working with the new OS version.
Then I downloaded the Visual Studio for Windows with update 4, opened one project of mine (target to WP8) and clicked to "upgrade to 8.1".
I saw that my solution changed the name to "Windows Phone SilverLight 8.1".
Then I tried to create a new project targeting Windows Phone 8.1, and I saw the following options under Visual C# tree (as shows the image):
Universal Apps
Windows Apps
Windows Phones Apps
As my goal is to develop for phone devices with Windows Phone 8.1, I chose "Windows Phone Apps". But I saw that this project is kind different from the other (the one that I upgraded from WP8). It appears "Windows Phone 8.1" on the solution instead of "Windows Phone SilverLight 8.1". And codes are also very different.
So, I made a research about it, to understand the difference between "Windows Phone SilverLight 8.1" and "Windows Phone 8.1", read some posts like this:
Difference between Windows Phone Silverlight 8.1 and Windows Phone 8.1 development
What is the difference between Windows Phone 8.1 and Windows Phone 8.1 Silverlight
In windows phone 8.1 what is the differance between Windows phone project and silverlight project?
but I couldn't find anything that made me understand.
At some point, I found an answer saying that "Windows Phone 8.1" is for Universal Apps... but I disagree, if I wanted to create an Universal App, I would choose the "Universal App" instead of "Windows Phone Apps".
Does anyone knows exactly the difference between this two projects?
The main difference is that Windows Phone 8.1 Store Apps strictly use WinRT APIs which are not available under Silverlight.
Before you read on, this is the short version:
Windows Phone 8.1 Store App code runs on all Windows Phone 8.1+ and Windows 8+ machines, since it uses the unified WinRT API.
Windows Phone Silverlight App code runs on all Windows Phones 7+ but not on all Windows 8 machines (ARM machines do not support all features). That's why Windows Store apps are using different APIs (WinRT). You might want to check out this link: http://msdn.microsoft.com/en-us/library/windows/apps/jj681690%28v=vs.105%29.aspx
Windows Phones were using Silverlight apps only up to version 8 while apps for Windows 8 (an up) offered the WinRT API as well - you may have noticed the Windows 8 RT versions for ARM CPUs..
So - to stop the endless parallelism of Silverlight and WinRT Microsoft decided to unify the development process. Starting from Windows Phone 8.1, Windows Phone also runs WinRT (rebranded as Windows Runtime, I think) apps.
The main advantage is that you can now easily port Windows Phone 8.1 code to a Windows 8.1 app and vice versa, since both are using the same APIs. Accessing files, storage, networking.. it's all the same across Windows Phone and for Windows Store Apps.
This is where Universal Apps come into play. Instead of porting your code later by creating a new project you can now easily create a universal project that contains shared code both for Windows Phone 8.1 and Windows 8.1.
However, the downside is that your app won't run on Windows Phones < 8.1.
The difference is in the framework the app will use.
Silverlight is a plugin like Flash, so if you develop an app that use it, you have to use his library/syntax. It is an old way to develop web and phone applications.
Universal is the new framework that Microsoft develop for help developers to create apps that run both on Windows Phone or Windows Store.
So, what you find in internet is correct: Phone App is for Universal framework.
The voices that VS offers mean:
- Universal App: for any device (Phone/Tablet/PC)
- Phone App: only for Phone (pay attention! Can use any library developed for Universal App since Universal App can run on Phone)
- Windows App: only for Tablet/PC (no phone). You can use Universal App library like Phone App can do
I hope this could help
Silver Light project does have service reference facility while in window phone it is removed so you can use either azure provided services or rest services while developing for windows phone
I have a wpf application and want to make it run on a win 8 Lenovo tablet 2(waiting for delivery).
Can I simply execute the application or I must use VS2010/2012?
Thanks in advance.
You can execute the application normally in any machine in any windows version that has the relevant .Net Framework version installed.
Is it possible to deploy a windows form application to a winRT tablet? Say surface.
The target platform for a win form application is either x86 or x64 and not ARM. Hence I am not able to build a win form application for the tablet and hence could not be executed on the tablet.
Thanks,
Soorya
No, it's not a supported scenario. You can only develop Windows Store (Windows Runtime also known as WinRT) applications to an ARM device running Windows RT. Windows Forms (aka. WinForms) applications are desktop applications leveraging the legacy desktop Windows API/WinAPI/Win32.
I have VS2010 and Expression studio 4 on my machine. I have done a fair amount of programming on Silverlight. What do I need to get started with development on Windows phone 7. I googled and found out that I need to install VS2010 express for WP7 beta. Can't I just use my existing VS2010 installation with some additional templates and an WP7 emulator? And Is it possible to use blend? Is there anything else required to set up dev environment for wp7
Thanks.
You can download and install the Windows Phone Developer Tools Beta and you are ready to go.
Even if you have VS2010 Pro or higher version installed, you still need to install WP Developer Tools .. This will install the templates for WP development in VS 2010 Pro/ultimate for development of WP7 apps. Also Expression Blend for Windows Phone is different from Expression Studio