build .net 5 on Windows server 2012 R2 - .net-5

How to set TFMs on Windows Server 2012 R2?
https://blogs.windows.com/windowsdeveloper/2020/11/10/announcing-c-winrt-version-1-0-with-the-net-5-ga-release/
In the above article said the following are supported(only?) to enable WinRT API
net5.0-windows10.0.17763.0 (Windows 10, version 1809)
net5.0-windows10.0.18362.0 (Windows 10, version 1903)
net5.0-windows10.0.19041.0 (Windows 10, version 2004)
While my build server is Windows Server 2012 R2, after I set the TFMs to net5.0-windows10.0.19041.0, it said cannot find the SDK, my thought
1, I cannot find any article said I can set a net5.0-windows2012.xx.xxx.xx.
2, I don't want to install a windows10.0.19041.0 SDK on Windows 2012(it's not reasonable).
3, I don't want to upgrade the stable build server Windows 2012 R2 to latest such as Windows 2019?
what should I do?
p.s. I think same issue is on Windows 8.1

Related

Does Katalon Studio works on Windows Server 2012 R2 standard?

Katalon Studio is not working on Windows Server 2012 R2 standard while installing Win App Driver for Desktop Application Automaton it states it is only supported for Windows 10, Windows Server 2016 or higher can anyone support for the same
Apparently, Katalon Studio is not supported on Windows Server 2012, as stated by this thread, but is supported on Windows Server 2016.
This might not be clear from OS Requirements, at first glance.

I can't install any Visual Studio on Windows 7 Ultimate? [duplicate]

