Can't choose .NET 4.7 - visual-studio-2017

I am trying to start a new project using .NET 4.7. I have Creators Update installed as well as the latest version of Visual Studio 2017. When I start a project and device to choose a .NET version, the latest .NET framework version I have is 4.6.2. When I go to download a new .NET framework, it only lists 4.6.2 as the latest via MS that you can download. It says that .NET 4.7 is included in VS 2017. What am I missing?

You need to go to Visual Studio Installer and install an optional component ".NET Framework 4.7 Development Tools".

"A picture is worth a thousand bytes (with adequate compression)" and all that jazz...

The .NET Framework 4.7 was released as part of Windows 10 Creators. For other versions of Windows, you have to install the .NET Framework 4.7.
Offline Installer of .NET Framework 4.7 Developer pack

So I could not find the .Net Framework 4.7.2 Developer tool even in Visual Studio Installer. However you can download & run them from here:
https://www.microsoft.com/net/download/visual-studio-sdks

For anyone late to the party here; In Visual Studio 2019, I had this problem by using a .Net Core template to create my project.
https://learn.microsoft.com/en-us/visualstudio/ide/visual-studio-multi-targeting-overview?view=vs-2019
For non-.NET Framework project templates, for example .NET Core templates, the Framework drop-down list doesn't appear.
Make sure you pick a .Net Framework template when creating a project/solution :)

Related

How to NOT target any .NET Framework in Visual Studio 2010 for a C++ application

Is it possible to create a new Win32 C++ project in VS2010 that wouldn't target a .NET Framework? Visual Studio seems to refuse to create a project unless at least one .NET Framework version is selected as a target. It also refuses to load a project if .NET is not installed on a computer, even if SLN / VCXPROJ files do not contain any .NET references. If .NET is not installed, Visual Studio still demands to select a .NET Framework version, but since no versions are available, it refuses to create a new project. But what if I want my application to have nothing to do with .NET and to run on a computer that doesn't have .NET installed? (The operating system I'm using is Windows XP, although that shouldn't make a difference).
I took the following steps:
Uninstall .NET.
In Visual Studio 2010, go to File -> New -> Project.
In the New Project window, under Installed Templates, click "Win32 Project -- Visual C++". At this point, Visual Studio begins to demand to choose a target .NET Framework version.
[tl;dr]   Visual Studio 2010 has the .NET Framework 4.0 as a prerequisite. The VS 2010 setup installs it if necessary, and the IDE will not function correctly if the .NET components are manually uninstalled afterwards. Unmanaged C++ applications can still be built outside the IDE without any .NET installed, and the resulting binaries have no runtime dependencies on .NET. Repairing the VS 2010 installation restores the .NET components, and gets the IDE to work as expected.
The following was tried on a clean XP SP3 (virtual) machine, with a fresh install of VS 2010.
The setup lists .NET 4.0 as a prerequisite, and installs it if necessary.
Manually uninstalling the .NET 4.0 components from Add Remove Programs breaks the IDE.
Repairing the installation gets the IDE working again. The New Project dialog has a top level .NET Framework version dropdown that defaults to .NET Framework 4, which applies to all project types. including the unmanaged C++ projects. However, the selection has no bearing on unmanaged projects, which do not target, use, or otherwise require .NET.

Visual Studio for Mac 2019 .NET Assemblies missing

I've been writing a .NET Standard 2.1 class library project in Visual Studio for Mac 2019. However, when I was trying to add an attribute to a class, I was expecting I would be able to use quick-fix to add the reference for me. So when I was trying to do just that, it does not have the option of referencing the correct using statement. So I tried to add the assembly myself but then when I tried adding a new reference, I could only see the projects in the solution, but no .NET Assemblies. See the screenshot below.
By the way, I am running:
OSX Catalina version 10.15.3
Visual Studio for Mac 2019 Community Edition version 8.5.4 (Build 12)
.NET Standard projects do not show assemblies in the .NET Assembly tab in the References dialog.
.NET Standard projects use NuGet packages and framework targeting packs instead of the GAC so there is nothing to list in that tab.

I am not able to create a unreal engine 4 c++ project

