Quantcast
Channel: Xamarin.Mac — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 1429

Mismatched Xamarin.Mac versions

$
0
0

Hi All,

Recently i've upgraded an old Xamarin project to the latest Xamarin Unified API. I've had no end of trouble but have finally managed to get it partially building with MSBuild. Lately I've noticed at at the very end of my build process the *.exe fails to build as follows:

[14:11:23][Step 5/5] _CompileToNative:
[14:11:23][Step 5/5] Mmp Task
[14:11:23][Step 5/5] AppBundleDir: bin/Release/SyncDesk.MacNib.app
[14:11:23][Step 5/5] ApplicationAssembly: bin/Release/Redacted Sync.exe
[14:11:23][Step 5/5] ApplicationName: Redacted Sync
[14:11:23][Step 5/5] Architecture: x86_64
[14:11:23][Step 5/5] ArchiveSymbols:
[14:11:23][Step 5/5] Debug: False
[14:11:23][Step 5/5] ExplicitReferences:
[14:11:23][Step 5/5] /Applications/buildAgent/work/60984f3d7c625dc1/irs-common/Common.Attributes/bin/Release/Common.Attributes.Mono.dll
[14:11:23][Step 5/5] /Applications/buildAgent/work/60984f3d7c625dc1/irs-common/Common.Devices/Usb/Common.Devices.Usb/bin/Release/Common.Devices.Usb.dll
[14:11:23][Step 5/5] /Applications/buildAgent/work/60984f3d7c625dc1/irs-common/Common.Devices/Usb/Common.Devices.Usb.Factory/bin/Release/Common.Devices.Usb.Factory.dll
[14:11:23][Step 5/5] /Applications/buildAgent/work/60984f3d7c625dc1/irs-common/Common.Devices/Usb/Common.Devices.Usb.HIDAPI/bin/Release/Common.Devices.Usb.HIDAPI.dll
[14:11:23][Step 5/5] /Applications/buildAgent/work/60984f3d7c625dc1/irs-common/Common.Devices/Usb/Common.Devices.Usb.Windows/bin/Release/Common.Devices.Usb.Windows.dll
[14:11:23][Step 5/5] /Applications/buildAgent/work/60984f3d7c625dc1/irs-common/Common.Localize/bin/Release/Redacted.Common.Localize.dll
[14:11:23][Step 5/5] /Applications/buildAgent/work/60984f3d7c625dc1/WebCore/GeoPro/CrossPlatform/Redacted.Sync/bin/Release/Redacted.Sync.dll
[14:11:23][Step 5/5] /Applications/buildAgent/work/60984f3d7c625dc1/WebCore/GeoPro/CrossPlatform/Redacted.Sync.Resources/bin/Release/Redacted.Sync.Resources.dll
[14:11:23][Step 5/5] /Applications/buildAgent/work/60984f3d7c625dc1/WebCore/GeoPro/CrossPlatform/packages/log4net.2.0.3/lib/net40-full/log4net.dll
[14:11:23][Step 5/5] /Library/Frameworks/Mono.framework/Versions/5.10.1/lib/mono/4.5-api/Mono.Posix.dll
[14:11:23][Step 5/5] /Library/Frameworks/Mono.framework/Versions/5.10.1/lib/mono/4.5-api/mscorlib.dll
[14:11:23][Step 5/5] /Applications/buildAgent/work/60984f3d7c625dc1/WebCore/GeoPro/CrossPlatform/packages/Newtonsoft.Json.9.0.1/lib/net45/Newtonsoft.Json.dll
[14:11:23][Step 5/5] /Applications/buildAgent/work/60984f3d7c625dc1/WebCore/GeoPro/CrossPlatform/OsxInstallLocalizer/bin/Release/OsxInstallLocalizer.exe
[14:11:23][Step 5/5] /Applications/buildAgent/work/60984f3d7c625dc1/WebCore/GeoPro/CrossPlatform/SyncRestClient/bin/Release/SyncRestClient.dll
[14:11:23][Step 5/5] /Library/Frameworks/Mono.framework/Versions/5.10.1/lib/mono/4.5-api/System.Core.dll
[14:11:23][Step 5/5] /Library/Frameworks/Mono.framework/Versions/5.10.1/lib/mono/4.5-api/System.dll
[14:11:23][Step 5/5] /Library/Frameworks/Mono.framework/Versions/5.10.1/lib/mono/4.5-api/System.Xml.dll
[14:11:23][Step 5/5] /Library/Frameworks/Mono.framework/Versions/5.10.1/lib/mono/4.5-api/System.Xml.Linq.dll
[14:11:23][Step 5/5] /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/lib/reference/full/Xamarin.Mac.dll
[14:11:23][Step 5/5] ExtraArguments:
[14:11:23][Step 5/5] FrameworkRoot: /Library/Frameworks/Xamarin.Mac.framework/Versions/Current
[14:11:23][Step 5/5] I18n:
[14:11:23][Step 5/5] IntermediateOutputPath: obj/Release/mmp-cache
[14:11:23][Step 5/5] LinkMode: None
[14:11:23][Step 5/5] OutputPath: bin/Release/
[14:11:23][Step 5/5] SdkRoot: /Applications/Xcode.app/Contents/Developer
[14:11:23][Step 5/5] TargetFrameworkIdentifier: .NETFramework
[14:11:23][Step 5/5] TargetFrameworkVersion: v4.5.1
[14:11:23][Step 5/5] TLSProvider: Default
[14:11:23][Step 5/5] UseXamMacFullFramework: False
[14:11:23][Step 5/5] Profiling: False
[14:11:23][Step 5/5] AppManifest: Info.plist
[14:11:23][Step 5/5] SdkVersion: 10.12
[14:11:23][Step 5/5] NativeReferences:
[14:11:23][Step 5/5] IsAppExtension: False
[14:11:23][Step 5/5] /Library/Frameworks/Xamarin.Mac.framework/Versions/Current/bin/mmp /verbose /output:/Applications/buildAgent/work/60984f3d7c625dc1/WebCore/GeoPro/CrossPlatform/SyncDesk.MacNib/bin/Release/ "/name:Redacted Sync" /profile:4.5.1 /arch:i386 --http-message-handler=HttpClientHandler /minos=10.7 /nolink /assembly:/Applications/buildAgent/work/60984f3d7c625dc1/irs-common/Common.Attributes/bin/Release/Common.Attributes.Mono.dll /assembly:/Applications/buildAgent/work/60984f3d7c625dc1/irs-common/Common.Devices/Usb/Common.Devices.Usb/bin/Release/Common.Devices.Usb.dll /assembly:/Applications/buildAgent/work/60984f3d7c625dc1/irs-common/Common.Devices/Usb/Common.Devices.Usb.Factory/bin/Release/Common.Devices.Usb.Factory.dll /assembly:/Applications/buildAgent/work/60984f3d7c625dc1/irs-common/Common.Devices/Usb/Common.Devices.Usb.HIDAPI/bin/Release/Common.Devices.Usb.HIDAPI.dll /assembly:/Applications/buildAgent/work/60984f3d7c625dc1/irs-common/Common.Devices/Usb/Common.Devices.Usb.Windows/bin/Release/Common.Devices.Usb.Windows.dll /assembly:/Applications/buildAgent/work/60984f3d7c625dc1/irs-common/Common.Localize/bin/Release/Redacted.Common.Localize.dll /assembly:/Applications/buildAgent/work/60984f3d7c625dc1/WebCore/GeoPro/CrossPlatform/Redacted.Sync/bin/Release/Redacted.Sync.dll /assembly:/Applications/buildAgent/work/60984f3d7c625dc1/WebCore/GeoPro/CrossPlatform/Redacted.Sync.Resources/bin/Release/Redacted.Sync.Resources.dll /assembly:/Applications/buildAgent/work/60984f3d7c625dc1/WebCore/GeoPro/CrossPlatform/packages/log4net.2.0.3/lib/net40-full/log4net.dll /assembly:/Library/Frameworks/Mono.framework/Versions/5.10.1/lib/mono/4.5-api/Mono.Posix.dll /assembly:/Library/Frameworks/Mono.framework/Versions/5.10.1/lib/mono/4.5-api/mscorlib.dll /assembly:/Applications/buildAgent/work/60984f3d7c625dc1/WebCore/GeoPro/CrossPlatform/packages/Newtonsoft.Json.9.0.1/lib/net45/Newtonsoft.Json.dll /assembly:/Applications/buildAgent/work/60984f3d7c625dc1/WebCore/GeoPro/CrossPlatform/OsxInstallLocalizer/bin/Release/OsxInstallLocalizer.exe /assembly:/Applications/buildAgent/work/60984f3d7c625dc1/WebCore/GeoPro/CrossPlatform/SyncRestClient/bin/Release/SyncRestClient.dll /assembly:/Library/Frameworks/Mono.framework/Versions/5.10.1/lib/mono/4.5-api/System.Core.dll /assembly:/Library/Frameworks/Mono.framework/Versions/5.10.1/lib/mono/4.5-api/System.dll /assembly:/Library/Frameworks/Mono.framework/Versions/5.10.1/lib/mono/4.5-api/System.Xml.dll /assembly:/Library/Frameworks/Mono.framework/Versions/5.10.1/lib/mono/4.5-api/System.Xml.Linq.dll /assembly:/Library/Frameworks/Xamarin.Mac.framework/Versions/Current/lib/reference/full/Xamarin.Mac.dll "/Applications/buildAgent/work/60984f3d7c625dc1/WebCore/GeoPro/CrossPlatform/SyncDesk.MacNib/bin/Release/Redacted Sync.exe" /sdkroot /Applications/Xcode.app/Contents/Developer --cache /Applications/buildAgent/work/60984f3d7c625dc1/WebCore/GeoPro/CrossPlatform/SyncDesk.MacNib/obj/Release/mmp-cache
[14:11:23]
[Step 5/5] Error - MMP :.error MM0007: The root assembly '/Applications/buildAgent/work/60984f3d7c625dc1/WebCore/GeoPro/CrossPlatform/SyncDesk.MacNib/bin/Release/Redacted Sync.exe' does not exist [/Applications/buildAgent/work/60984f3d7c625dc1/WebCore/GeoPro/CrossPlatform/SyncDesk.MacNib/SyncDesk.MacNib.csproj]
MM0007: The root assembly '/Applications/buildAgent/work/60984f3d7c625dc1/WebCore/GeoPro/CrossPlatform/SyncDesk.MacNib/bin/Release/Redacted Sync.exe' does not exist [/Applications/buildAgent/work/60984f3d7c625dc1/WebCore/GeoPro/CrossPlatform/SyncDesk.MacNib/SyncDesk.MacNib.csproj]
[14:11:23][Step 5/5] Error message is logged

The Xamarin.Mac i've included in my project is version 4.4.1.193 however the version that lives on my build machine that appears to be being called is 2.10.0.105. My question is, could this framework mismatch be causing issues? The build server in question runs a old version of Xamarin Studio Enterprise, would simply uninstalling Xamarin Studio and installing Visual Studio For Mac 2017 resolve the issue?


Viewing all articles
Browse latest Browse all 1429

Trending Articles