Visual Studio Doesn't Show Hololens Emulator - visual-studio

I'm trying to deploy my project to Hololens Emulator using Visual Studio 2017.
My Solution Explorer looks like this:
My Solution Explorer looks like this
When I try to deploy to my Emulator it shows this
To ensure that the Emulators are working I created a new Blank App (Universal Windows) in Visual Studio, that showed this Solution Explorer and Deploy options:
The Emulator opened the Blank App as it's supposed to.
My Build Settings in Unity are the following.
I've tried to reinstall everything, and even creating new Projects in Unity following Microsoft's official tutorial (https://learn.microsoft.com/en-us/learn/modules/learn-mrtk-tutorials/1-3-exercise-configure-unity-for-windows-mixed-reality?tabs=openxr).
My current Unity version is the 2021.3.21f1 LTS.
Best regards!

Unity 2021.3.21f1 LTS is not the recommended version. As Choosing a Unity version and XR plugin said,
For new projects, we recommend using Unity 2020.3.31f1 with the latest Mixed Reality OpenXR plugin to avoid this issue.
Besides, as per Install the tools, Visual Studio 2019 (16.8 or higher) is needed for Hololens 2 development.

Related

Cant download andrioid emulator in Visual Studio 2019

I'm trying to learn Xamarin but I cant seem to install Android emulator (not talking about the standalone version) Visual studio. I keep on getting the errors:
Install Android Studio and install the android packages from there. The program takes care of a lot of the initialisation process when installing the Android SDk, platforms tools, and the emulator. It seems to do a better job at it than Visual studio.
From the screenshot, the manager is being downloading the SDK Platforms 29, you should wait for other processes be finished. Then click the option of Android Emulator and Apply Changes to check whether it works.

Visual Studio 2017 - Toolbox not loaded and hanging

I have just installed Visual Studio 2017 in my Windows 10.
I got error in initializing the Toolbox and it keep hanging.
Is there something I can do with?
I have launched the VS 2017 with Administrator, but this doesn't resolved the issue.
I had the same issue. I uninstalled Azure stuff and Clang/C2 and Toolset for Visual 2015.3 v140 and Xamarin stuff and added Apache Ant. After that it worked. So some of the above seams to resolve the issue. I will not do further investigation, because for me it is OK without that stuff.
Had the same problem. I did have Xamarin installed but not Android SDK, because I had it already installed for various other tools.
Turns out this is caused by Xamarin trying to access Android SDK, which isnt there. Solution seems to be to either remove Xamarin or install Android SDK, according to development community forum.
Unfortunatly, installing Xamarin and going into Xamarin/Android Settings to point to existing Android SDK (without it) also seems to hang VS2017.
HOWEVER...
If you want to keep Xamarin and use your own Android SDK/NDK, what you can do is:
Lauch Visual Studio 2017 Installer
Install Xamarin and Android SDK (dont need to install NDK as well)
Launch Visual Studio 2017
Go into Tools / Options / Xamarin / Android Settings (It wont hang
now)
Point to your existing Andoid SDK / NDK and Java runtime you want to
use
Close VS2017
Go back to Visual Studio Installer
Uninstall Android SDK
Before that I tried to define an ANDROID_HOME environment variable and tried to set the paths in registry, neither of those helped. This fixed the problem for me.
I tried all the voodoo solutions, removed every extension (xamarin included) and every package except the core .net and C# VS, which I updated to the latest version available v15.9.30. Same problem.
The solution for me was to uninstall an office plugin/tool from a previous visual studio.
The problem app was "Microsoft Visual Studio 2010 Tools For Office Runtime (x64)". After I uninstalled it, the problem was gone.

Visual Studio crashes when trying to associate Cordova app with store

I'm on the latest version of Visual Studio 2015 Community (14.0.24720.00 Update 1) on Windows 10. I'm currently developing a Cordova App for Windows 10, iOS and Android using the Visual Studio Tools.
When I right click on the Project, then go Store > Associate App with the Store, I can successfully log in, see my existing apps and select the one I want, but when I try to actually associate that app with my VS project, VS just crashes.
I've already tried repairing Visual Studio through Add or Remove Programs and also cleaning out my project/solution, but none of this worked.
Any advice?
Thanks!
I had the same issue. Apparently, this is a known problem with VS2015 Update 1 (with the latest Cordova tools support).
The current workaround is to choose "Create App Packages" instead of "Associate App with the store." When you do this, the proper association will be generated and you can test as usual. I was successful using this approach.
The fix in Visual Studio 2015 for this crash is now available in Visual Studio 2015 Update 2. Here's a link to the installer: http://go.microsoft.com/fwlink/?LinkId=691129

Xamarin Studio cannot find Android tools/devices

After installing Xamarin Studio, I've found it to miss Android related items such as Android SDK Manager under Tools menu:
Additionally I cannot run the application on an actual device, nor see any emulator:
Please note that I've developed Android app using Eclipse prior to this so I have everything properly setup (including device driver, ADB, Android SDK/NDK, etc), and have also made Xamarin Studio work on another computer. The problem is that it refuses to work on this particular computer, and uninstall/install it didn't help.
How do I fix it so that Android tools are shown in Tools menu and I can run Xamarin applications on an emulator/actual device?
The following steps resolved the issue for me:
Uninstall Xamarin Studio
Uninstall x86 JRE/JDK 1.6 installed by Xamarin Installer
Run Xamarin Installer and let it reinstall both JRE/JDK & Xamarin Studio
Don't know why the Xamarin installation wasn't working correctly the first time, nor why the above steps work, but it worked.

Mono Tools for Visual Studio - tutorial wanted

I downloaded Mono for Windows and Mono Tools for Visual Studio 2010, installed them, and see some new shiny menus and Project templates in my VS now. But I have no idea how to build my first iPhone app. Is it even possible? Do I need anything else besides what I have already downloaded?
Looking for help resources. A "hello world" tutorial that takes me from starting a project to seeing it run on my iPhone/iPad would be awesome. Does such a thing exist?
Mono Tools for Visual Studio does not allow you to build iPhone apps. The product you are looking for is MonoTouch, which only works on a Mac, due to using a large part of Apple's development toolchain.

Resources