I want do develop a console app for .NET Framework 4.72
I installed the .NET Framework 4.7.2 developer pack.
I restarted the system, opened Visual Studio to create a new project but the :NET Framework 4.7.2 doesn't show up in the target framework options.
What step am I missing?
Related
I will create a new Project with .NET Core 2.2.
But I can select only .NET Framework Versions.
I installed .NET Core 2.2 and restart the Visual Studio.
Still .NET Core is not available.
I installed the 64bit 2.2.107 version.
When I want to install again I get ask if I want to repair, what is telling me that the installation was successful.
Why I cant choose .NET Core instead of Framework?
I have installed .NET Framework 4.7.2 from Microsoft's website. However, when I'm in Visual Studio 2017 (version 15.7.5 (currently the latest)) I cannot target Framework 4.7.2 even though it is installed on the computer. All other Frameworks are there.
When running the Visual Studio installer there is only the option to install up to 4.7.1.
Does VS 2017 15.7.5 literally not support targetting project to 4.7.2 yet or what might be going on here?
For developing with .NET Framework 4.7.2, the .NET Framework Dev Pack must be installed, not just the runtime.
Currently it can be found at Download .NET Framework 4.7.2, but that location is likely to change in future.
I try to load an existing project (not mine) that I get from TFS and I got an error telling me that I need .NET Framework 4.6.1 to load it.
So I downgraded it to 4.6, successfully load it, install .NET Framework 4.6.1 but I can't make my project target on 4.6.1.
The link where I get .NET framework
I'm on Windows 7 and I use Visual Studio Community 2017.
You may need to install the developer pack. It looks like you may have just installed the runtime. You can find the .NET Framework 4.6.1 developer pack here.
I have a solution that contains 4 projects (3 are class libraries build on .NET 4.5.1 and the other is a Windows application also built on 4.5.1. I've added a setup project to the solution and when I build the solution and execute the installer on my Server 2012 r2 I'm getting a message.
The setup requires .NET framework 4.6.1
Why is it needing 4.6.1 when all of my projects are set to 4.5.1?
I'm using Visual Studio 2017 Community edition 15.6 and the setup project was downloaded from the Marketplace (InstallerProjects.vsix)
Thanks
I have installed Visual Studio 2012 Express, and .NET Framework 4.5 got installed together.
Now from Visual Studio 2012, also if I target .NET 4.0 (Properties->Application->Target Framework), that doesn't seem to work. (The same happens from Visual Studio 2010, which by the way cannot target 4.5 at all!).
What I have noticed is that if I debug my project, and set a Watch on a SqlConnection variable, I see all the new 4.5 member properties (for example I see SqlConnection.ClientConnectionId property, introduced with .NET 4.5).
So, what is Visual Studio -> Properties -> Application -> Target Framework -> 4.0 supposed to do?
This 'strange' behaviour looks, in fact, perfectly normal when you realize that the installation of .NET Framework 4.5 is a replacement of .NET 4.0.
Look at Stack Overflow answer Can a build server with .NET 4.5 installed successfully deploy a project targeting 4.0 to a server with only .NET 4.0 installed?.