X Visual Studio is missing necessary components - flutter

X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop
development with C++" workload, and include these components:
MSVC v142 - VS 2019 C++ x64/x86 build tools
- If there are multiple build tool versions available, install the latest
C++ CMake tools for Windows
Windows 10 SDK
what is the solution?
what is the solution?

While installing the VS, make sure to check Desktop development with C++..
You can follow this post 1st part

Related

Installing monogame Visual Studio 2022 issues

When I try to install the Monogame extension into Visual Studio 2022, it straight up does not show with the right extension.
it is not listed on the extension list:
(image of list)
i have the .NET framework installed into visual studio, (but I did that after installing the actual vs program)
does anyone have any idea why this is happening?
MonoGame 3.8.1 is out and is compatible with Visual Studio 2022!
https://community.monogame.net/t/monogame-3-8-1/17786

unreal engine development using vscode without vs2019, 2017

I'm wondering if I can make a C++ project in unreal engine without visual studio 2019, 2017 etc.
Currently I just use vscode. Is it necessary to install visual studio?
You can use visual studio code but you would need some compiler to compile your C++ project. For that the MSVC compiler that visual studio supports is often used. You can download the MSVC compiler and use visual studio code with it. when you create your project with visual studio code will generate a .vscode folder. In this folder you will have a
task.json [ for generating the build scripts you need to compile your program and create the exe files]
Launch.json [ for debugging your C++ classes]
Properties.json [ for finding the MSVC compiler ]
Unreal engine has a button in the editor that will compile your code. This equivalent to running
cd " Where you have your engine installed"
"Engine\\Build\\BatchFiles\\Build.bat" YourProjectNameEditor Win64 Development "C:\ThePathToYourProject\YourProjectName.uproject" -waitmutex
Visual studio provides other build task such as a DebugBuildGame and ShippingBuild
Visual studio code also provides these build task through task.json file, but it does not work out of the box
I ended up making a video about this and timestamped important events
https://youtu.be/fydvKedIxKk
You want to consider fixing the task.json if your want to run any build other than the editor one.

Couldn't find MSVC toolchain in eclipse though Microsoft Visual Studio 2012 is installed

I want to build a static library using MSVC compiler. And I have installed Microsoft Visual Studio 2012 and it is functional. But I haven't found any toolchain or compiler for MSVC in eclipse project properties so that I can build the static library for windows. Gone through several links. But no luck.
I want to know how I can get MSVC as compiler or toolchain in the compiler/toolchain option of eclipse project properties.
Issue is solved. I am posting the solution so that if anyone faces the same problem, then it would help them.
The probable root cause was, I have installed Microsoft Visual Studio 2012 and was running Eclipse Kepler CDT. And this version of eclipse CDT doesn't recognize MSVC2012.
After installing the latest eclipse CDT which is Eclipse Mars, it discovered the toolchain for Visual C++ successfully and worked fine.
So, I would suggest to use Eclipse Mars for avoiding these types of situations.

Convert Nsight Eclipse project to Visual Studio

I have a CUDA project in Nsight Eclipse under Linux, but one of the machine where I have to test my code uses Windows 8 with Visual Studio 2012 Professional. How can I convert my project from the Eclipse edition to the Visual Studio edition? Or if it is not possible, at least how can I compile to Windows application from Nsight Eclipse under Linux?
You cannot do either. You will need to create a Visual Studio project on Windows using your existing source files.
Unless you are using some Linux-specific libraries in your host code, you should not run into any problems on Windows.

Error Installing NuGet 1.8

NuGet 1.8 seems to have some interesting new features. Unfortunately when I attempt to update from within Visual Studio, I get the error:
Value cannot be null.
Parameter name: v1
I figured I would just install it from outside Visual Studio and see if that works better, but the download link I found
http://nuget.codeplex.com/releases
does not list any downloads for "NuGet Visual Studio extension".
How can I update NuGet?
Update
This is on Windows 7 64-bit, Visual Studio Ultimate 2010SP 1, upgrading from recent NuGet version (how do I check version number?) to NuGet 1.8.
Based on the comments, I did the following:
Closed all instances of Visual Studio
Started a new instance of Visual Studio as Administrator
Tools / Extension Manager
Select NuGet Package Manager
Click Uninstall (if you're not Administrator, Uninstall is grayed out)
Restart Visual Studio (still as Administrator)
Tools / Extension Manager
Online Gallery
Install NuGet
Restarted Visual Studio (this time not as Administrator)
Resumed work