I have created wcf service with .net framework 4.6.2 developer pack in visual studio 2017 on win 10.
while deploying using exe to client pc which is having .net framework 4.6.2 sdk only giving problem .
in windows log , its showing that 4.6.2 devloper pack is not installed.
how can i acheive this.
Related
I am stuck on an issue building my solution containing .NET 6 project and .NET Framework (4.0 and 4.6.1) projects on Azure DevOps build pipeline (with dotnet build and msbuild task).
I cannot use windows-2019 as build agent coz of .NET 6 and unable to make work windows-2022 coz of .NET framework < 4.8
anyone come across this and know how you/they tackled this situation please?
Upgrading .NET Framework option is an expensive approach time-wise.
Any help appreciated.
Thanks
Azure DevOps : Building Visual Studio Solution containing mixture of .Net 6 and .Net Framework projects
Just as you know, the .NET Core SDK and .NET Framework supported by Windows 2019 are:
And the .NET Core SDK and .NET Framework supported by Windows 2022 are:
So, you could not use the hosted agent Windows 2019 or Windows 2022 to build your mixture projects.
As workaround, you could create your private agent to install the .NET 6 and .NET Framework (4.0 and 4.6.1) SDK on your local machine, if you do not want to upgrade .NET Framework:
Self-hosted Windows agents
Hey I tried to install the latest .NET Framework 6.0.1 from the official Microsoft Website and it shows as installed inside the Visual Studio Installer but I am somehow not able to select it. Neither can I upgrade existing Applications to 6.0 nor create Applications with .NET Framework 6.0.
So i tried installing .NET Framework 5.0 instead but it has the excatly same issues.
The highest Version that I can choose is .NET Framework 4.8.
In case it is important I am on Windows 10 - 21H1 - 19044.1415.
Image 1
Image 2
Image 3
Last version of .NET Framework is 4.8. Last version of .NET is .NET 6. They are not the same thing, .NET is a successor of .NET Core.
I start learning Windows PowerShell 5.1 on Windows 10, newest version. I use the Microsoft PowerShell documentation https://learn.microsoft.com/en-us/powershell/
Q1: It is mentioned that you need Windows Management Framework (WMF) 5.1 for Windows PowerShell 5.1 but in Windows 10 PowerShell 5.1 is allready installed by default. So there is no WMF 5.1 needed, or is WMF 5.1 installed in Windows 10? How can I see if WMF is installed and which version?
Q2: There are also Microsoft .NET Framework requirements for Windows PowerShell 5.1: It requires the full installation of Microsoft .NET Framework 4.5. How can I find which version of .NET Framework is installed on my PC? I see there allready is a version 4.8 runtime and 4.8 developer pack. So I think the best I can do is install 4.8 Developer Pack?
The reason is that if I want to use and install packages from the PowerShell Gallery I need the PowerShellGet module and the PowerShellGet module requires .NET Framework 4.5 or above.
To determine the DotNet Framework version you can check the registry or use a 3rd party tool: link
For example, you can run this:
(Get-ItemProperty "HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full").Release
and then check the release table:
.NET Framework 4.5 378389
.NET Framework 4.5.1 378675
.NET Framework 4.5.2 379893
.NET Framework 4.6 393295
.NET Framework 4.6.1 394254
.NET Framework 4.6.2 394802
.NET Framework 4.7 460798
.NET Framework 4.7.1 461308
.NET Framework 4.7.2 461808
.NET Framework 4.8 528040
I have install microsoft vs 2012 ultimate into windows 7, but it does not include .net framework 4.5 multi targeting pack. So, where can I get the multi targeting pack and install it?
You can find it here on MSDN: .NET Framework Multi-Targeting Packs and SDK’s for Visual Studio 2012
I have Windows server 2008 standard service pack 1 with .Net FrameWork 3.5 sp1, can I install
Microsoft 4.5 framework without installing Microsoft framework 4.0 before?
Also if you look at the system requirements you will see that prerequisite is Windows Server 2008 SP2 while I have only SP1 and it seems I can't install SP2.
I just installed 4.5 on Win2K8 Server and it installed fine (without installing 4.0 prior).
NOTE: In IIS the application pool will still show up at 4.0 although the 4.5 install succeeded.