Bug 10701 - Rebuilding a project shows 1 error for successful build in status bar
Summary: Rebuilding a project shows 1 error for successful build in status bar
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 4.0
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-02-26 15:43 UTC by Tom Opgenorth
Modified: 2015-08-25 06:23 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Build successful (but shows 1 error) (234.91 KB, image/png)
2013-02-26 15:43 UTC, Tom Opgenorth
Details
Error window (263.39 KB, image/png)
2013-02-26 15:50 UTC, Tom Opgenorth
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Tom Opgenorth 2013-02-26 15:43:18 UTC
Created attachment 3488 [details]
Build successful (but shows 1 error)

I had a Xamarin.Android project which had some build errors. The build errors were caused by some typos in Resources/vaalues/strings.xml.  I corrected the error and rebuilt all. The status bar at the top of Xamarin Studio tells me "Build Successful" but also shows 1 error.

See attached screenshot.
Comment 1 Mikayla Hutchinson [MSFT] 2013-02-26 15:47:45 UTC
Are there any errors in the build output?
Comment 2 Tom Opgenorth 2013-02-26 15:49:50 UTC
Here is the build output. Note that app compiles, deploys to emulator, and runs fine.

Build started 26/02/2013 1:42:19 PM.
__________________________________________________
Project "/Users/tom/Desktop/PreferencesApplication/PreferencesApplication.csproj" (SignAndroidPackage target(s)):
	
	Target _CheckProjectItems:
		CheckProjectItems Task
		  NativeLibraries:
		  JavaLibraries:
		  JavaSourceFiles:
	
	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
		MonoAndroid Binaries: /Developer/MonoAndroid/usr/bin/
		Android NDK: 
		Android SDK: /Users/tom/android-sdk-macosx/
		Java SDK: /usr/
	
	Target _ValidateAndroidPackageProperties:
		GetAndroidPackageName Task
		  ManifestFile: 
		  AssemblyName: PreferencesApplication
		  PackageName: PreferencesApplication.PreferencesApplication
	
	Target _ExtractLibraryProjectImports:
		  Assemblies: 
		    /Developer/MonoAndroid/usr/lib/mandroid/platforms/android-8/Mono.Android.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/mscorlib.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/System.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/System.Xml.Linq.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/System.Xml.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/System.Core.dll
		  Jars: 
		  ResolvedResourceDirectories: 
	
	Target _GetLibraryImports:
		  NativeLibraries: 
		  Jars: 
	
	Target _CheckDuplicateJavaLibraries:
		  JavaSourceFiles:
		  JavaLibraries:
	
	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:
	Skipping target "CoreCompile" because its outputs are up-to-date.
	
	Target _ResolveAssemblies:
		ResolveAssemblies Task
		  ReferenceAssembliesDirectory: /Developer/MonoAndroid/usr/lib/mandroid/platforms/android-8;/Developer/MonoAndroid/usr/lib/mono/2.1;/Developer/MonoAndroid/usr/lib/mandroid/platforms/android-8;/Developer/MonoAndroid/usr/lib/mono/2.1
		  I18nAssemblies: 
		  LinkMode: None
		  Assemblies:
		    bin/Debug/PreferencesApplication.dll
		    /Developer/MonoAndroid/usr/lib/mandroid/platforms/android-8/Mono.Android.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/mscorlib.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/System.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/System.Xml.Linq.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/System.Xml.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/System.Core.dll
		  [Output] ResolvedAssemblies:
		    /Users/tom/Desktop/PreferencesApplication/bin/Debug/PreferencesApplication.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/mscorlib.dll
		    /Developer/MonoAndroid/usr/lib/mandroid/platforms/android-8/Mono.Android.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/System.Core.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/System.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/Mono.Security.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/System.Xml.dll
		  [Output] ResolvedUserAssemblies:
		    /Users/tom/Desktop/PreferencesApplication/bin/Debug/PreferencesApplication.dll
		  [Output] ResolvedFrameworkAssemblies:
		    /Developer/MonoAndroid/usr/lib/mono/2.1/mscorlib.dll
		    /Developer/MonoAndroid/usr/lib/mandroid/platforms/android-8/Mono.Android.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/System.Core.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/System.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/Mono.Security.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/System.Xml.dll
	
	Target _CopyIntermediateAssemblies:
		SourceFiles:
		    /Users/tom/Desktop/PreferencesApplication/bin/Debug/PreferencesApplication.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/mscorlib.dll
		    /Developer/MonoAndroid/usr/lib/mandroid/platforms/android-8/Mono.Android.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/System.Core.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/System.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/Mono.Security.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/System.Xml.dll
		DestinationFiles:
		    obj/Debug/assemblies/PreferencesApplication.dll
		    obj/Debug/assemblies/mscorlib.dll
		    obj/Debug/assemblies/Mono.Android.dll
		    obj/Debug/assemblies/System.Core.dll
		    obj/Debug/assemblies/System.dll
		    obj/Debug/assemblies/Mono.Security.dll
		    obj/Debug/assemblies/System.Xml.dll
	
	Target _ScanAssemblies:
		LinkAssemblies Task
		  UseSharedRuntime: true
		  MainAssembly: obj/Debug/assemblies/PreferencesApplication.dll
		  OutputDirectory: obj/Debug/android/assets/
		  I18nAssemblies: 
		  ReferenceAssembliesDirectory: /Developer/MonoAndroid/usr/lib/mandroid/platforms/android-8;/Developer/MonoAndroid/usr/lib/mono/2.1;/Developer/MonoAndroid/usr/lib/mandroid/platforms/android-8;/Developer/MonoAndroid/usr/lib/mono/2.1
		  ResolvedAssemblies:
		    obj/Debug/assemblies/PreferencesApplication.dll
		    obj/Debug/assemblies/mscorlib.dll
		    obj/Debug/assemblies/Mono.Android.dll
		    obj/Debug/assemblies/System.Core.dll
		    obj/Debug/assemblies/System.dll
		    obj/Debug/assemblies/Mono.Security.dll
		    obj/Debug/assemblies/System.Xml.dll
	
	Target _StripEmbeddedLibraries:
		  Assemblies: 
		    obj/Debug/assemblies/PreferencesApplication.dll
		    obj/Debug/assemblies/mscorlib.dll
		    obj/Debug/assemblies/Mono.Android.dll
		    obj/Debug/assemblies/System.Core.dll
		    obj/Debug/assemblies/System.dll
		    obj/Debug/assemblies/Mono.Security.dll
		    obj/Debug/assemblies/System.Xml.dll
	
	Target _GenerateJavaStubs:
	Skipping target "_GenerateJavaStubs" because its outputs are up-to-date.
	
	Target _AddStaticResources:
		Resource obj/Debug/android/assets/machine.config is unchanged. Skipping.
		Resource obj/Debug/android/src/mono/MonoRuntimeProvider.java is unchanged. Skipping.
		Resource obj/Debug/android/src/mono/android/Seppuku.java is unchanged. Skipping.
	
	Target _GeneratePackageManagerJava:
	Skipping target "_GeneratePackageManagerJava" because its outputs are up-to-date.
	
	Target _CreateBaseApk:
	Skipping target "_CreateBaseApk" because its outputs are up-to-date.
	
	Target _CompileJava:
	Skipping target "_CompileJava" because its outputs are up-to-date.
	
	Target _CompileDex:
	Skipping target "_CompileDex" because its outputs are up-to-date.
	
	Target _BuildApkFastDev:
		  Environments:
		  ResolvedUserAssemblies:
		    /Users/tom/Desktop/PreferencesApplication/bin/Debug/PreferencesApplication.dll
		  ResolvedFrameworkAssemblies:
		    /Developer/MonoAndroid/usr/lib/mono/2.1/mscorlib.dll
		    /Developer/MonoAndroid/usr/lib/mandroid/platforms/android-8/Mono.Android.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/System.Core.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/System.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/Mono.Security.dll
		    /Developer/MonoAndroid/usr/lib/mono/2.1/System.Xml.dll
		  NativeLibraries:
		  BundleNativeLibraries:
		  JavaSourceFiles:
		  JavaLibraries:
	
	Target _Mandroid:
		Mandroid Task
		  Assemblies: bin/Debug/PreferencesApplication.dll; /Developer/MonoAndroid/usr/lib/mandroid/platforms/android-8/Mono.Android.dll; /Developer/MonoAndroid/usr/lib/mono/2.1/mscorlib.dll; /Developer/MonoAndroid/usr/lib/mono/2.1/System.dll; /Developer/MonoAndroid/usr/lib/mono/2.1/System.Xml.Linq.dll; /Developer/MonoAndroid/usr/lib/mono/2.1/System.Xml.dll; /Developer/MonoAndroid/usr/lib/mono/2.1/System.Core.dll
		  AndroidEmbedProfilers: 
		  I18nAssemblies: 
		  BuildDirectory: obj/Debug/
		  ReferenceAssembliesDirectory: /Developer/MonoAndroid/usr/lib/mandroid/platforms/android-8;/Developer/MonoAndroid/usr/lib/mono/2.1;/Developer/MonoAndroid/usr/lib/mandroid/platforms/android-8;/Developer/MonoAndroid/usr/lib/mono/2.1
		  AndroidSdkDirectory: /Users/tom/android-sdk-macosx/
		  JavaSdkDirectory: /usr/
		  AssetDirectory: obj/Debug/assets/
		  AndroidSdkPlatform: 8
		  MonoAndroidToolsDirectory: /Developer/MonoAndroid/usr/lib/mandroid/
		  ResourceDirectory: obj/Debug/res/
		  ManifestTemplate: 
		  Package: PreferencesApplication.PreferencesApplication
		  NativeLibrary: 
		  JavaSource: 
		  Debug: True
		  UseSharedRuntime: True
		  SupportedAbis: armeabi;armeabi-v7a;x86
		  LinkMode: None
		  ExtraArgs:  
		Tool /Developer/MonoAndroid/usr/bin/mandroid execution started with arguments: -v --nosign --sdk-dir="/Users/tom/android-sdk-macosx/" --builddir="obj/Debug/android" --framework-dir="/Developer/MonoAndroid/usr/lib/mandroid/platforms/android-8" --framework-dir="/Developer/MonoAndroid/usr/lib/mono/2.1" --framework-dir="/Developer/MonoAndroid/usr/lib/mandroid/platforms/android-8" --framework-dir="/Developer/MonoAndroid/usr/lib/mono/2.1" -S="obj/Debug/res/" --package="PreferencesApplication.PreferencesApplication" --input="obj/Debug/android/bin/resources_and_assemblies" --output="obj/Debug/android/bin/PreferencesApplication.PreferencesApplication.apk"   --nolink --abi="armeabi;armeabi-v7a;x86" --java-sdk-dir="/usr/" --debug --sdk-platform="8" "bin/Debug/PreferencesApplication.dll" "/Developer/MonoAndroid/usr/lib/mandroid/platforms/android-8/Mono.Android.dll" "/Developer/MonoAndroid/usr/lib/mono/2.1/mscorlib.dll" "/Developer/MonoAndroid/usr/lib/mono/2.1/System.dll" "/Developer/MonoAndroid/usr/lib/mono/2.1/System.Xml.Linq.dll" "/Developer/MonoAndroid/usr/lib/mono/2.1/System.Xml.dll" "/Developer/MonoAndroid/usr/lib/mono/2.1/System.Core.dll" --profiler="log" 
		Copying file from '/Users/tom/Desktop/PreferencesApplication/obj/Debug/android/bin/PreferencesApplication.PreferencesApplication.apk' to '/Users/tom/Desktop/PreferencesApplication/bin/Debug/PreferencesApplication.PreferencesApplication.apk'
	
	Target _Sign:
		Tool /usr/bin/jarsigner execution started with arguments: -keystore "/Users/tom/.local/share/Xamarin/Mono for Android/debug.keystore" -storepass android -keypass android -digestalg SHA1 -sigalg md5withRSA -signedjar bin/Debug/PreferencesApplication.PreferencesApplication-Signed-Unaligned.apk obj/Debug/android/bin/PreferencesApplication.PreferencesApplication.apk androiddebugkey 
		Signed android package 'bin/Debug/PreferencesApplication.PreferencesApplication-Signed.apk'
		AndroidZipAlign Task
		  AndroidSdkDirectory: /Users/tom/android-sdk-macosx/
		  Alignment: 4
		  Source: bin/Debug/PreferencesApplication.PreferencesApplication-Signed-Unaligned.apk
		  Destination: bin/Debug/PreferencesApplication.PreferencesApplication-Signed.apk
		Tool /Users/tom/android-sdk-macosx/tools/zipalign execution started with arguments: 4 "bin/Debug/PreferencesApplication.PreferencesApplication-Signed-Unaligned.apk" "bin/Debug/PreferencesApplication.PreferencesApplication-Signed.apk" 
		Aligned android package 'bin/Debug/PreferencesApplication.PreferencesApplication-Signed.apk'
		Deleting file '/Users/tom/Desktop/PreferencesApplication/bin/Debug/PreferencesApplication.PreferencesApplication-Signed-Unaligned.apk'
Done building project "/Users/tom/Desktop/PreferencesApplication/PreferencesApplication.csproj".

Build succeeded.
	 0 Warning(s)
	 0 Error(s)

Time Elapsed 00:00:01.6915040
Comment 3 Tom Opgenorth 2013-02-26 15:50:46 UTC
Created attachment 3489 [details]
Error window

Here is what is displayed in the errors window
Comment 4 Lluis Sanchez 2015-08-25 06:23:40 UTC
This was already fixed.