Unknown command line argument : '--reference=/' after Visual Studio Update - xamarin

I working on project in Windows 10, paring to Macbook for building iOS project, and it's works as expected.
Today I just updated the Visual Studio in Windows and also Visual Studio for Mac and I encountered bunch of errors with Unknown command line argument : '--reference=/'. There is no clue about what to do, does anyone have any ideas ?
Windows
Microsoft Visual Studio Enterprise 2019 - Version 16.11.10
Xamarin.iOS and Xamarin.Mac SDK - 15.2.0.17
Xamarin Android SDK - 12.0.0.3
Mac
Visual Studio for Mac - Version 8.10.19 (build 2)
Xamarin iOS - Version 13.18.1.31
Xamarin Mac - Version 8.6.0.3
XCode - Version 13.2.1
Operating System - Mac OS X 11.3.0

Related

problems with flutter doctor

Windows Version (Unable to confirm if installed Windows version is 10 or greater)
Android toolchain - develop for Android devices (Android SDK version 33.0.1)
X Could not determine java version
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
[!] Android Studio (version 2021.3)
X Unable to determine bundled Java version.
[!] Android Studio (version 2022.1)
X Unable to find bundled Java version.
problems with flutter doctor

Unable to run iOS project in VS 2022 for Mac

I just upgraded from VS 2019 to VS 2022 for Mac. I'm now unable to "run" a project in iOS Simulator. I can build it just fine. I can "run" the project on Android Emulator just fine.
I'm only presented with the "Hammer" icon and not the "Run/Arrow" icon.
VS 2022 Mac Version: 17.3.8
macOS Version: 12.6
I have tried the following:
Full uninstall using the Microsoft-provided uninstall scripts.
Full reinstall from scratch.
I have XCode 14 and I have opened it to make sure it installed the additional components.
My iOS Bundle Signing window is empty:
The only solution I found is to create a new empty project and import all my files from the broken project.

Xcode couldn't be found at /Applications/Xcode.app

I get Xcode couldn't be found at /Applications/Xcode.app when I try to run the sample single view app from Visual Studio 2019.
Do I have to install XCode on the windows machine I am using or the Mac that is building the code?
I don't have visual studio on the Mac and was hoping that I wouldn't have to install it. Am I wrong?
Yes, you need to install VS and XCode on the Mac. This is clearly covered in the docs
Set up Windows (Install Visual Studio 2019)
Set up Mac (Install Xcode and Visual Studio for Mac)
Pair to Mac (Connect Visual Studio 2019 to the Mac)

could not locate Android SDK path in visual studio enterprise 2015

Installed v 2015 enterprise edition.
Downloaded JDK ver 9.1 version for 64 bit.
Have files in this path C:\Program Files (x86)\Android\android-sdk\ for Android SDK.
Even after added that SDK path, it shows build a error as
Xamarin.Android for Visual Studio requires Android SDK. Please install it or set Android SDK path on Tools->Options->Xamarin->Android Settings menu.
Screeshot for adding sdk and JDK:

Visual Studio Build for windowsphone error : (XapDeployCmd.exe) didn't found

I build and emulate my cordova app in android device and VisualStudio Android Emulator successfully in Visual Studio.
But when I try to build and deploy my app to windowsphone device I got this error that said the file "XapDeployCmd.exe" does not in %PATH%
ERROR: Error executing ""XapDeployCmd" /enumeratedevices":
'"XapDeployCmd"' is not recognized as an internal or external command,
WARNING: XapDeploy tool (XapDeployCmd.exe) didn't found. Assume that it's in
%PATH% and deploy fails.
When I referred to the path that I must find the file "XapDeployCmd.exe" in "C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0\Tools\XAP Deployment" I saw there is one file there: "XapDeploy.exe" and "XapDeployCmd.exe" is not there
so where is "XapDeployCmd.exe" ?
I'm using Visual Studio 2015 Community With Update 3 and I installed Windows Phone SDK 8.0
Tools for Apache Cordova only supports deploying to Windows devices 8.1.
To deploy to Windows 8, you need Visual Studio 2013 which has a completely different project structure, and I don't recommend using it.
Most users who are on a version of Windows 8 tend to be on version 8.1
As I stated before، I had installed Windows Phone SDK 8.0 .
with installing Windows Phone SDK 8.0 , Visual Studio 2012 will be installed.
But the file "XapDeployCmd.exe" is not with this version of visual studio.
Installing Update 5 (update 2 or later) of visual studio 2012 will install "XapDeployCmd.exe" with itself. Visual Studio 2012 Iso and problem will be solved.
after solving this problem if you encounter with error like 'Exception from HRESULT: 0x89721800' , refer to this article

Resources