PS:"When I tried to screen shot the menu above closes so I took a photo with my phone"
So I installed Visual Studio 2022 free version with the Game Development in C++ with Unreal option checked.
I installed the net sdk 3.1.
After that I installed the VS Code with C++ and Unreal Snippets extensions.
I changes the Source Code Editor in Unreal Engine with Visual Studio Code.
And it didn't work to select a "build task to run" version.
I tried to reinstall Visual Studio , the net sdk and the VS code.
I followed the tutorial again but no results.
What can I do?
-This is the log: https://github.com/JJPGdev/Log
-I use Windows 10.
You don't need to have both Visual Studio Code and Visual Studio 2022 installed in order to use Unreal Engine.
For Visual Studio 2022, make sure you have the C++ Profiling Tools and Windows 10 SDK (10.0.18362 or newer). To add these go to Tools->Get Tools and Features->Game Development with C++
To build/compile your code, the easiest way is to click the compile button in Unreal Engine.
In Unreal Engine 5 this button is located on the very bottom menu. If you get an error, try clicking the 3 dots next to the compile button. Then, uncheck Enable Live Coding and try to compile again.
In Unreal Engine 4 this button is located in the menu above the viewport.
Related
Some Details
I do not use WinForms as much but I needed it for some work. I have got new computer some months ago > I installed Visual Studio > I have not worked with WinForms till then.
Problem
I can not find "Windows Forms App (.NET)" Template in Visual Studio ( Images at End ). But I can see "Windows Forms App (.NET Framework)" Template.
Images
Visual Studio Workloads: .NET desktop development, Desktop development with C++, Universal Windows Platform development, Game Development with Unity.
Templates I Can See:
You should be able to install .NET desktop development package in VS19.
Steps
Press create new project
Search for .NET desktop development (seen in picture A)
If it is not visible press the Install more tools and features link under Not finding what you're looking for (see picture B).
Search for the package and select it
Press the Modify button in the Visual Studio Installer
I am following the Unity development tutorial for Hololens 2.
https://learn.microsoft.com/en-us/windows/mixed-reality/develop/unity/unity-development-overview?tabs=mrtk%2Carr%2Chl2
The Unity build generates visual studio files without issues.
When opening with Visual Studio 2019, I do not see a Device target option under targets drop down.
However when I open in Visual Studio 2017, I do see the Device target option.
The visual studio 2019 menu looks completely different from what is in tutorials:
Please see screenshot below:
Visual Studio 2017 is not supposed to work with hololens 2, and when I try to build in VS2017, it gives an error:
MSB8020 The build tools for v142 (Platform Toolset = 'v142') cannot be found.
I tried changing the build tools to 141 and 140 under project properties, but it strangely still gives the same error.
The tutorial states minimum version required is Visual Studio 2019, so it is not supposed to work with an older version.
This is what Visual Studio 2019 is supposed to look like according to tutorial above
I made sure device is connected and is in developer mode. This seems to be something missing in VS2019
Below are all the components I have installed based on the tutorial.
Can anyone help figure out why the Device or Remove Machine options are not showing up under Visual Studio 2019?
I has the same problem, my solution was install all C++ development libraries
and set the UWP project on Visual studio to "Set As Startup Project".
This is becasue the wrong project got set as Default Startup Project, must be changed by right clicking on the correct project and selecting Set as Default Startup Project
Just checked what is installed on my machine.
At the UWP development tab the option C++ (v142) Universal Windows Platform tools is checked. Try if that fixes it.
Are you working on the latest Version of Visual Studio?
Could you check if you can deploy to the HoloLens Emulator?
Are you working with Unity/Unreal or just testing with an example downloaded?
to see TARGET -> DEVICE
This is becasue the wrong project got set as Default Startup Project,
must be changed by right clicking on the correct project and selecting
.... Set as Default Startup Project
......OK !!!
I have installed VS 2019 and UE4 v.4.11.0 but when I want to open a C++ project in UE4 I see that it can not recognize my VS2019 compiler.
How can I fix it?
Support for Visual Studio 2019 has been added to Unreal Engine 4.22: Release Notes.
After updating to Unreal Engine 4.22 or newer, ensure that you have set the Source Code Editor to Visual Studio 2019 in the Editor Preferences.
Additionally, if you have created your project with an earlier version of Visual Studio, you have to regenerate your project files: right click your .uproject file and click Generate Visual Studio project files.
I'm using Xamarin with Visual Studio 2015. After a recent upgrade of the Xamarin plugin, I'm getting an error the first time I try to "Clean Solution" or "Build Solution" after launching Visual Studio:
The Xamarin license file is invalid and could not be recovered. You will still be able to access the Xamarin features that are included in Visual Studio Professional.
The error dialog offers a single option: "Use Visual Studio Professional". If I choose that option, I can re-try whatever operation I was using and it will work fine, and continue to work fine until I exit and re-launch Visual Studio.
I have found some older threads where people mention what seem like similar problems, but the solutions refer to using Tools->Xamarin Account, which does not appear anywhere in my Visual Studio "Tools" menu.
Specific versions in play:
Microsoft Visual Studio Professional 2015 14.0.25431.01 Update 3
Xamarin 4.8.0.754
Xamarin.Android 8.1.0.13
I have this same problem with a couple of different, unconnected solutions (one of which is using Xamarin.Android, another of which uses Xamarin.Forms).
Please help if any body can. I am searching for the last 3 days but could not find any solution.
I first installed visual studio 2013 ultimate on Windows 7 32 bit,But no options for xamarin,Android and IOS were found.
Then I installed visual studio 2015 32 bit on windows 7 32 bit with 3 updates, and I installed with customized selection of "Cross platform mobile app development",after installation , When I created Android app project ,it was empty and gave me options to install xamarin. When I click on this option, it gave me option to upgrade installer when I click on it, Visual studio 2017 installer , started to install,after some time,it gave me customised installation options, I checked cross platform mobile app development,It get started to install, After some time,It gave error.
I tried many times.Same cycle is repeating.
First thing I would do is just uninstall all of the copies of visual studio that you've setup so far, so that you can start afresh.
Then select and download the Community edition of visual studio 2017 from this link.
When you install visual studio 2017, you need to make sure you select the following option in hte customisation section of the installation window.
It's worth also checking the "Individual components" tab and making sure that if there is an option called "Android emulator for visual studio" that it is also ticked, trust me it will save you a lot of trouble in the long room.
However If that option isn't there, then you don't need to worry about it.
Hope this helps somewhat.