[mono-android] "aresgen.exe" exited with code -2146232576
Vincent Ribeyrol
vincent_ribeyrol at hotmail.com
Tue Mar 22 18:39:18 EDT 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/mailman/private/monodroid/attachments/20110322/9ab5d311/attachment-0001.html
More information about the Monodroid
mailing list