Forum Visual Studio

MSBuild + Mac build agent

MichaelRumplerMichaelRumpler ATMember ✭✭✭✭✭

I have a solution with library projects for all platforms (to be released on nuget). When I try to automate the build with

%msbuild% ..\MR.Gestures.sln /p:Configuration=Release /t:Build /verbosity:minimal

then I get this warning:

C:\Program Files (x86)\MSBuild\Xamarin\iOS\Xamarin.iOS.Windows.After.targets(63,5): warning VSX1000: The project MR.Gestures.iOS was built while disconnected from a Mac agent, so only the main assembly was compiled. Connect to a Xamarin Mac build agent to build the full application. [D:\MR.Gestures\MR.Gestures.iOS\MR.Gestures.iOS.csproj]

But when I open the solution in Visual Studio, then it connects to the build agent automatically.

How can I get MSBuild to connect to my Mac?

Best Answer


Sign In or Register to comment.