Questions tagged msbuild

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
Published
Categorised as Uncategorised Tagged , , , ,

Building Xamarin.Forms iOS project from command line with msbuild

I’m trying to build a Xamarin.Forms iOS project via command line for CI/CD purposes directly on macOS: msbuild C4S_MobileApp.iOS/C4S_MobileApp.iOS.csproj /restore /p:Platform=iPhone /p:ArchiveOnBuild=true /p:Configuration="Release" /p:BuildProjectReferences="false" The problem is the shared app project which I avoid rebuilding with /p:BuildProjectReferences="false" and whose .dll can’t be found: CSC : error CS0006: Metadata file ‘/Users/c4s/Projects/c4s_refactored/c4s-refactored-mobile-app/C4S_MobileApp/bin/iPhone/Release/netstandard2.1/C4S.MobileApp.dll’ could not be found [/Users/c4s/Projects/c4s_refactored/c4s-refactored-mobile-app/C4S_MobileApp.iOS/C4S_MobileApp.iOS.csproj] […]

By pschlz
Published
Categorised as Uncategorised Tagged , , ,

Visual Studio update (16.8.1) lead to CI build failures

We recently updated our build servers to using Visual Studio 16.8.1 and Xamarin.iOS 14.4.1.3 and have hit an issue with the previous MSBuild command that used to run. For the record we are build a Xamarin Forms solution and targeting iOS here. The command is: "C:Program Files (x86)Microsoft Visual Studio19ProfessionalMSBuildCurrentBinmsbuild" MySolution.sln /p:Configuration="AppStore" /p:Platform="iPhone" /p:ServerAddress="" /p:ServerUser="" […]

By Bijington
Published
Categorised as Uncategorised Tagged , , , ,

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
faq