dot net 4 program asks for dot net 3.5 to be installed

supportedruntime net core
is net 3.5 installed
how to check net framework version in visual studio 2017
net framework versions
net framework install location
check version
net framework 3.5 installation error
how to check the net framework version of an application

I have a program that I've set the target framework to dot net 4, but when I run it on a machine without dot net 3.5 (windows 8.1 machine with dot net 4.5.2 installed), it asks to install dot net 3.5 when my code gets to using a process to start a batch file.

I've tried re-targetting it to use dot net 4 full, but that hasn't helped, and I've used dotPeek to check the framework targetted and IL Disassembler, and they both only show dot net 4.

Any ideas?

It's possible that one of the libraries involved has a dependency on 3.5. Ensure that all assemblies are using the same .Net version.

How to: Configure an app to support .NET Framework 4 or later , How install NET Framework 3.5 includes .NET 2.0 and 3.0 offline? Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. Learn more Dot net 3.5: does dot net 3.5 provides some api to calculate crc32 for input data?

Windows 8 does not include .NET 3.5 (include .NET 2.0 and 3.0) by default. But if the user is upgrading from Windows 7 to Windows 8, .NET Framework 3.5 is fully enabled. The user can make sure this feature is enabled by check in Program and Features.

These is list of steps that the user can do to check it :

How to enable .NET Framework 3.5

If your computer has no .NET 3.5 installed there is no CLR to start for your app. .NET 4.0 is not automatically used for your app because of potential compatibility issues. First test that your app does run with .NET 4.0 and then add this section to your app.config to tell the CLR to prefer running .NET 4.0 if present.

      <supportedRuntime version="v4.0.30319"/>

Please check this answer

Install the .NET Framework developer pack or redistributable , How do you install .NET Framework 3.5 includes .NET 2.0 and 3.0 offline in Windows 10? The .NET Framework 4.5 is a highly compatible, in-place update to the .NET Framework 4. By using the .NET Framework 4.5 together with the C#, Visual Basic, or F# programming language, you can write Windows apps.

I've found the problem, the batch file called installutil.exe, and it was this that was causing the request for the dot net framework 3.5.

Once I copied over installutil.exe from the c:\windows\\framework\v4.xxxxxxx folder, the program then behaved itself.

Thanks for all the prompt responses though :-)

How to solve NET Framework 3.5 Installation Error(Doing it live , NET Framework 3.5 installed, to take advantage of the performance improvements in versions 4 and later versions. Important. We recommend  The following table demonstrates how application configuration file settings and the .NET Framework versions installed on a computer determine the version that a .NET Framework 3.5 app runs on. The examples are specific to a .NET Framework 3.5 application, but you can use similar logic to target applications built with earlier .NET Framework

Professional ASP.NET 3.5 Security, Membership, and Role Management , NET Framework version, you can't install a previous 4.x version on the same NET Framework 3.5 on Windows 10, Windows 8.1, and Windows 8. NET Framework redistributable for distribution with your app or control. The .NET Framework 4.5 adds substantial improvements to other functional areas such as ASP.NET, Managed Extensibility Framework, Windows Communication Foundation, Windows Workflow Foundation, and Windows Identity Foundation. The .NET Framework 4.5 delivers better performance, reliability, and security.

.NET Framework version history, Please watch our new work on How to order food in zomato step by step at the following link https Duration: 5:03 Posted: Mar 13, 2013 Internet Information Services (IIS) version 6.0 or later. To access the features of ASP.NET, IIS with the latest security updates must be installed before the .NET Framework is installed. ASP.NET is supported only on Windows XP Professional, Windows Server 2003, Windows Server 2008, and Windows Server 2008 R2.

Building Applications for Different .NET Framework Versions , VB.NET. Dim wr As HttpWebRequest = CType( _ WebRequest. NET application that is configured with medium or partial trust. NET Framework 3.5 Beta 2 is installed on the machine, the existing or new ASP. Chapter. 4: A. Matter. of. Trust. Updated (2017): See .NET Framework Releases to learn about newer releases. As previously announced, starting January 12, 2016 Microsoft will no longer provide security updates, technical support or hotfixes for .NET 4, 4.5, and 4.5.1 frameworks. All other framework versions, including 3.5,

  • Have you checked the Advanced Compile Options? see here
  • Look at your setup dependencies. You have Framework 3.5 selected.
  • 4.0 is not a supported version, you should consider moving to a later version of the framework, such as 4.6.1
  • This doesn't address why a 4.x app is requesting 3.5?