Migrating from Win7 to Win10 - will my C# projects work? - c#

I plan to install Windows 10 instead of Windows 7. But I'm a bit scary about it. Does my old projects from Visual Studio 2010 Ultimate will work?
I've got few apps in C# .Net Framework 3.5 which I have to maintain and I'm not sure, whether newest visual studio on Windows 10 will work correctly with such old framework. If so, should I install same VS as before, or newest one?

Related

Smart Device development for Visual Studio 2017

I am currently assigned to migrate an existing Smart Device application built using visual studio 2005. I tried to migrate the application to Visual Studio 2017 without changing the framework and settings. I have already spent some time doing some research but no luck so far.
This is the error I'm encountering:
Any leads or advice is appreciated.
I guess you are talking Windows Mobile 6.x projects. Unfortunately,
support for mobile application development for versions of Windows Phone prior to Windows Phone 7.0
has been dropped with Visual Studio 2010.
The last version that supported this application type is Visual Studio 2008. Usually, you can install different versions of Visual Studio without problems. Nonetheless, this is a very old version and it might be worth to keep it on a separate machine.
You are stuck with Visual Studio 2005 or use VS2008. That's it.

.NET version in Visual Studio

What is the difference between .NET Framework Version
4.6.01038
and
4.6.01055
Both VS installs have Update 3, first one is Windows 10, second one is Windows 7. I assume both refer to .NET 4.6.1 but why is there a version difference?
There are also differences in C# and F# keys, AA015 and AA499.
I believe that comes from the version installed on your machine. On my computer, the .Net version displayed in the Visual Studio about box matches the version displayed in Control Panel >> Programs and Features.
You can also check your Windows registry to confirm the installed version:
https://support.microsoft.com/en-us/kb/318785
In your case, my guess is you have a later revision of 4.6 installed (01055) on your Windows 7 OS than the one on your Windows 10 OS (01038).
As far as your Visual Studio keys, I think when you activate Visual Studio on a machine it generates a specific key tied to your particular system. Not super familiar in that department though so maybe someone else can elaborate on that. Hope this helps! :)

Upgrading C# project from VS 2010 to 2013; need to make it work for Windows 8 and 10

I inherited a C# app written in Visual Studio 2010 professional. From the compile done in VS 2010, the C# app works perfectly in Windows XP and Windows 7.
Now I am about to install Visual Studio 2013 for the first time tomorrow, and load the C# app.
I have 2 immediate goals:
Upgrade my project to work in VS 2013 Professional. I am not sure
if/what obstacles I may run into here, but if anyone has any suggestions I am all ears.
More importantly, I have 2 new prospective users for my app - one wants to use it in Windows 10, the other in Windows 8. However, I don't know the steps I
have to take to make my C# app work for these newer operating
systems. Are there specific steps I will have to take (or settings to
assign) in Visual Studio 2013 so that my C# app will work for Windows
8 and Windows 10? If someone knows the answer to this, can you please
make it clear whether I should be making separate builds for each
target operating system, or if the steps you suggest will allow me to
build this for all 4 operating systems included in the same build?
Thanks very much, really appreciate any input.
Adam
For the most part the project should auto update just fine. You might want to make a back up incase it upgrades incorrectly and it doesn't create a back up on its own.
The boxes you deploy to might need a visual studio 2013 redistributable which will be apparent if they crash when opening on the deployment machine

What version of Visual Studio to target windows XP builds?

I want to develop a business application using WPF/C# .NET. The application will have lots of modern gui widgets and functionality such as dockable views and a ribbon. The application should also run on Windows XP as well as Windows 7 and 8.
What Visual studio .NET version should I use? I've heard that in VS 2012/2013 you can't target xp. Is that the case?
Use Visual Studio 2013 and develop on a Windows 7/8 system.
You can target XP easily by just changing the .NET framework from 4.5 to 4.0
UPDATE: As #hvd has stated in the comments, be sure you test your product on an XP machine (or on a machine that has only .NET 4.0)
http://news.kynosarges.org/2012/08/01/no-net-4-5-for-xp2003/
Its more of .Net framework and not IDE specific.
.Net 4.5 framework cannot be installed on XP machines. So if you are talking about development machines, its true you can't go with VS 2012/2013 since 4.5 in installed by default with them.
But if you are talking about customer machines here, you can use Windows 7/8 for development with 2012/2013 IDE but project should target .Net 4.0 framework or below.
I think Visual Studio 2013 natively supports .Net v4.5, which does not support Windows XP. Even VS2012 requires Windows 7.
And if you want to target XP then you can switch the .NET version to 4.0. So its about the framework rather than IDE
If you want a XP support on Visual Studio then you have to use the Visual Studio 2010 version.

.NET framework 4 as prerequisite in VS 2008

How can I include .NET Framework 4 as a prerequisite in Prerequisite Dialog Box in VS 2008.
My purpose is in Launch Condition of setup and deployment project, .NET Framework 4 should be present and get installed with installer. (I would not prefer that installer downloads it from internet, rather from same place as my application start up).
Thanks in advance.
Visual Studio 2008 doesn't support .NET 4.
If you want to develop using .NET 4 you will need to upgrade to Visual Studio 2010.

Categories