Bug 60274 - TFS build erroring on vbnc: Commenad line : error VBNC99999: Unexpected error: Value cannot be null Parameter name: type at Mono.Cecil.ArrayType..ctor
Summary: TFS build erroring on vbnc: Commenad line : error VBNC99999: Unexpected error...
Status: RESOLVED ANSWERED
Alias: None
Product: iOS
Classification: Xamarin
Component: MSBuild ()
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-10-19 17:47 UTC by Tony
Modified: 2017-10-19 22:43 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description Tony 2017-10-19 17:47:06 UTC
We are trying to get Xamarin.IOS to build our solution from our MacAgent. We can connect to the agent fine and it triggers - however it fails when trying to build one of the other portable projects required before even getting to iOS

We get the error:
vbnc: Commenad line : error VBNC99999: Unexpected error: Value cannot be null
Parameter name: type
at Mono.Cecil.ArrayType..ctor (Mono.Cecil.TypeReference type) ]0x00016] in <c0698b6ec8e1496688e9794985d298d3>:0

(see entire log below)
2017-10-19T17:23:26.9724600Z ##[section]Starting: Build Xamarin.iOS solution PBSConnect/PBSConnect.sln
2017-10-19T17:23:27.0128410Z ==============================================================================
2017-10-19T17:23:27.0139310Z Task         : Xamarin.iOS
2017-10-19T17:23:27.0150010Z Description  : Build an iOS app with Xamarin on macOS
2017-10-19T17:23:27.0160750Z Version      : 1.112.1
2017-10-19T17:23:27.0171490Z Author       : Microsoft Corporation
2017-10-19T17:23:27.0245310Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkID=613729)
2017-10-19T17:23:27.0257170Z ==============================================================================
2017-10-19T17:23:27.3149550Z [command]/Library/Frameworks/Mono.framework/Versions/Current/Commands/nuget restore /Users/connect/connectagent/_work/1/s/PBSConnect/PBSConnect.sln
2017-10-19T17:23:27.8650000Z MSBuild auto-detection: using msbuild version '15.0' from '/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/msbuild/15.0/bin/'.
2017-10-19T17:23:33.3417030Z All packages listed in packages.config are already installed.
2017-10-19T17:23:33.3949260Z [command]/Library/Frameworks/Mono.framework/Versions/Current/Commands/xbuild /Users/connect/connectagent/_work/1/s/PBSConnect/PBSConnect.sln /p:Configuration=iOS Release /p:Platform=iPhone /p:BuildIpa=true
2017-10-19T17:23:33.4518630Z 
2017-10-19T17:23:33.4533230Z >>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<
2017-10-19T17:23:33.4539060Z 
2017-10-19T17:23:33.4550830Z XBuild Engine Version 14.0
2017-10-19T17:23:33.4562500Z Mono, Version 5.4.0.0
2017-10-19T17:23:33.4574750Z Copyright (C) 2005-2013 Various Mono authors
2017-10-19T17:23:33.5223730Z 
2017-10-19T17:23:33.5236970Z Build started 2017-10-19 11:23:33 AM.
2017-10-19T17:23:33.5247910Z __________________________________________________
2017-10-19T17:23:34.1812150Z /Users/connect/connectagent/_work/1/s/PBSConnect/PBSConnect.sln:  warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring.
2017-10-19T17:23:34.2724740Z Project "/Users/connect/connectagent/_work/1/s/PBSConnect/PBSConnect.sln" (default target(s)):
2017-10-19T17:23:34.2742630Z 	Target ValidateSolutionConfiguration:
2017-10-19T17:23:34.2753620Z 		Building solution configuration "iOS Release|iPhone".
2017-10-19T17:23:34.3388710Z 	Target Build:
2017-10-19T17:23:34.3400040Z 		Project "/Users/connect/connectagent/_work/1/s/PBSConnect/PBSConnect.ServiceModel/PBSConnect.ServiceModel.vbproj" (default target(s)):
2017-10-19T17:23:34.3411060Z 			Target PrepareForBuild:
2017-10-19T17:23:34.3421910Z 				Configuration: Release Platform: AnyCPU
2017-10-19T17:23:34.4550650Z 			Target CopyFilesMarkedCopyLocal:
2017-10-19T17:23:34.4564760Z 				Copying file from '/Users/connect/connectagent/_work/1/s/PBSConnect/packages/Xamarin.Forms.2.4.0.282/lib/portable-win+net45+wp80+win81+wpa81/Xamarin.Forms.Core.dll' to '/Users/connect/connectagent/_work/1/s/PBSConnect/PBSConnect.ServiceModel/bin/Release/Xamarin.Forms.Core.dll'
2017-10-19T17:23:34.4578340Z 				Copying file from '/Users/connect/connectagent/_work/1/s/PBSConnect/packages/Xamarin.Forms.2.4.0.282/lib/portable-win+net45+wp80+win81+wpa81/Xamarin.Forms.Platform.dll' to '/Users/connect/connectagent/_work/1/s/PBSConnect/PBSConnect.ServiceModel/bin/Release/Xamarin.Forms.Platform.dll'
2017-10-19T17:23:34.4591050Z 				Copying file from '/Users/connect/connectagent/_work/1/s/PBSConnect/packages/Xamarin.Forms.2.4.0.282/lib/portable-win+net45+wp80+win81+wpa81/Xamarin.Forms.Xaml.dll' to '/Users/connect/connectagent/_work/1/s/PBSConnect/PBSConnect.ServiceModel/bin/Release/Xamarin.Forms.Xaml.dll'
2017-10-19T17:23:34.4617130Z 			Target GenerateSatelliteAssemblies:
2017-10-19T17:23:34.4628250Z 			No input files were specified for target GenerateSatelliteAssemblies, skipping.
2017-10-19T17:23:34.4710450Z 			Target _CoreXamlG:
2017-10-19T17:23:34.4731200Z 			No input files were specified for target _CoreXamlG, skipping.
2017-10-19T17:23:34.5016870Z 			Target CoreCompile:
2017-10-19T17:23:34.5141040Z 				Tool /Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/4.5/vbnc.exe execution started with arguments: /noconfig /debug:pdbonly /optimize+ /out:obj/Release/PBSConnect.ServiceModel.dll "My Project/AssemblyInfo.vb" Operations/Activity/ActivityChange.vb Operations/Appointment/AppointmentChange.vb Operations/Appointment/AppointmentContactVehicleChange.vb Operations/Appointment/AppointmentContactVehicleGet.vb Operations/Appointment/AppointmentGet.vb Operations/Appointment/AppointmentSave.vb Operations/Appointment/AppointmentTransfer.vb Operations/Appointment/AppointmentUpload.vb Operations/Attachments/AttachmentChange.vb Operations/Attachments/AttachmentGet.vb Operations/Attachments/AttachmentList.vb Operations/ClosedDate/ClosedDateProcess.vb Operations/Confirmation.vb Operations/Contact/ContactChange.vb Operations/Contact/ContactGet.vb Operations/Contact/ContactSave.vb Operations/Contact/ContactTransfer.vb Operations/Contact/ContactUpload.vb Operations/Contact/ContactVehicleGet.vb Operations/ContractValidation/ContractValidationChange.vb Operations/ContractValidation/ContractValidationProcess.vb Operations/Deal/DealChange.vb Operations/Deal/DealContactVehicleGet.vb Operations/Deal/DealCountGet.vb Operations/Deal/DealGet.vb Operations/Deal/DealProcess.vb Operations/Deal/DealSave.vb Operations/Deal/DealTransfer.vb Operations/Deal/DealUpload.vb Operations/Deal/Setups/DealFeeSetupsGet.vb Operations/Deal/Setups/DealFeeSetupsTransfer.vb Operations/Deal/Setups/DealFeeSetupsUpload.vb Operations/Deal/Setups/DealInsuranceSetupsGet.vb Operations/Deal/Setups/DealInsuranceSetupsTransfer.vb Operations/Deal/Setups/DealInsuranceSetupsUpload.vb Operations/Deal/Setups/DealLenderSetupsGet.vb Operations/Deal/Setups/DealLenderSetupsTransfer.vb Operations/Deal/Setups/DealLenderSetupsUpload.vb Operations/Deal/Setups/DealProtectionSetupsGet.vb Operations/Deal/Setups/DealProtectionSetupsTransfer.vb Operations/Deal/Setups/DealProtectionSetupsUpload.vb Operations/Deal/Setups/DealSourceSetupsGet.vb Operations/Deal/Setups/DealSourceSetupsTransfer.vb Operations/Deal/Setups/DealSourceSetupsUpload.vb Operations/Deal/Setups/DealStatusSetupsGet.vb Operations/Deal/Setups/DealStatusSetupsTransfer.vb Operations/Deal/Setups/DealStatusSetupsUpload.vb Operations/Deal/Setups/DealTaxStructureSetupsGet.vb Operations/Deal/Setups/DealTaxStructureSetupsTransfer.vb Operations/Deal/Setups/DealTaxStructureSetupsUpload.vb Operations/Deal/Setups/DealWarrantySetupsGet.vb Operations/Deal/Setups/DealWarrantySetupsTransfer.vb Operations/Deal/Setups/DealWarrantySetupsUpload.vb Operations/Employee/EmployeeGet.vb Operations/Employee/EmployeeLoginGet.vb Operations/Employee/EmployeeSave.vb Operations/Employee/EmployeeTransfer.vb Operations/Employee/EmployeeUpload.vb Operations/FinancialStatement/FinancialStatementProcess.vb Operations/LostSale/LostSaleGet.vb Operations/LostSale/LostSaleSave.vb Operations/LostSale/LostSaleTransfer.vb Operations/LostSale/LostSaleUpload.vb Operations/Message/MessageConfirm.vb Operations/Message/MessageGet.vb Operations/Message/MessageHistory.vb Operations/OpCode/OpCodeGet.vb Operations/OpCode/OpCodeSave.vb Operations/OpCode/OpCodeTransfer.vb Operations/OpCode/OpCodeUpload.vb Operations/OrderNotes/OrderNotesChange.vb Operations/PartMaster/PartMasterNotificationSave.vb Operations/PartsInventory/PartsInventoryChange.vb Operations/PartsInventory/PartsInventoryGet.vb Operations/PartsInventory/PartsInventorySave.vb Operations/PartsInventory/PartsInventoryTransfer.vb Operations/PartsInventory/PartsInventoryUpload.vb Operations/PartsInvoice/PartsInvoiceChange.vb Operations/PartsInvoice/PartsInvoiceGet.vb Operations/PartsInvoice/PartsInvoiceSave.vb Operations/PartsInvoice/PartsInvoiceTransfer.vb Operations/PartsInvoice/PartsInvoiceUpload.vb Operations/PartsOrder/PartsOrderChange.vb Operations/PartsOrder/PartsOrderGet.vb Operations/PartsOrder/PartsOrderProcess.vb Operations/PartsOrder/PartsOrderSave.vb Operations/PartsOrder/PartsOrderTransfer.vb Operations/PartsOrder/PartsOrderUpload.vb Operations/PartsQuote/PartsQuoteChange.vb Operations/PartsQuote/PartsQuoteGet.vb Operations/PartsQuote/PartsQuoteSave.vb Operations/PartsQuote/PartsQuoteTransfer.vb Operations/PartsQuote/PartsQuoteUpload.vb Operations/PartsReceipt/PartsReceiptChange.vb Operations/PartsReceipt/PartsReceiptGet.vb Operations/PartsReceipt/PartsReceiptSave.vb Operations/PartsReceipt/PartsReceiptTransfer.vb Operations/PartsReceipt/PartsReceiptUpload.vb Operations/PartsReturn/PartsReturnChange.vb Operations/PartsReturn/PartsReturnGet.vb Operations/PartsReturn/PartsReturnProcess.vb Operations/PartsReturn/PartsReturnSave.vb Operations/PartsShipment/PartsShipmentGet.vb Operations/PartsShipment/PartsShipmentSave.vb Operations/Prospect/ProspectChange.vb Operations/Prospect/ProspectGet.vb Operations/Prospect/ProspectSave.vb Operations/Prospect/ProspectTransfer.vb Operations/Prospect/ProspectUpload.vb Operations/RepairOrder/RepairOrderChange.vb Operations/RepairOrder/RepairOrderContactVehicleGet.vb Operations/RepairOrder/RepairOrderGet.vb Operations/RepairOrder/RepairOrderSave.vb Operations/RepairOrder/RepairOrderTransfer.vb Operations/RepairOrder/RepairOrderUpload.vb Operations/Shop/ShopProcess.vb Operations/SpecialOrderPart/SpecialOrderPartGet.vb Operations/SpecialOrderPart/SpecialOrderPartTransfer.vb Operations/SpecialOrderPart/SpecialOrderPartUpload.vb "Operations/Third Party/ThirdPartyGet.vb" "Operations/Third Party/ThirdPartyHitGet.vb" "Operations/Third Party/ThirdPartySubscriptionGet.vb" "Operations/Third Party/ThirdPartySubscriptionHitGet.vb" "Operations/Third Party/ThirdPartySubscriptionListGet.vb" Operations/ToDo/ToDoChange.vb Operations/ToDo/ToDoComplete.vb Operations/ToDo/ToDoCountGet.vb Operations/ToDo/ToDoDocumentSetupsGet.vb Operations/ToDo/ToDoDocumentSetupsTransfer.vb Operations/ToDo/ToDoDocumentSetupsUpload.vb Operations/ToDo/ToDoGet.vb Operations/ToDo/ToDoSave.vb Operations/ToDo/ToDoTransfer.vb Operations/ToDo/ToDoUpload.vb Operations/UP/UPChange.vb Operations/UP/UpCountGet.vb Operations/UP/UPGet.vb Operations/UP/UPSave.vb Operations/UP/UPTransfer.vb Operations/UP/UPUpload.vb Operations/VehicleInformation/VehicleInformationProcess.vb Operations/Vehicle/VehicleChange.vb Operations/Vehicle/VehicleGet.vb Operations/Vehicle/VehicleInfoGet.vb Operations/Vehicle/VehicleSave.vb Operations/Vehicle/VehicleTransfer.vb Operations/Vehicle/VehicleUpload.vb Operations/WarrantyPayment/WarrantyPaymentGet.vb Operations/WarrantyPayment/WarrantyPaymentSave.vb Types/Activity.vb Types/Appointment.vb Types/Contact.vb Types/ContractValidation.vb Types/CustomField.vb Types/Deal.vb Types/DealFeeSetups.vb Types/DealInsuranceSetups.vb Types/DealLenderSetups.vb Types/DealProtectionSetups.vb Types/DealSourceSetups.vb Types/DealStatusSetups.vb Types/DealTaxStructureSetups.vb Types/DealWarrantySetups.vb Types/Employee.vb Types/FinancialStatement.vb Types/LostSale.vb Types/Message.vb Types/OpCode.vb Types/OrderNotes.vb Types/PartMasterNotification.vb Types/PartsInventory.vb Types/PartsInvoice.vb Types/PartsOrder.vb Types/PartsQuote.vb Types/PartsReceipt.vb Types/PartsReturn.vb Types/PartsShipment.vb Types/Prospect.vb Types/RepairOrder.vb Types/Shop.vb Types/SpecialOrderPart.vb Types/ThirdParty.vb Types/ThirdPartyRequestInfo.vb Types/ThirdPartySubscription.vb Types/ToDo.vb Types/ToDoDocumentSetups.vb Types/UP.vb Types/Vehicle.vb Types/VehicleInfo.vb Types/WarrantyPayment.vb /target:library /define:"CONFIG=\"Release\",TRACE=-1,_MyType=\"Empty\",PLATFORM=\"AnyCPU\"" /doc:PBSConnect.ServiceModel.xml /imports:ServiceStack /imports:System /imports:System.Collections /imports:System.Collections.Generic /imports:System.Collections.ObjectModel /imports:System.ComponentModel /imports:System.Diagnostics /imports:System.IO /imports:System.Linq /imports:System.Runtime.CompilerServices /imports:System.Threading.Tasks /imports:System.Xml.Linq /imports:Windows.ApplicationModel /imports:Windows.ApplicationModel.Activation /imports:Windows.Foundation /imports:Windows.Foundation.Collections /imports:Windows.Graphics.Display /imports:Windows.UI.ViewManagement /imports:Windows.UI.Xaml /imports:Windows.UI.Xaml.Controls /imports:Windows.UI.Xaml.Controls.Primitives /imports:Windows.UI.Xaml.Data /imports:Windows.UI.Xaml.Input /imports:Windows.UI.Xaml.Media /imports:Windows.UI.Xaml.Media.Imaging /optioncompare:Binary /optionstrict- /optioninfer+ /reference:../ServiceStack.Client.dll /reference:../ServiceStack.Interfaces.dll /reference:../ServiceStack.Text.dll /reference:../packages/Xamarin.Forms.2.4.0.282/lib/portable-win+net45+wp80+win81+wpa81/Xamarin.Forms.Core.dll /reference:../packages/Xamarin.Forms.2.4.0.282/lib/portable-win+net45+wp80+win81+wpa81/Xamarin.Forms.Platform.dll /reference:../packages/Xamarin.Forms.2.4.0.282/lib/portable-win+net45+wp80+win81+wpa81/Xamarin.Forms.Xaml.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/Microsoft.CSharp.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Collections.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.ComponentModel.EventBasedAsync.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.ComponentModel.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Core.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Diagnostics.Contracts.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Diagnostics.Debug.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Diagnostics.Tools.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Dynamic.Runtime.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Globalization.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.IO.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Linq.Expressions.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Linq.Queryable.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Linq.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Net.NetworkInformation.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Net.Primitives.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Net.Requests.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Net.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.ObjectModel.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Reflection.Extensions.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Reflection.Primitives.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Reflection.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Resources.ResourceManager.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Runtime.Extensions.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Runtime.InteropServices.WindowsRuntime.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Runtime.Serialization.Json.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Runtime.Serialization.Primitives.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Runtime.Serialization.Xml.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Runtime.Serialization.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Runtime.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Security.Principal.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.ServiceModel.Http.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.ServiceModel.Primitives.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.ServiceModel.Security.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.ServiceModel.Web.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.ServiceModel.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Text.Encoding.Extensions.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Text.Encoding.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Text.RegularExpressions.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Threading.Tasks.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Threading.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Windows.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Xml.Linq.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Xml.ReaderWriter.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Xml.Serialization.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Xml.XDocument.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Xml.XmlSerializer.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.Xml.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/System.dll /reference:/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild-frameworks/.NETPortable/v4.5/Profile/Profile78/mscorlib.dll /rootnamespace:PBSConnect.ServiceModel /vbruntime*
2017-10-19T17:23:34.6840340Z 				Visual Basic.Net Compiler version 0.0.0.5943 (Mono 4.6 - (HEAD/0efdb37)
2017-10-19T17:23:34.6860790Z 				Copyright (C) 2004-2010 Rolf Bjarne Kvinge. All rights reserved.
2017-10-19T17:23:34.6941520Z 				vbnc : Command line : warning VBNC99998: Support for /doc:<file> has not been implemented. No documentation file will be generated.
2017-10-19T17:23:34.6961710Z 				vbnc : Command line : warning VBNC2009: the option vbruntime* was not recognized - ignored
2017-10-19T17:23:34.7734080Z 				Could not load the type 'System.Boolean' from the assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
2017-10-19T17:23:34.7788460Z 				vbnc : Command line : error VBNC99999: Unexpected error: Value cannot be null.
2017-10-19T17:23:34.7807970Z 				Parameter name: type
2017-10-19T17:23:34.7827710Z 				at Mono.Cecil.ArrayType..ctor (Mono.Cecil.TypeReference type) [0x00016] in <c0698b6ec8e1496688e9794985d298d3>:0
2017-10-19T17:23:34.7846980Z 				at vbnc.TypeCacheBase.GetArrayType (Mono.Cecil.TypeDefinition Type) [0x00001] in <e54003a5421f477eaf2a7d85a7c1cc21>:0
2017-10-19T17:23:34.7865780Z 				at vbnc.CecilTypeCache.InitInternal () [0x00019] in <e54003a5421f477eaf2a7d85a7c1cc21>:0
2017-10-19T17:23:34.7889890Z 				at vbnc.TypeCacheBase.Init () [0x0000f] in <e54003a5421f477eaf2a7d85a7c1cc21>:0
2017-10-19T17:23:34.7908560Z 				at vbnc.TypeManager.LoadReferencedAssemblies () [0x00246] in <e54003a5421f477eaf2a7d85a7c1cc21>:0
2017-10-19T17:23:34.7927710Z 				at vbnc.TypeManager.LoadReferenced () [0x00007] in <e54003a5421f477eaf2a7d85a7c1cc21>:0
2017-10-19T17:23:34.7948060Z 				at vbnc.Compiler.Compile () [0x00258] in <e54003a5421f477eaf2a7d85a7c1cc21>:0
2017-10-19T17:23:34.7967860Z 				Compilation took 00:00:00.2367530
2017-10-19T17:23:34.8023300Z /Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild/14.0/bin/Microsoft.VisualBasic.targets: error : Compiler crashed with code: 255.
2017-10-19T17:23:34.8043420Z 			Task "Vbc" execution -- FAILED
2017-10-19T17:23:34.8064460Z 			Done building target "CoreCompile" in project "/Users/connect/connectagent/_work/1/s/PBSConnect/PBSConnect.ServiceModel/PBSConnect.ServiceModel.vbproj".-- FAILED
2017-10-19T17:23:34.8520970Z 		Done building project "/Users/connect/connectagent/_work/1/s/PBSConnect/PBSConnect.ServiceModel/PBSConnect.ServiceModel.vbproj".-- FAILED
2017-10-19T17:23:34.9138150Z 		Project "/Users/connect/connectagent/_work/1/s/PBSConnect/PBSConnect.NotificationApp/PBSConnect.NotificationApp.csproj" (default target(s)):
2017-10-19T17:23:34.9153770Z 			Target PrepareForBuild:
2017-10-19T17:23:34.9164670Z 				Configuration: Release Platform: AnyCPU
2017-10-19T17:23:34.9627130Z 			Target GenerateSatelliteAssemblies:
2017-10-19T17:23:34.9638250Z 			No input files were specified for target GenerateSatelliteAssemblies, skipping.
2017-10-19T17:23:34.9650260Z 			Target _GenerateTargetFrameworkMonikerAttribute:
2017-10-19T17:23:34.9663170Z 			Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
2017-10-19T17:23:34.9674210Z 			Target CoreCompile:
2017-10-19T17:23:34.9685690Z 			Skipping target "CoreCompile" because its outputs are up-to-date.
2017-10-19T17:23:34.9696690Z 			Target _CopyAppConfigFile:
2017-10-19T17:23:34.9709410Z 			Skipping target "_CopyAppConfigFile" because its outputs are up-to-date.
2017-10-19T17:23:34.9722190Z 		Done building project "/Users/connect/connectagent/_work/1/s/PBSConnect/PBSConnect.NotificationApp/PBSConnect.NotificationApp.csproj".
2017-10-19T17:23:34.9733560Z 	Task "MSBuild" execution -- FAILED
2017-10-19T17:23:34.9746300Z 	Done building target "Build" in project "/Users/connect/connectagent/_work/1/s/PBSConnect/PBSConnect.sln".-- FAILED
2017-10-19T17:23:34.9758360Z Done building project "/Users/connect/connectagent/_work/1/s/PBSConnect/PBSConnect.sln".-- FAILED
2017-10-19T17:23:34.9764250Z 
2017-10-19T17:23:34.9775030Z Build FAILED.
2017-10-19T17:23:34.9780530Z 
2017-10-19T17:23:34.9792330Z Warnings:
2017-10-19T17:23:34.9800000Z 
2017-10-19T17:23:34.9812920Z /Users/connect/connectagent/_work/1/s/PBSConnect/PBSConnect.sln:  warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring.
2017-10-19T17:23:34.9819070Z 
2017-10-19T17:23:34.9830510Z Errors:
2017-10-19T17:23:34.9835960Z 
2017-10-19T17:23:34.9846990Z /Users/connect/connectagent/_work/1/s/PBSConnect/PBSConnect.sln (default targets) ->
2017-10-19T17:23:34.9857960Z (Build target) ->
2017-10-19T17:23:34.9869260Z /Users/connect/connectagent/_work/1/s/PBSConnect/PBSConnect.ServiceModel/PBSConnect.ServiceModel.vbproj (default targets) ->
2017-10-19T17:23:34.9881520Z /Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild/14.0/bin/Microsoft.VisualBasic.targets (CoreCompile target) ->
2017-10-19T17:23:34.9889320Z 
2017-10-19T17:23:34.9901460Z 	/Library/Frameworks/Mono.framework/Versions/5.4.0/lib/mono/xbuild/14.0/bin/Microsoft.VisualBasic.targets: error : Compiler crashed with code: 255.
2017-10-19T17:23:34.9907260Z 
2017-10-19T17:23:34.9917990Z 	 1 Warning(s)
2017-10-19T17:23:34.9928840Z 	 1 Error(s)
2017-10-19T17:23:34.9934240Z 
2017-10-19T17:23:34.9944890Z Time Elapsed 00:00:01.4487920
2017-10-19T17:23:35.0325100Z ##[error]Xamarin.iOS task failed with error Error: /Library/Frameworks/Mono.framework/Versions/Current/Commands/xbuild failed with return code: 1. For guidance on setting up the build definition, see https://go.microsoft.com/fwlink/?LinkId=760847.
2017-10-19T17:23:35.0882580Z ##[section]Finishing: Build Xamarin.iOS solution PBSConnect/PBSConnect.sln
Comment 1 Tony 2017-10-19 18:03:19 UTC
I should note that this builds successfully when building the IPA from Visual Studio (Windows) while connected to the mac.
Comment 2 Rolf Bjarne Kvinge [MSFT] 2017-10-19 18:04:03 UTC
The problem is that Visual Basic is not supported when building on the mac.

You can most likely get around this by compiling those assemblies on Windows, and reference the compiled assemblies from your other projects.

There is also some information here that might be relevant for you: https://developer.xamarin.com/guides/cross-platform/application_fundamentals/pcl/portable_visual_basic_net/
Comment 3 Tony 2017-10-19 18:58:52 UTC
That worked and I managed to get to the iOS project but I am getting this now 

error : No valid iOS code signing keys found in keychain. You need to request a codesigning certificate from https://developer.apple.com.

And I know I have all the certificates and provisioning profiles installed on the mac the agent is running on.
Comment 4 Brendan Zagaeski (Xamarin Team, assistant) 2017-10-19 22:43:51 UTC
## Cross-referencing note

The user in Comment 3 has filed Bug 60282 about the code signing topic.