Ip address is already updated (with no portnumber). But I get this error, when I try to deploy to hololens over wifi. Developper modes are enabled (win + holo), no firewalls; same wifi. I don't know what to do more.
---------------------------
Microsoft Visual Studio
---------------------------
BootstrapForDebugging returned null instead of IPAddress & PortNumber of the remote msvsmon process.
---------------------------
OK
---------------------------
Severity Code Description Project File Line Suppression State
Error DEP6701: Bootstrapping failed with unexpected error: ArgumentException - Parameter cannot be null or empty.
Parameter name: target [0x80070057] MRTK Tutorial
Restarted everything.
Its a unity project using the new MRTK. Deploying over USB is working fine. Microsoft Visual Studio Community 2022 (64-bit) - Current
Version 17.2.1
I installed
Microsoft Visual Studio Professional 2022 (2) (64-bit) - Current
Version 17.3.4 and did the same settings and now it's magically working (also in the Community version it's working.. since the project is the same)
It is still difficult to troubleshoot this issue based on current information. The root cause can be varied. However, after you upgrade the visual studio, this issue has been fixed. I recommend that you keep Visual Studio updated to reduce the occurrence of such issues and feel free to get HoloLens2 support from Microsoft if you have any other questions.
Related
I am trying to deploy a simple unity app to the Hololens v2 emulator. I followed some tutorials to build the unity files according to the Hololens build framework. The tutorials on Microsoft show there being an option in visual studio 2019 to connect the debugger to the hololens v2 emulator application, but no such option exists on my installation of Visual Studio, despite it being within the stated requirements, version 19.2 or later. Mine is 19.11
My version of Visual studio is 19.11, which should meet the requirement of 19.2 or later
here: https://learn.microsoft.com/en-us/windows/mixed-reality/develop/platform-capabilities-and-apis/using-visual-studio?tabs=hl2
It is shown having an option to target the emulator directly, and an option to target a remote device if using a physical hololens. I have neither option in my debug settings.
What the tutorials show
What my visual studio shows
I attempted to set it up like the remote machine setup shown in the tutorial, getting the correct hololens machine name by accessing the ip address of the emulator, but to no avail, it refuses to connect
It compiles properly, but then comes up with this error when run with those settings (with the correct machine name rather than a filler like I have in the image)
Does anyone have any ideas as to how to fix this? I have updated visual studio multiple times already.
Please make sure the correct project has been selected for the startup project. To change the startup project, you should navigate to Solution Explorer, right-click the desired project and choose Set as StartUp Project from the context-sensitive menu that is displayed.
When I deploy a UWP from VS 2017, I’m seeing the following error:
DEP0600: Deployment failed. XmlException - Data at the root level is invalid. Line 24, position 11.
Any clues on how to resolve?
After much debugging and Binging, an SDE pointed out that I was hitting a known bug in Windows 10 Creators Update – which will be fixed in the upcoming Fall Creators update. At install time, all of the installed package are enumerated to see if the package has already been installed. This enumeration fails if the installed app’s AppxManifest.xml file is malformed.
I had several test apps installed on my machine, some deployed with Visual Studio, some installed with PowerShell using the command:
Add-AppxPackage -Register .\PackageLayout\AppxManifest.xml
After uninstalling several of the test apps, I was able to deploy my app with Visual Studio 2017 without problems.
I have been facing the same issue as asked in this other post
Visual Studio 2015 Windows Phone Emulator not deploying
but the solution worked here is not working for me.
Windows 10 pro upgraded from home version
Visual Studio 2015
Apache Cordova "Sample" app.
In Emulator it is showing as "Starting
in the behind "Hyper-V" "Summary" it is visible but if double click the the Hyper-V "instance" it is not visible there but only in "Summary"
What am I missing here?
For the developer sake and investment, MS must make sure that the solutions are tested everywhere before releasing them.
This link will direct you to print screen of the error. https://prnt.sc/cykrgg
in the VS output we get the following last message.
My OS is 64 bit.
2>The build configuration was changed to x86 for x86-based emulator deployment.
could this be impact of 64 to 86 bit version difference or anything else?
I have Norton antivirus
I am getting
Hyper-v administrator pop up every time I try to run the app.
This case is resolved by Microsoft Support Team over a Ticket and Rohit, support engg from MS did really helped me a lot.
The reason why it was not coming up.....
My machine has a AdWareAntiVirus from Lavasoft by Name WebCompanion that was not allowing it work.
I removed it then it started working.
if any body have any problem with VS 2015 Emulator definitely focus on the Antivirus and include the Emulator XDE into exception list and also include in Firewall.
Thanks,
Ekambar
Trying to setup my build server for Xamarin Android builds, but i constantly keeps getting into this issue:
[error]C:\Program Files
(x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1832,3):
Error MSB6006: "aapt.exe" exited with code 255.
Anyone know what this error code means? We dont have this issue on the teams local computers. So i assume i am missing something on the build machine, but cannot figure out what.
Visual Studio Team Services Build Agent
MS 2012 R2 Datacenter
Visual Studio 2015 Community
Android SDK Manager w/all SDK's up til revision 24
Xamarin 6.1.1.0
There must be a problem in build tool. So, can you compare the installed build tool version in your local machine and build machine.
Note: Add the following line under PropertyGroup tag in your project file to specify the build tool version.
<AndroidSdkBuildToolsVersion>23.0.3</AndroidSdkBuildToolsVersion>
I believe you are probably missing some files in your SDK manager for android. Open the sdk manager and ensure you have downloaded all API levels you are targeting as well as the up to date build tools and extras.
I have Visual Studio 2010 Ultimate for Windows 7 installed along with the Windows Phone Developer Tools (XNA 4.0). The installations went smoothly (no errors reported during install), but when I start debugging I get an error saying: "Attaching the ProteusDebugEngine debugger to process '[XXXX] projectname.exe' on machine 'MYCOMP' failed. Invalid Pointer"
However when I go to the debug menu and I choose start without debugging the program launches just fine. How can I fix this error? (Also everything works fine if I try debugging a Windows Phone Game... But when I try to debug an XNA 4.0 Windows Game I get the error message...)
EDIT:
When I start Visual Studio 2010 in safe mode and try to open a project it gives me an error and says that the project type is not supported by this installation...
Check the extended error message, there's usually a hint about which module crashed or isn't found, and it'll tell you to manually register it. Then try starting in safe mode to see if it works, because plugins that haven't been updated for XNA debugging can cause crashes. (Old versions of Resharper, for one.)
Reinstalling visual studio did not help.
Just reimaged then reinstalled and it fixed the problem.