[mono-android] Unable to build portable library on OSX.

Jonathan Pryor jonp at xamarin.com
Thu Oct 18 14:14:34 UTC 2012


On Oct 17, 2012, at 11:36 PM, Doug <douglas.linder at gmail.com> wrote:
> Is this a known issue, or something?

I haven't seen it before...

> I saw this issue on bugzilla: https://bugzilla.xamarin.com/show_bug.cgi?id=7173
> 
> However, my issue is more direct.
> Clear copy of OSX mountain lion.

I assume you mean "clean" copy...

> Install the android trial
> Create new solution
> Create new portable library project
> Compile
> 
> Generates:
> /Users/doug/projects/droid/droid.sample/HelloWorld.Common/HelloWorld.Common.csproj:
> Error: /Users/doug/projects/droid/droid.sample/HelloWorld.Common/HelloWorld.Common.csproj:
> /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/xbuild/Microsoft/Portable/v4.0/Microsoft.Portable.CSharp.targets:

Sanity check: does that file exist?

	$ ls -l /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/xbuild/Microsoft/Portable/v4.0/Microsoft.Portable.CSharp.targets 
	-rw-r--r--  1 root  admin  1570 May  7 20:42 /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/xbuild/Microsoft/Portable/v4.0/Microsoft.Portable.CSharp.targets

> Project file could not be imported, it was being imported by
> /Users/doug/projects/droid/droid.sample/HelloWorld.Common/HelloWorld.Common.csproj:
> /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/xbuild/Microsoft/Portable/v4.0/Microsoft.Portable.CSharp.targets
> could not import
> "$(MSBuildToolsPath)\Novell\Novell.MonoDroid.CSharp.targets"

Further sanity check: does that file exist?

	$ ls -l /Library/Frameworks/Mono.framework/External/xbuild/Novell/Novell.MonoDroid.CSharp.targets 
	-rw-r--r--  1 root  admin  1366 Sep 14 12:37 /Library/Frameworks/Mono.framework/External/xbuild/Novell/Novell.MonoDroid.CSharp.targets

Thanks,
 - Jon



More information about the Monodroid mailing list