I would like to install Visual Studio 2013 on Windows 7 64-bit.
For some reason, the installer says "Setup Blocked" with an error "This version of Visual Studio requires a computer with a newer version of Windows".
This error is not exactly descriptive of what's wrong. The least I could do was verify that I have the following installed :
Windows 7 Professional (64-bit) with Service Pack 1
Internet Explorer 10
Version: 10.0.9200.16750
Update Versions: 10.0.12 (KB2898785)
All Windows Updates that were available for installing on 11th of Dec. 2013.
Executed the installer with the /log winexp.log argument and got the following : winexp.log.
Any ideas of what else could be the problem ?
Thanks.
Edit : by looking at this question there was a crack that allowed installing Windows Phone's SDK on Windows 7 - does anyone know a similar solution for VS 2013 ?
The minimum requirements are based on the Express edition you're attempting to install:
Express for Web (Web sites and HTML5 applications) - Windows 7 SP1 (With IE 10)
Express for Windows (Windows 8 Apps) - Windows 8.1
Express for Windows Desktop (Windows Programs) - Windows 7 SP1 (With IE 10)
Express for Windows Phone (Windows Phone Apps) - Windows 8
It sounds like you're trying to install the "Express 2013 for Windows" edition, which is for developing Windows 8 "Modern UI" apps, or the Windows Phone edition.
The similarly named version that is compatible with Windows 7 SP1 is "Express 2013 for Windows Desktop"
Source
Visual Studio Express for Windows needs Windows 8.1. Having a look at the requirements page you might want to try the Web or Windows Desktop version which are able to run under Windows 7.
Visual Studio 2013 System Requirements
Supported Operating Systems:
Windows 8.1 (x86 and x64)
Windows 8 (x86 and x64)
Windows 7 SP1 (x86 and x64)
Windows Server 2012 R2 (x64)
Windows Server 2012 (x64)
Windows Server 2008 R2 SP1 (x64)
Hardware requirements:
1.6 GHz or faster processor
1 GB of RAM (1.5 GB if running on a virtual machine)
20 GB of available hard disk space
5400 RPM hard disk drive
DirectX 9-capable video card that runs at 1024 x 768 or higher display resolution
Additional Requirements for the laptop:
Internet Explorer 10
KB2883200 (available through Windows Update) is required
And don't forget to reboot after updating your windows
Fake IE10 to install Visual Studio 2013
Visual Studio 2013 requires Internet Explorer 10. If you try to install it on Windows 7 with IE8 you get the following error This version of Visual Studio requires Internet Explorer 10”.
The value that the VS 2013 installer checks is svcVersion in the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorerkey on 32-bit Windows and
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer on 64-bit Windows. Any value >= 10.0.0.0 makes the installer happy.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer]
"svcVersion"="10.0.0.0"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer]
"svcVersion"="10.0.0.0"
your log files shows it is stopping on error "0x8004C000"
From MS Website (http://social.technet.microsoft.com/wiki/contents/articles/15716.visual-studio-2012-and-the-error-code-2147205120.aspx):
Setup Status
Block
Restart not required
0x80044000 [-2147205120]
Restart required
0x8004C000 [-2147172352]
Description
If the only block to be reported is “Reboot Pending,” the returned value is the Incomplete-Reboot Required value (0x80048bc7).

Is it possible to migrate vb6 application running on windows server 2003 to windows server 2012

we have an application running on windows server 2003 which needs to be migrated to windows sever 2012. Is it possible to do the as is migration without actually updating the application. The application is currently scheduled in windows scheduler on windows server 2003. Also please suggest if we can achieve this with any migration tool.
VB6 applications should generally work without changes in all current Windows versions, including Server 2012 R2 and Windows 10. The official word at Support Statement for Visual Basic 6.0 on Windows Vista, Windows Server 2008, Windows 7, Windows 8 and Windows 8.1, Windows Server 2012, and Windows 10 is:
The Visual Basic team is committed to “It Just Works” compatibility for Visual Basic 6.0 applications on the following supported Windows operating systems: Windows Vista, Windows Server 2008 including R2, Windows 7, Windows 8 and Windows 8.1, Windows Server 2012 including R2, and Windows 10.
Now, you mention that this particular app is currently scheduled in windows scheduler. There have been significant changes between Server 2003 (or Win XP) and 2012 (or Win 8.x) in areas of security, file/registry virtualization, UAC etc. If your app violates any of the new rules, then it may require an update - but that would be because of what it does, and not because it's written in VB6.
I've installed several .exe created in vb6 in Windows Server 2012 R2 without problem.
The only question was the use of an very old setup.exe for installing, that was replaced to using an setup.msi, but the .exe and .dll and even .ocx incuded in the solution all works.

VS 2012 and windows 2008 Server Enterprise

When I try to install Visual Studio 2012 on Windows Server 2008 Enterprise, I have a error message from installer.
You must upgrade or update Operating Systems to the latest Service Pack using Window Update to meet the requirement before installing this products.
For Windows 8, this product is not compatible with pre-released versions of Windows 8. Please upgrade to latest release version of Windows 8.
This computer does not meet the setup requirements. For more information, see the readme.
http://go.microsoft.com/fwlink/?LinkId=255962
I already installed every update on Operating system.
What have I do to install VS2012 Ultimate ?
It is clearly stated by Microsoft that only 4 Windows releases are supported by Visual Studio 2012, and Windows Server 2008 (non-R2) is not qualified,
Windows 7 SP1 (x86 and x64)
Windows 8 (x86 and x64)
Windows Server 2008 R2 SP1 (x64)
Windows Server 2012 (x64)
http://www.microsoft.com/visualstudio/eng/products/visual-studio-ultimate-2012#product-edition-ultimate-requirements
I believe the link included in the error message can also lead you to this information.
So stop your fight in vain and try to build a qualified machine.

What is the minimum OS for binaries created with VS2010?

This might sound like a stupid question, but I'm asking because my boss wants to know. What is the minimum Windows OS for binaries created with Visual Studio 2010? Not all the developers on the team have the Windows SDK installed. I know with it you can target down to Windows XP, but any idea what you can target without Windows SDK?
Actually you set WINVER in any header file before the core window.h is included, this determines which OS is required by the binary.
Visual Studio 2005
Windows 98, Windows 98 Second Edition
Windows Millennium Edition
Windows 2000
Windows XP
Windows Server 2003
Visual Studio 2008
Windows 2000
Windows XP
Windows Server 2003
Windows Vista
Visual Studio 2010
Windows XP
Windows Server 2003
Windows Vista
Windows Server 2008
Windows 7
Windows Server 2008 R2
Visual Studio 2012
Windows XP
Windows Server 2003
Windows Vista
Windows Server 2008
Windows 7
Windows Server 2012 R2
Windows 8
From:
http://msdn.microsoft.com/en-us/library/vstudio/ms235435.aspx
And for history's sake:
VC6 for Win95, NT 3 & 4, Win2K and other older operating systems
Use Visual C++ 1.52 or Microsoft QuickC for 16-bit or DOS

Resources