[mono-android] "aresgen.exe" exited with code -2146232576

Jonathan Pryor jpryor at novell.com
Wed Mar 23 17:15:23 EDT 2011


Do you have .NET 3.5 installed on your machine? Or just .NET 4.0?

 - Jon

On Mar 23, 2011, at 5:02 PM, Vincent Ribeyrol wrote:

> Still can't understand what happens. To resume again what I did up to now: I just install android sdk, VS2010 and Mono for android. Then I create a Mono For Android application. And I try to build it without modify it. I feel a bit disappointed about Mono ...
> 
> Can the line "Done executing task "AndroidResgen" -- FAILED." be a hint to find out the problem ?
> 
> Again here is my build log.
> help please
> Vincent
> 
> ------ Rebuild All started: Project: MyApp, Configuration: Release Any CPU ------
> Build started 23/03/2011 21:50:22.
> Building with tools version "4.0".
> Target "_CheckForInvalidConfigurationAndPlatform" in file "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets" from project "C:\MyApp\MyApp\MyApp.csproj" (entry point):
> Task "Error" skipped, due to false condition; ( '$(_InvalidConfigurationError)' == 'true' ) was evaluated as ( '' == 'true' ).
> Task "Warning" skipped, due to false condition; ( '$(_InvalidConfigurationWarning)' == 'true' ) was evaluated as ( '' == 'true' ).
> Task "Message"
>   Configuration=Release
> Done executing task "Message".
> Task "Message"
>   Platform=AnyCPU
> Done executing task "Message".
> Task "Error" skipped, due to false condition; ('$(OutDir)' != '' and !HasTrailingSlash('$(OutDir)')) was evaluated as ('bin\Release\' != '' and !HasTrailingSlash('bin\Release\')).
> Task "Error" skipped, due to false condition; ('$(BaseIntermediateOutputPath)' != '' and !HasTrailingSlash('$(BaseIntermediateOutputPath)')) was evaluated as ('obj\' != '' and !HasTrailingSlash('obj\')).
> Task "Error" skipped, due to false condition; ('$(IntermediateOutputPath)' != '' and !HasTrailingSlash('$(IntermediateOutputPath)')) was evaluated as ('obj\Release\' != '' and !HasTrailingSlash('obj\Release\')).
> Done building target "_CheckForInvalidConfigurationAndPlatform" in project "MyApp.csproj".
> Target "BeforeRebuild" in file "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets" from project "C:\MyApp\MyApp\MyApp.csproj" (target "Rebuild" depends on it):
> Done building target "BeforeRebuild" in project "MyApp.csproj".
> Target "BeforeClean" in file "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets" from project "C:\MyApp\MyApp\MyApp.csproj" (target "Clean" depends on it):
> Done building target "BeforeClean" in project "MyApp.csproj".
> Target "UnmanagedUnregistration" skipped, due to false condition; ((('$(_AssemblyTimestampBeforeCompile)' != '$(_AssemblyTimestampAfterCompile)' or '$(RegisterForComInterop)' != 'true' or '$(OutputType)' != 'library') or
>                     ('$(_AssemblyTimestampBeforeCompile)' == '')) and
>                    Exists('@(_UnmanagedRegistrationCache)')) was evaluated as ((('' != '' or '' != 'true' or 'Library' != 'library') or
>                     ('' == '')) and
>                    Exists('obj\MyApp.csproj.UnmanagedRegistration.cache')).
> Target "CoreClean" in file "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets" from project "C:\MyApp\MyApp\MyApp.csproj" (target "Clean" depends on it):
> Using "Delete" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
> Task "Delete"
> Done executing task "Delete".
> Using "ReadLinesFromFile" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
> Task "ReadLinesFromFile"
> Done executing task "ReadLinesFromFile".
> Using "FindUnderPath" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
> Task "FindUnderPath"
>   Comparison path is "bin\Release\".
> Done executing task "FindUnderPath".
> Task "FindUnderPath"
>   Comparison path is "obj\Release\".
> Done executing task "FindUnderPath".
> Task "Delete"
> Done executing task "Delete".
> Using "RemoveDuplicates" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
> Task "RemoveDuplicates"
> Done executing task "RemoveDuplicates".
> Task "MakeDir"
> Done executing task "MakeDir".
> Task "WriteLinesToFile"
> Done executing task "WriteLinesToFile".
> Done building target "CoreClean" in project "MyApp.csproj".
> Target "AssignProjectConfiguration" skipped, due to false condition; ('@(ProjectReference)'!='') was evaluated as (''!='').
> Target "_SplitProjectReferencesByFileExistence" in file "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets" from project "C:\MyApp\MyApp\MyApp.csproj" (target "CleanReferencedProjects" depends on it):
> Task "ResolveNonMSBuildProjectOutput" skipped, due to false condition; ('$(BuildingInsideVisualStudio)'=='true' and '@(ProjectReferenceWithConfiguration)'!='') was evaluated as ('true'=='true' and ''!='').
> Done building target "_SplitProjectReferencesByFileExistence" in project "MyApp.csproj".
> Target "CleanReferencedProjects" in file "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets" from project "C:\MyApp\MyApp\MyApp.csproj" (target "Clean" depends on it):
> Task "MSBuild" skipped, due to false condition; ('$(BuildingInsideVisualStudio)' != 'true' and '$(BuildProjectReferences)' == 'true' and '@(_MSBuildProjectReferenceExistent)' != '') was evaluated as ('true' != 'true' and 'true' == 'true' and '' != '').
> Done building target "CleanReferencedProjects" in project "MyApp.csproj".
> Target "CleanPublishFolder" in file "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets" from project "C:\MyApp\MyApp\MyApp.csproj" (target "Clean" depends on it):
> Task "RemoveDir" skipped, due to false condition; ('$(PublishDir)'=='$(OutputPath)app.publish\' and Exists('$(PublishDir)')) was evaluated as ('bin\Release\app.publish\'=='bin\Release\app.publish\' and Exists('bin\Release\app.publish\')).
> Done building target "CleanPublishFolder" in project "MyApp.csproj".
> Target "AfterClean" in file "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets" from project "C:\MyApp\MyApp\MyApp.csproj" (target "Clean" depends on it):
> Done building target "AfterClean" in project "MyApp.csproj".
> Target "_CleanMonoAndroidIntermediateDir" in file "C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets" from project "C:\MyApp\MyApp\MyApp.csproj" (target "Clean" depends on it):
> Using "CreateItem" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
> Task "CreateItem"
> Done executing task "CreateItem".
> Task "Delete"
> Done executing task "Delete".
> Done building target "_CleanMonoAndroidIntermediateDir" in project "MyApp.csproj".
> Target "Clean" in file "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets" from project "C:\MyApp\MyApp\MyApp.csproj" (target "Rebuild" depends on it):
> Done building target "Clean" in project "MyApp.csproj".
> Target "_ComputeAndroidAssetsPaths" in file "C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets" from project "C:\MyApp\MyApp\MyApp.csproj" (target "UpdateAndroidAssets" depends on it):
> Using "AndroidComputeResPaths" task from assembly "C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Build.Tasks.dll".
> Task "AndroidComputeResPaths"
> Done executing task "AndroidComputeResPaths".
> Done building target "_ComputeAndroidAssetsPaths" in project "MyApp.csproj".
> Target "_GenerateAndroidAssetsDir" in file "C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets" from project "C:\MyApp\MyApp\MyApp.csproj" (target "UpdateAndroidAssets" depends on it):
> Skipping target "_GenerateAndroidAssetsDir" because it has no outputs.
> Though the target has declared its outputs, the output specification only references empty properties and/or empty item lists.
> Done building target "_GenerateAndroidAssetsDir" in project "MyApp.csproj".
> Target "UpdateAndroidAssets" in file "C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets" from project "C:\MyApp\MyApp\MyApp.csproj" (target "Build" depends on it):
> Done building target "UpdateAndroidAssets" in project "MyApp.csproj".
> Target "_ComputeAndroidResourcePaths" in file "C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets" from project "C:\MyApp\MyApp\MyApp.csproj" (target "UpdateAndroidResources" depends on it):
> Task "AndroidComputeResPaths"
> Done executing task "AndroidComputeResPaths".
> Done building target "_ComputeAndroidResourcePaths" in project "MyApp.csproj".
> Target "_GenerateAndroidResourceDir" in file "C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets" from project "C:\MyApp\MyApp\MyApp.csproj" (target "UpdateAndroidResources" depends on it):
> Building target "_GenerateAndroidResourceDir" completely.
> Input file "Resources\Values\Strings.xml" is newer than output file "C:\MyApp\MyApp\obj\Release\res\layout\main.axml".
> Task "MakeDir"
> Done executing task "MakeDir".
> Using "Copy" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
> Task "Copy"
>   Did not copy from file "Resources\Layout\Main.axml" to file "C:\MyApp\MyApp\obj\Release\res\layout\main.axml" because the "SkipUnchangedFiles" parameter was set to "true" in the project and the files' sizes and timestamps match.
>   Did not copy from file "Resources\Values\Strings.xml" to file "C:\MyApp\MyApp\obj\Release\res\values\strings.xml" because the "SkipUnchangedFiles" parameter was set to "true" in the project and the files' sizes and timestamps match.
>   Did not copy from file "Resources\Drawable\Icon.png" to file "C:\MyApp\MyApp\obj\Release\res\drawable\icon.png" because the "SkipUnchangedFiles" parameter was set to "true" in the project and the files' sizes and timestamps match.
> Done executing task "Copy".
> Using "RemoveUnknownFiles" task from assembly "C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Build.Tasks.dll".
> Task "RemoveUnknownFiles"
> Done executing task "RemoveUnknownFiles".
> Done building target "_GenerateAndroidResourceDir" in project "MyApp.csproj".
> Target "GetReferenceAssemblyPaths" in file "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets" from project "C:\MyApp\MyApp\MyApp.csproj" (target "_ResolveMonoAndroidFrameworkWindows" depends on it):
> Task "GetReferenceAssemblyPaths"
> Done executing task "GetReferenceAssemblyPaths".
> Done building target "GetReferenceAssemblyPaths" in project "MyApp.csproj".
> Target "_ResolveMonoAndroidFrameworkWindows" in file "C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets" from project "C:\MyApp\MyApp\MyApp.csproj" (target "_ResolveMonoAndroidSdks" depends on it):
> Using "CreateProperty" task from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
> Task "CreateProperty"
> Done executing task "CreateProperty".
> Done building target "_ResolveMonoAndroidFrameworkWindows" in project "MyApp.csproj".
> Target "_ResolveMonoAndroidSdks" in file "C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets" from project "C:\MyApp\MyApp\MyApp.csproj" (target "_ValidateAndroidPackageProperties" depends on it):
> Using "ResolveSdks" task from assembly "C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Build.Tasks.dll".
> Task "ResolveSdks"
> Done executing task "ResolveSdks".
> Task "Error" skipped, due to false condition; ('$(MonoAndroidToolsDirectory)'=='' Or '$(MonoAndroidFrameworkDirectories)'=='') was evaluated as ('C:\Program Files\MSBuild\Novell'=='' Or 'C:\Program Files\Reference Assemblies\Microsoft\Framework\MonoAndroid\v2.3\;C:\Program Files\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\'=='').
> Task "Error" skipped, due to false condition; ('$(AndroidSdkDirectory)'=='') was evaluated as ('C:\Program Files\Android\android-sdk-windows'=='').
> Task "Error" skipped, due to false condition; ('$(JavaSdkDirectory)'=='') was evaluated as ('C:\Program Files\Java\jdk1.6.0_23'=='').
> Task "CreateProperty"
> Done executing task "CreateProperty".
> Task "CreateProperty"
> Done executing task "CreateProperty".
> Task "CreateProperty"
> Done executing task "CreateProperty".
> Task "CreateProperty"
> Done executing task "CreateProperty".
> Task "CreateProperty"
> Done executing task "CreateProperty".
> Task "CreateProperty"
> Done executing task "CreateProperty".
> Task "CreateProperty"
> Done executing task "CreateProperty".
> Task "Message"
>   MonoAndroid Tools: C:\Program Files\MSBuild\Novell\
> Done executing task "Message".
> Task "Message"
>   MonoAndroid Framework: C:\Program Files\Reference Assemblies\Microsoft\Framework\MonoAndroid\v2.3\;C:\Program Files\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\
> Done executing task "Message".
> Task "Message"
>   Android SDK: C:\Program Files\Android\android-sdk-windows\
> Done executing task "Message".
> Task "Message"
>   Java SDK: C:\Program Files\Java\jdk1.6.0_23\
> Done executing task "Message".
> Task "CreateProperty"
> Done executing task "CreateProperty".
> Task "CreateProperty"
> Done executing task "CreateProperty".
> Done building target "_ResolveMonoAndroidSdks" in project "MyApp.csproj".
> Target "_ValidateAndroidPackageProperties" in file "C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets" from project "C:\MyApp\MyApp\MyApp.csproj" (target "_UpdateAndroidResgen" depends on it):
> Task "CreateProperty"
> Done executing task "CreateProperty".
> Task "Error" skipped, due to false condition; ('$(_AndroidManifestAbs)'!='' And !Exists ('$(_AndroidManifestAbs)')) was evaluated as ('C:\MyApp\MyApp\Properties\AndroidManifest.xml'!='' And !Exists ('C:\MyApp\MyApp\Properties\AndroidManifest.xml')).
> Using "GetAndroidPackageName" task from assembly "C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Build.Tasks.dll".
> Task "GetAndroidPackageName"
>   GetAndroidPackageName Task
>     ManifestFile: C:\MyApp\MyApp\Properties\AndroidManifest.xml
>     AssemblyName: MyApp
>     PackageName: MyApp.MyApp
> Done executing task "GetAndroidPackageName".
> Task "Error" skipped, due to false condition; ('$(_AndroidPackage)' == '') was evaluated as ('MyApp.MyApp' == '').
> Task "CreateProperty"
> Done executing task "CreateProperty".
> Task "CreateProperty"
> Done executing task "CreateProperty".
> Task "CreateProperty"
> Done executing task "CreateProperty".
> Done building target "_ValidateAndroidPackageProperties" in project "MyApp.csproj".
> Target "_UpdateAndroidResgen" in file "C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets" from project "C:\MyApp\MyApp\MyApp.csproj" (target "UpdateAndroidResources" depends on it):
> Building target "_UpdateAndroidResgen" completely.
> Output file "obj\Release\R.cs.flag" does not exist.
> Using "AndroidResgen" task from assembly "C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Build.Tasks.dll".
> Task "AndroidResgen"
>   AndroidResgen Task
>     ResourceDirectory: C:\MyApp\MyApp\obj\Release\res\
>     ResgenOutputFile: Resources\Resource.Designer.cs
>     Namespace: MyApp
>     JavaSdkDirectory: C:\Program Files\Java\jdk1.6.0_23\
>     AndroidSdkDirectory: C:\Program Files\Android\android-sdk-windows\
>     AndroidSdkPlatform: 9
>     MonoAndroidToolsDirectory: C:\Program Files\MSBuild\Novell\
>     ExtraArgs: 
>   Environment Variables passed to tool:
>     path=C:\Program Files\Java\jdk1.6.0_23\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\
>   C:\Program Files\MSBuild\Novell\aresgen.exe -o="Resources\Resource.Designer.cs" --package="MyApp.MyApp" --sdk-dir="C:\Program Files\Android\android-sdk-windows" --java-sdk-dir="C:\Program Files\Java\jdk1.6.0_23" --sdk-platform="9" --namespace="MyApp" --resource:layout\main.axml,Layout\Main.axml --resource:values\strings.xml,Values\Strings.xml --resource:drawable\icon.png,Drawable\Icon.png -v -S "C:\MyApp\MyApp\obj\Release\res" 
> C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets(289,2): error MSB6006: "aresgen.exe" exited with code -2146232576.
> Done executing task "AndroidResgen" -- FAILED.
> Done building target "_UpdateAndroidResgen" in project "MyApp.csproj" -- FAILED.
> 
> Build FAILED.
> 
> Time Elapsed 00:00:00.07
> ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
> 
> From: vincent_ribeyrol at hotmail.com
> To: monkey at jpobst.com
> Date: Wed, 23 Mar 2011 00:04:54 +0100
> CC: monodroid at lists.ximian.com
> Subject: Re: [mono-android] "aresgen.exe" exited with code -2146232576
> 
> I turn verbosity to "Diagnostics", I still can't see any other error than " "aresgen.exe" exited with code -2146232576 "
> I attached the build output.
> 
> ... and i'm still investigating
> 
> Vincent
> 
> > Date: Tue, 22 Mar 2011 17:47:52 -0500
> > From: monkey at jpobst.com
> > To: vincent_ribeyrol at hotmail.com
> > CC: monodroid at lists.ximian.com
> > Subject: Re: [mono-android] "aresgen.exe" exited with code -2146232576
> > 
> > That is not the error. Maybe try turning up the build verbosity as far 
> > as it will go and attaching the log would help.
> > 
> > Jonathan
> > 
> > 
> > On 3/22/2011 5:39 PM, Vincent Ribeyrol wrote:
> > > It seems to be a problem in the Novell.MonoDroid.Common.targets file : I
> > > have a lot of warnings in it. Here is one of them (all of them are
> > > "invalid child element):
> > >
> > > The element 'Target' in namespace
> > > 'http://schemas.microsoft.com/developer/msbuild/2003' has invalid child
> > > element 'AndroidResgen' in namespace
> > > 'http://schemas.microsoft.com/developer/msbuild/2003'. List of possible
> > > elements expected: 'Task, AL, AspNetCompiler, AssignCulture,
> > > AssignProjectConfiguration, AssignTargetPath, AxImp, CallTarget,
> > > CombinePath, ConvertToAbsolutePath, Copy,
> > > CreateCSharpManifestResourceName, CreateItem, CreateProperty,
> > > CreateVisualBasicManifestResourceName, Csc, Delete, Error, Exec,
> > > FindAppConfigFile, FindInList, FindUnderPath, FormatUrl, FormatVersion,
> > > GenerateApplicationManifest, GenerateBootstrapper,
> > > GenerateDeploymentManifest, GenerateResource, GenerateTrustInfo,
> > > GetAssemblyIdentity, GetFrameworkPath, GetFrameworkSdkPath,
> > > GetReferenceAssemblyPaths, LC, MakeDir, Message, Move, MSBuild,
> > > ReadLinesFromFile, RegisterAssembly, RemoveDir, RemoveDuplicates,
> > > RequiresFramework35SP1Assembly, ResolveAssemblyReference,
> > > ResolveComReference, ResolveKeySource, ResolveManifestFiles,
> > > ResolveNativeReference, ResolveNonMSBuildProjectOutput, SGen, SignFile,
> > > TlbImp, Touch, UnregisterAssembly, UpdateManifest, Vbc, VCBuild,
> > > Warning, WriteCodeFragment, WriteLinesToFile, XslTransformation,
> > > CodeAnalysis, CL, Link, BSCMake, CPPClean, Get....
> > > C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets
> > >
> > > Any idea of what happens or a way to solve this ?
> > >
> > > Thanks
> > >
> > > Vincent
> > >
> > > ------------------------------------------------------------------------
> > > From: vincent_ribeyrol at hotmail.com
> > > To: monkey at jpobst.com; monodroid at lists.ximian.com
> > > Date: Tue, 22 Mar 2011 20:40:49 +0100
> > > Subject: Re: [mono-android] "aresgen.exe" exited with code -2146232576
> > >
> > > Thank for your answer Jonathan,
> > >
> > > I have already set logging verbosity to normal but I don't see any other
> > > error.
> > > Here is the building output :
> > >
> > > ------ Build started: Project: MyApp, Configuration: Debug Any CPU ------
> > > Build started 22/03/2011 20:34:21.
> > > _GenerateAndroidAssetsDir:
> > > Skipping target "_GenerateAndroidAssetsDir" because it has no outputs.
> > > _ResolveMonoAndroidSdks:
> > > MonoAndroid Tools: C:\Program Files\MSBuild\Novell\
> > > MonoAndroid Framework: C:\Program Files\Reference
> > > Assemblies\Microsoft\Framework\MonoAndroid\v2.2\;C:\Program
> > > Files\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\
> > > Android SDK: C:\Program Files\Android\android-sdk-windows\
> > > Java SDK: C:\Program Files\Java\jdk1.6.0_23\
> > > _ValidateAndroidPackageProperties:
> > > GetAndroidPackageName Task
> > > ManifestFile:
> > > AssemblyName: MyApp
> > > PackageName: MyApp.MyApp
> > > _UpdateAndroidResgen:
> > > AndroidResgen Task
> > > ResourceDirectory: C:\MyApp\MyApp\obj\Debug\res\
> > > ResgenOutputFile: Resources\Resource.Designer.cs
> > > Namespace: MyApp
> > > JavaSdkDirectory: C:\Program Files\Java\jdk1.6.0_23\
> > > AndroidSdkDirectory: C:\Program Files\Android\android-sdk-windows\
> > > AndroidSdkPlatform: 8
> > > MonoAndroidToolsDirectory: C:\Program Files\MSBuild\Novell\
> > > ExtraArgs:
> > > C:\Program Files\MSBuild\Novell\aresgen.exe
> > > -o="Resources\Resource.Designer.cs" --package="MyApp.MyApp"
> > > --sdk-dir="C:\Program Files\Android\android-sdk-windows"
> > > --java-sdk-dir="C:\Program Files\Java\jdk1.6.0_23" --sdk-platform="8"
> > > --namespace="MyApp" --resource:layout\main.axml,Layout\Main.axml
> > > --resource:values\strings.xml,Values\Strings.xml
> > > --resource:drawable\icon.png,Drawable\Icon.png -v -S
> > > "C:\MyApp\MyApp\obj\Debug\res"
> > > C:\Program Files\MSBuild\Novell\Novell.MonoDroid.Common.targets(289,2):
> > > error MSB6006: "aresgen.exe" exited with code -2146232576.
> > >
> > > Build FAILED.
> > >
> > > Time Elapsed 00:00:00.01
> > > ========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========
> > >
> > > I think I have something wrong in my monodroid installation.
> > >
> > > Vincent
> > >
> > >
> > > > Date: Tue, 22 Mar 2011 13:58:08 -0500
> > > > From: monkey at jpobst.com
> > > > To: monodroid at lists.ximian.com
> > > > CC: vincent_ribeyrol at hotmail.com
> > > > Subject: Re: [mono-android] "aresgen.exe" exited with code -2146232576
> > > >
> > > > You will need to increase the logging verbosity to see the real error.
> > > > See here:
> > > >
> > > > http://mono-android.net/Documentation/Troubleshoot
> > > >
> > > > Jonathan
> > > >
> > > >
> > > > On 3/22/2011 1:45 PM, Vincent Ribeyrol wrote:
> > > > > Hi,
> > > > > I'm new in monodroid programming and I can't build my first app.
> > > Here is
> > > > > the error:
> > > > >
> > > > > "aresgen.exe" exited with code -2146232576. C:\Program
> > > > > Files\MSBuild\Novell\Novell.MonoDroid.Common.targets
> > > > >
> > > > > I think that that is a current noob problem but I can't find anything
> > > > > about this specific error code -2146232576 in any forums. (I found some
> > > > > article about aresgen.exe error but with other code and that didn't
> > > > > solve my problem).
> > > > > Does someone can help me ?
> > > > >
> > > > > Vincent
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________ Monodroid mailing list
> > > > > Monodroid at lists.ximian.com UNSUBSCRIBE INFORMATION:
> > > > > http://lists.ximian.com/mailman/listinfo/monodroid
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > Monodroid mailing list
> > > > > Monodroid at lists.ximian.com
> > > > >
> > > > > UNSUBSCRIBE INFORMATION:
> > > > > http://lists.ximian.com/mailman/listinfo/monodroid
> > > >
> > >
> > > _______________________________________________ Monodroid mailing list
> > > Monodroid at lists.ximian.com UNSUBSCRIBE INFORMATION:
> > > http://lists.ximian.com/mailman/listinfo/monodroid
> > 
> 
> _______________________________________________ Monodroid mailing list Monodroid at lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid_______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
> 
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid



More information about the Monodroid mailing list