Reputation: 17560
I'm using Xamarin Studio for the Mac, version 6.2.
From the Project menu I select "Run Code Analysis on Solution".
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: Error: Error executing task CompileEntitlements: Required property 'AppBundleDir' not set. (Core.iOS)
Core.iOS is an iOS project that the main project depends on.
I don't know where or how to set this "AppBundlerDir" and I can't find answers anywhere.
Upvotes: 0
Views: 272
Reputation: 13176
AppBundleDir
is a MSBuild property that represents an app bundle directory path. You can set this in your .csproj
along the lines of
<AppBundleDir>$(DeviceSpecificOutputPath)$(_AppBundleName).app</AppBundleDir>
You should be able to get a general idea of what Tasks/Targets use it here:
You can find a definition of how it gets set here: https://github.com/xamarin/xamarin-macios/blob/fc55e4306f79491fd269ca2495c6a859799cb1c6/msbuild/Xamarin.iOS.Tasks.Core/Xamarin.iOS.Common.targets#L589
Upvotes: 1