whenever i create a unreal engine 4 c++ project it throw this error
Running E:/program_files/UE_4.24/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="D:/Game Development/MyProject2/MyProject2.uproject" -game -rocket -progress
Discovering modules, targets and source code for project...
ERROR: Could not find NetFxSDK install dir; this will prevent SwarmInterface from installing. Install a version of .NET Framework SDK at 4.6.0 or higher.
I have installed ue4 4.24 version and visual studio 2019 and game development with c++ is also selected during the installination of visual studio 2019 . i downloaded .NET framework from microsoft website but when i install it says Your installination will not occur see below for reason why .NET Framework 4.8 or a later update is already installed on this computer. So what can i do Please Help Me !
Thanks in Advance
I had the same problem, when I tried downloaded .NET framework from microsoft website it said Your installation is not possible because .NET Framework 4.8 or a later update is already installed.
This fix worked:
https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1697074-can-t-package-my-project-netfxsdk
"crioto: Hello! As mentioned in the output, you need to install/update .NET Framework. You can do this by running Microsoft Visual Studio Installer, then click on "Modify" next to installed version of Visual Studio, switch tab to Individual Components and check latest version of .NET SDK.*"
Modifying the VS Installer solved the Issue

What is Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1?

I am going to use Cython for my project. As a prerequisite, Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1 should be installed in order to link with the right runtime.
However, I already have Virtual Studio 2012 installed in my computer, so I am wondering if this is still necessary?
And, what is it? Is it different from Visual Studio? I found some introduction about it, and seems it is already included in Visual Studio.
VS 2012 contain framework 4.5 till now and yes they both are same.
since, cython was originally made on VS2008 so it has some issue to later framework.
some cool guys solved this issue on vs 2010.
You can have more detail on this links
http://grokbase.com/t/gg/cython-users/12a3ab97em/cython-and-linking-to-multiple-dlls
http://magic-smoke.blogspot.in/2012/07/building-pyliblo-on-windows-using.html

VS.Net 2005 required on Build box with .Net 2.0 C++ Projects?

We have a build box that uses CruiseControl.Net and has been building VB.Net and C# projects using msbuild. All I have installed on the box as far as .Net is concerned is .Net 2.0 SDK (I'm trying to keep the box as clean as possible). We are now trying to get a C++ app building on this box. The problem we are running into is that the header files (e.g. windows.h) are not installed with the SDK.
Do I have to install VS 2005 to get this to work?
Edit:
As a couple people have answered, I had actually downloaded the 3.5 Platform SDK, but the applications built on this box MUST run on boxes that do not have 3.5 installed. By installing the 3.5 SDK on my 2.0 build box, am I compromising my build box?
Edit:
I'm going to leave this as unanswered, but thought I would add that I went ahead and installed Visual Studio on the box and all is well. I hate having to do that, but didn't want to run the risk of having a 3.5 SDK on my 2.0 build box. I would still love to hear a better solution.
Visual Studio is not needed, but for C++ you need the Platform SDK as well:
http://www.microsoft.com/downloads/details.aspx?familyid=484269E2-3B89-47E3-8EB7-1F2BE6D7123A&displaylang=en
Edit: There is also one for Windows 2008/Vista, not sure which is the correct one:
http://www.microsoft.com/downloads/details.aspx?familyid=E6E1C3DF-A74F-4207-8586-711EBE331CDC&displaylang=en
No, you have to install the windows platform SDK.
You'll need to download this:
http://www.microsoft.com/downloads/details.aspx?FamilyId=E6E1C3DF-A74F-4207-8586-711EBE331CDC&displaylang=en
Edit: #Michael Stum
You need the Server 2008 / Vista / .NET 3.5 SDK version.
Depending on what you are using in C++ (MFC, ATL, etc) you are probably going to have to install Visual Studio Professional (not express) as a lot of the libraries and headers are part of Visual Studio and not included in the SDK or Visual Studio Express (if you are doing managed C++ using .Net as the main framework then installing the SDK will be enough). We run our build boxes on VM's and so like to have as little installed as possible, so I spent a fair bit of time trying to get things working by installing as little as possible and for our C++ I ended up having to install Visual Studio.
I don't see why having .NET 3.5 would comprimise the build box - 2.0 and 3.5 co-exist without a problem. The only concern I could see would be a developer upgrading a solution to VS2008 without your "permission" and the build not failing...
In general, you need some set of SDKs (Software Development Kits) to be able to build, and some set of redistributable packages to run.
In case it's not obvious, you should be testing your product on an otherwise clean machine before you ship, so you know you got the dependencies right.