Vs2017 how to build target Windows 7 - c#

i have one project that runs on windows 7 machines
Well windows 7 embeded, but that still uses win7 SDK.
Its a combination of windows C# and C++
Under vs2017 i no longer have the option to build to the windows 7 target platform (C++ and c#), the lowest i have is windows 8.1
Trying to install 7 sdk results in all kind of chickken egg problems
Took me 2 days install vs2017 with a working c++ crt, so i hope there is a way to re-add win 7 sdk for vs2017.
Or maybe I wonder is there an option to build 8.1 but not use too advanced futures, as 8.1 and 7 besides the glitter graphics was not such a huge change (ea most win 7 apps run fine on 8.1, and i never saw serious programs who worked only on 8.1) Maybe even 8.1 SDK has some backward compatibility build in?

Related

How to make simple C# app which works on both Win 7 and Win 10 without installation

We built a simple C# Windows Application with VS 2017 targeting .NET Framework 4.6.
The app works fine as a .exe file on other Windows 10 PCs. However, some PCs are still running on Windows 7 and we would like the app to be able to work on Winodws 7 as well as Windows 10 without further installations of .NET framework or App installation. In other words, just putting .exe file of the app on Windows 7 or Windows 10 and it works.
I thought to target a .NET framework 3.5 or 4 but this needed further installations on either Windows PCs.
Any help from the professionals is appreciated.

Backwards compatibility for Windows Phone 8.0 apps

I've got a small app that was built and shipped for Windows Phone 8.0. I need to publish a small update and I'm encountering all sorts of IDE bugs & missing classes/types when upgrading to VS2015/WP8.1 platform.
So, I'd like simply to keep the app at WP 8.0 but:
Question 1: Will this app run on WP 8.1 and Windows 10 phones?
Question 2: Will Microsoft's app store let me publish this update despite target platform being 8.0?
Firstly, Microsoft provides awesome backward compatibility when it comes to running your old OS apps on new devices. As per your question,
Yes, all your apps that were built to target windowsphone 8.0 OS will run successfully with no issues on all latest windows supported MOBILE devices.
I have tested my old Windowsphone 8.0 OS apps on latest windows 10 preview without any issues.
You can easily support your app with new updates based on windowsphone 8.0 OS. You will have no problem submitting your ( .xap ) packages on the new Windows 10 dashboard.
A large portion of windowsphone mobile devices ,the old lumias still don't have windows 10 yet so there is still a market for your apps. You don't have to consider your apps dead just because you belong to an older OS version.
You're encountering these missing types because Windows Phone 8.0 apps are written in Silverlight and Windows Phone 8.1 (on VS 2015) and Windows 10 are Windows Runtime apps. This is a different API, so some types are moved to other namespaces (most likely for small apps) or completely missing.
Your app should still run on WP 8.1/10 devices, although they might not scale perfectly to the newest screen ratios and will miss access to the newest features of these platforms.
For extra help on getting your app packaged and published, check this reply on another SO question.

Windows Store Apps unavailable in VS 2015 RC

I am trying to create my first Store app for Windows 8.
I installed VS2015 RC and the Windows Software Development Kit for Windows 8 (I followed the instructions at this page).
Unfortunately I can't see the Windows Apps templates in VS, differently from what the link shows .
I am running VS2015 Enterprise RC on a Windows 7 machine.
What am I missing? Thank you
Minimum required OS for developing Windows Store Apps is Windows 8. With Windows 7 you wont be able to develop Store apps.

Can a Windows Phone 8 device be used for testing apps built with WP SDK 7.1

The short story is: I have my laptop that has a processor without Virtualization and Second Level Adress Translation capabilities that are required for running the new Windows Phone 8 SDK.
I can however use the windows phone 7.1 sdk, but for testing my apps i will use a windows phone 8 device.
Is it possible to deploy and test my apps on the connected WP8 device, altough i am using the 7.1 SDK that predates the WP8 os?
I don't think it's possible to deploy apps using WP7.1 SDK on WP8 devices, however, you can install the Visual Studio 2012 + Windows Phone 8 SDK (if you have Windows 8 x64) even when you don't have SLAT enabled CPU. The Windows Phone 8 SDK will work, only you won't be able to launch the WP8 emulator.
No you cannot, The .xap packing mechanism in Windows phone 7.1 and 8 are different so you cannot deploy this xap using deployment tool. But, if we are using windows 8 + wp8 dev tools you can debug the application that developed on 7.1. In future after the launch of wp 7.8 ms may provide a solution for this. for now there is no other alternative is available in front of you

Is there a way to create a windows phone 8 app in windows 7 and visual studio 2012

Is there a way to create and test an app (emulator for windows phone 8) in visual studio 2012 and windows 7? I got all the proper SDKs etc from Dreamspark but I cannot seem to find a way to do it in windows 7. It's only "doable" in windows 8?
probably not, Microsoft only released it for Windows 8, but you can always have a virtual machine and Dreamspark also has licenses for Windows, so you won't have any issues with that neither.
No. Running the WP8 emulator on Win7 won't work. The WP8 emulator is based on Hyper-V which isn't supported on Win7. You can still develop WP8 apps on WIn7 and deploy to a real device. Or you should upgrade your Win7 installation to Win8 using your fre dreamspark license and then you could use the WP8 emulator.
No, the WP8 SDK will only run on Windows 8.A reason is the hypervisor in Windows 8 is used to emulate or virtualise Windows phone 8 machines. That and marketing of course.

Categories

Resources