Flutter Visual Studio - develop for Windows - windows

There is a warning when I use flutter doctor :
Visual Studio - develop for Windows
X Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
What does it mean ? i didnt find the installation component !

It's basically saying that if you want to develop your flutter app for windows
you will need to install Visual Studio 2022 and while installing Visual Studio 2022 you will need to download this: Desktop development with C++
Also you have to install the third link in this: https://visualstudio.microsoft.com/downloads/
You could also get Desktop development with C++ tool after installing visual studio and then navigating to tool -> Get tools and features -> Desktop development with C++

Related

can any one help me width flutter?

that is a visual studio is missing necessary components.
[!] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.5)
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
like the error description explains, you are missing the VS 2019 C++ build tools. This is only relevant if you want to build and run your flutter project for windows.
You could follow the description on the flutter page for additional windows requirements.
Download and run the Visual Studio 2019 Community Installer.
In the Installer Window, select "Desktop development with C++", the default parameters should be fine, and install it.
After the installation you should restart your computer. Then you should be able to run flutter doctor without any errors.

Possible to build Windows drivers using Visual Studio 2019 Build Tools + SDK + WDK without using the EWDK ISO?

We're trying to build some Windows driver (on Windows 10 Enterprise) from within Jenkins. To do that, we were using the Visual Studio 2019 Build Tools, installed the SDK and the WDK as described here: https://learn.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk
Doing that will always result in the following error message:
error MSB8020: The build tools for WindowsKerne
lModeDriver10.0 (Platform Toolset = 'WindowsKernelModeDriver10.0') cannot be found. To build using the WindowsKernelModeDriver10.0 build tools, please install WindowsKerne
lModeDriver10.0 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecti
ng "Retarget solution".
Doing the same on a PC where Visual Studio is installed will work.
The interesting part is:
Using the .iso image linked on the page, where Microsoft claims that it would include the VS2019 build tools + SDK + WDK, works as well.
Now I do not want to use that ISO file, as we already have the Visual Studio build tools installed on our Jenkins machines - for building other C++ software.
Is there any known solution available to just extend an existing build tools 2019 installation to allow building Windows drivers?

Can't create a project with Xamarin on Visual Studio

I'm having a problem with running the ios .cspoj file, when i want to start new project for iOS devices I get error that i have to install Xamarin. I have installed Xamarin program and still says that i need to install Xamarin for start ios project. I don't know what to do so i hope you guys can help me fix the problem.
Here is image of the problem
You said that you installed the "Xamarin program", but what exactly did you install? I cannot tell from your screenshot if you are using Visual Studio 2013 or Visual Studio 2015, but...
If you are using Visual Studio 2013, you will need to use the Xamarin Universal Installer(Just input your information and the file will be available to download).
If you are using Visual Studio 2015, then you can install Xamarin directly from within the Visual Studio 2015 installer window. Using Microsoft's guide from here you can:
...open Control Panel > Programs and Features, choose the Visual Studio 2015 item, and click Change. When the installer opens, click Modify
Check the following boxes:
Cross-Platform Mobile Development > C#/.NET (Xamarin)
For Windows 8+: Cross-Platform Mobile Development > Microsoft Visual Studio Emulator for Android
(Optional) If you plan on targeting Windows devices, also check Windows and Web Development > Universal Windows App Development Tools and/or Windows 8.1 and Windows Phone 8.0/8.1 Tools
Click the Install button
Once installation is complete... check for Xamarin updates through Tools > Options > Xamarin or Tools > Options > Xamarin > Other, where you’ll find a Check Now

Xamarin won't install in current of Visual Studio 2015

I have tried uninstalling Xamarin, and reinstalling Visual Studio 2015, and it keeps failing.
this below
results in this
Is there anywhere I can grab that missing package directly. I have the Visual Studio installer downloading the packages from the internet. If I can install that package manually (aka, an MSI), then I believe it should be ok. Xamarin (as part of Visual Studio) won't install until this ancient SDK installs.
I also tried Xamarins' installer, but it never shows up in Visual Studio 2015, likely because of this dependency failing.
Some other things I have tried :
Common issues in Visual Studio 2015 setup
StackOverflow: Install Xamarin on Visual Studio 2015
Xamarin: Installing Xamarin on Windows
Uninstalling Xamarin
try to open the SDK Manger from your PC ( as an administrator ) and install the missing packages
Actually android sdk is failing to download, maybe because of slow or unstable internet connection or the download path which xamarin is using is available anymore.
Go to- http://www.xamarin.com/download and get a separate xamarin installer for your visual studio and install from it.
If it again don't fails to install android sdk then go to https://developer.android.com/studio/index.html and download sdk separately, remember the sdk's install path, you can configure visual studio later.

Integrate Xamarin components into VS 2015 Professional?

I have installed Visual Studio 2015 Professional and would like to know how/what should I download from the Xamarin website to integrate into VS 2015 Pro to develop Android apps with Xamarin.
Just download the universal installer from their website
During Visual Studio installation, you have the option to select C#/.NET(Xamarin) under Cross-Platform Development.
You can Modify/Repair the Visual Studio install and select Xamarin and any other components (e.g. Android SDK if it was not selected previously, although they can also be installed separately) and update the installation. Install details/reference here

Resources