Questions tagged visual-studio

Explore the latest questions and answers asked by our top developers.

SonarQube/SonarScanner integration with Xamarin.iOS getting unhandled exception on scanner end command

I need to integrate SonarQube with my Xamarin.iOS project. I follow the following steps: install jdk 11 install sonarqube install sonarscanner Executed commands on project root directory : mono sonar-scanner/sonarscanner/SonarScanner.MSBuild.exe begin /k:"projectname" /d:sonar.login="token" Build project : msbuild solution.slnf /t:Rebuild Executed : sonar-scanner/sonarscanner/SonarScanner.MSBuild.exe end /d:sonar.login="token" After end command getting unhandled exception . Unhandled Exception: System.ComponentModel.Win32Exception (0x80004005): […]

By Swati
Categorised as Uncategorised Tagged , , , ,

Deploy wireless to iPhone using Windows machine

Can I deploy my xamarin.iOS app over Wifi from my windows machine? I only have a remote mac that I use for building, but obviously can’t plug in my iPhone there to establish a remote connection. Is there a feature in visual studio or any other possibility to debug wirelessly without the need to purchase […]

By rstolze
Categorised as Uncategorised Tagged ,

iOS App properly save user credentials in file / appmemory

Context: I am working on an app which makes database and API calls. Therefore, for each API call, I need to send the API-Key within the request as Authentication. Also, I have multiple APIs which are called, so currently I use a credentials.json file which contains the credentials and it’s located inside the project, right […]

By lightyears99
Categorised as Uncategorised Tagged , , , ,

Localization in Xamarin IOS

I’ve recently started experiementing on this platform and trying to figure out how to make App that supports multiple languages. When coming across the documentation of localization (, I find it hard to understand the actual steps of implementation: I declared the CFBundleDevelopmentRegion and CFBundleLocalizations, then I wrote the strings of keys and values in […]

By user16384840
Categorised as Uncategorised Tagged , , , ,

Xamarin.Forms iOS build error Object reference not set to an instance of an object

I currently created a new Xamarin.Forms project using VS 2019 in my PC, installed some nuget packages and after building the project i got{$content}.10.0buildTransitiveXamarin.Build.Download.targets(52,3): error : Object reference not set to an instance of an object. from the iOS project. I checked the Error log file attached to my repo folder in my PC […]

Xamarin Pair to Mac error installing Broker – ScpClient lost connection

I’m using Visual Studio 2019 on Windows 10 and I’m setting up a new Mac build host for others to use to build our Xamarin iOS project. I’ve been using my own work-issued Mac build host for years to build this project and that is still working fine. Pair to Mac has connected to the […]

By matt dolfin
Categorised as Uncategorised Tagged , , ,

iPhone text/iMessage history

Can someone give us a pointer or two on how to access text messages and iMessages on an iPhone? We are using Visual Studio 2019, C#, and any .net framework. Our Google searches are clearly not using the right nomenclature. We have a phone. We have the access code. We want to download the messages, […]

By Greg
Categorised as Uncategorised Tagged , , , ,

How to overcome "Please select a valid device before running the application." on a paired with Mac Visual Studio on Windows 10

I have a Win10 computer paired with Mac. Until today all things were okay, but today I start getting the message: Please select a valid device before running the application when I try to debug an iOS Xamarin application on a selected iPhone simulator. My configurations: Mac: XCode Vesion: version 12.2 Visual Studio 2019: version […]

By Rafael
Categorised as Uncategorised Tagged ,

Couldn’t add Apple Id into Visual Studio 2019

I have read similar questions but they doesn’t fit my situation. So I have developer Apple Id account (and I agreed with Apple terms&conditions) and I can use it on the Mac both in XCode and Visual Studio. But when I’m trying to add the same account into Visual Studio on my desktop: I get […]

By Miamy
Categorised as c++, ios, visual-studio, visual-studio-2019 Tagged , , ,

iOS Build Fails With Error MT0018 When Paired to Visual Studio on Windows

I have a Mac Mini, I paired it with Visual Studio on Windows and when I run the Build command the following errors appear? I didn’t find any solution on the internet. Would anyone know how to solve it? error MT0018: Unknown command line argument: ‘–reference=/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/lib/mono/Xamarin.iOS/Facades/Microsoft.Win32.Primitives.dll’ Source: Xamarin.ios Questions

By Gabriel G Pavan
Categorised as Uncategorised Tagged ,
1 3

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us