[MonoDevelop] MacOSX Lion + MonoDevelop 2.8.2 + Mono for Android not installed

Miljenko Cvjetko mcvjetko at holisticware.net
Tue Nov 8 03:11:50 EST 2011


Hi

On 11/8/11 3:00 AM, Alan wrote:
> One last thing, do you get the same error when you create a brand new 
> Mono for Android solution?
Nope. All goes well with new solution, but got error from 
AssemblyInfo.cs but this is matter for
mono-android group...

For us it is still to clear why we get error for older solutions...

@mono-android guys:
Brand new sln. Hit Run/Debug got this:


------------------------------------ Snip begin 
---------------------------------------------
Build Output

Building: sasa (Debug)

Building Solution sasa

Building: sasa (Debug)

Performing main compilation...

Build started 11/08/2011 08:52:50.
__________________________________________________
Project "/Users/moljac/Projects/sasa/sasa/sasa.csproj" (Build target(s)):

     Target _GenerateAndroidAssetsDir:
     No output files were specified for target 
_GenerateAndroidAssetsDir, skipping.

     Target _GenerateAndroidResourceDir:
     Skipping target "_GenerateAndroidResourceDir" because its outputs 
are up-to-date.

     Target _ResolveMonoAndroidSdks:
         MonoAndroid Tools: /Developer/MonoAndroid/usr/lib/mandroid/
         MonoAndroid Framework: 
/Developer/MonoAndroid/usr/lib/mandroid/platforms/android-8;/Developer/MonoAndroid/usr/lib/mono/2.1
         Android SDK: /opt/android/sdk/
         Java SDK: /usr/

     Target _ValidateAndroidPackageProperties:
         GetAndroidPackageName Task
           ManifestFile:
           AssemblyName: sasa
           PackageName: sasa.sasa

     Target _UpdateAndroidResgen:
     Skipping target "_UpdateAndroidResgen" because its outputs are 
up-to-date.

     Target PrepareForBuild:
         Configuration: Debug Platform: AnyCPU

     Target GenerateSatelliteAssemblies:
     No input files were specified for target 
GenerateSatelliteAssemblies, skipping.

     Target CoreCompile:
         Tool /Developer/MonoAndroid/usr/lib/mandroid/../../bin/smcs 
execution started with arguments: /noconfig /debug:full /debug+ 
/optimize- /out:obj/Debug/sasa.dll Activity1.cs 
Resources/Resource.designer.cs Properties/AssemblyInfo.cs 
/target:library 
/define:"DEBUG;__ANDROID__;__ANDROID_1__;__ANDROID_2__;__ANDROID_3__;__ANDROID_4__;__ANDROID_5__;__ANDROID_6__;__ANDROID_7__;__ANDROID_8__" 
/reference:/Developer/MonoAndroid/usr/lib/mono/2.1/System.dll 
/reference:/Developer/MonoAndroid/usr/lib/mono/2.1/System.Xml.dll 
/reference:/Developer/MonoAndroid/usr/lib/mandroid/platforms/android-8/Mono.Android.dll 
/reference:/Developer/MonoAndroid/usr/lib/mono/2.1/System.Core.dll /warn:4
Properties/AssemblyInfo.cs(30,12): error CS0246: The type or namespace 
name `UsesPermission' could not be found. Are you missing a using 
directive or an assembly reference?
Properties/AssemblyInfo.cs(30,12): error CS0246: The type or namespace 
name `UsesPermissionAttribute' could not be found. Are you missing a 
using directive or an assembly reference?
     Task "Csc" execution -- FAILED
     Done building target "CoreCompile" in project 
"/Users/moljac/Projects/sasa/sasa/sasa.csproj".-- FAILED

Done building project "/Users/moljac/Projects/sasa/sasa/sasa.csproj".-- 
FAILED

Build FAILED.
Errors:

/Users/moljac/Projects/sasa/sasa/sasa.csproj (Build) ->
/Library/Frameworks/Mono.framework/Versions/2.10.6/lib/mono/4.0/Microsoft.CSharp.Targets 
(CoreCompile target) ->

     Properties/AssemblyInfo.cs(30,12): error CS0246: The type or 
namespace name `UsesPermission' could not be found. Are you missing a 
using directive or an assembly reference?
     Properties/AssemblyInfo.cs(30,12): error CS0246: The type or 
namespace name `UsesPermissionAttribute' could not be found. Are you 
missing a using directive or an assembly reference?

      0 Warning(s)
      2 Error(s)

Time Elapsed 00:00:01.6348940
Build complete -- 2 errors, 0 warnings

---------------------- Done ----------------------

Build: 2 errors, 0 warnings
------------------------------------ Snip End 
---------------------------------------------

I was suspeting that java sdk in /usr/ was the cause, but checked 
everything one more time (installation etc)

MonoDevelop + Preferences + Other:




>
> Thanks!

You are welcome

greetings

mel
>

-- 
Miljenko Cvjetko dipl.ing. ET
	Direktor/CEO
	Projektant rješenja/Solution Architect	
	Razvojni programer/Senior developer
	Voditelj projekta/Project Manager

IX južna obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: mcvjetko at holisticware.net
w: http://www.holisticware.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20111108/bd70a4c7/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eghbadde.png
Type: image/png
Size: 114318 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20111108/bd70a4c7/attachment-0001.png 


More information about the Monodevelop-list mailing list