Skip to content

Instantly share code, notes, and snippets.

@Arpit360 Arpit360/WindowRelease Secret
Created Nov 3, 2015

Embed
What would you like to do?
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe App42\App42.csproj /t:Install /p:Configuration=Release
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe App42\App42.csproj /t:Install /p:Configuration=Release
C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe App42\App42.csproj /t:Install /p:Configuration=Release
'C:\Windows\Microsoft.' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42>NET\Framework\v4.0.30
319\MSBuild.exe App42\App42.csproj
The system cannot find the path specified.
C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42>C:\Windows\Microsoft.
NET\Framework\v4.0.30319\MSBuild.exe App42\App42.csproj /t:Install /p:Configurat
ion=Release
Microsoft (R) Build Engine version 4.0.30319.33440
[Microsoft .NET Framework, version 4.0.30319.34011]
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 11/3/2015 7:35:48 PM.
Project "C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42\App42\App42
.csproj" on node 1 (Install target(s)).
_CreatePropertiesCache:
Creating directory "obj\Release\".
PrepareForBuild:
Creating directory "bin\Release\".
_GenerateAndroidAssetsDir:
Skipping target "_GenerateAndroidAssetsDir" because it has no outputs.
_ComputeAndroidResourcePaths:
Creating directory "obj\Release\res\".
_ResolveMonoAndroidSdks:
MonoAndroid Tools: C:\Program Files (x86)\MSBuild\Xamarin\Android\
MonoAndroid Binaries: C:\Program Files (x86)\MSBuild\Xamarin\Android\
Android Platform API level: 23
TargetFrameworkVersion: v6.0
Android NDK: E:\SDK_NDKFOLDER\android-ndk-r8d\
Android SDK: E:\SDK_NDKFOLDER\android-sdk\
Android SDK Build Tools: E:\SDK_NDKFOLDER\android-sdk\build-tools\23.0.1\
Java SDK: C:\Program Files\Java\jdk1.7.0_72\
_ValidateAndroidPackageProperties:
PackageName: App42.App42
_CreateAdditionalResourceCache:
Skipping target "_CreateAdditionalResourceCache" because it has no outputs.
_GenerateAndroidResourceDir:
Creating directory "C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App4
2\App42\obj\Release\res\layout".
Copying file from "Resources\layout\Main.axml" to "C:\Users\Arpit\Documents\V
isual Studio 2013\Projects\App42\App42\obj\Release\res\layout\main.xml".
Creating directory "C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App4
2\App42\obj\Release\res\values".
Copying file from "Resources\values\Strings.xml" to "C:\Users\Arpit\Documents
\Visual Studio 2013\Projects\App42\App42\obj\Release\res\values\strings.xml".
Creating directory "C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App4
2\App42\obj\Release\res\drawable".
Copying file from "Resources\drawable\Icon.png" to "C:\Users\Arpit\Documents\
Visual Studio 2013\Projects\App42\App42\obj\Release\res\drawable\icon.png".
Touching "C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42\App42\ob
j\Release\res\layout\main.xml".
Touching "C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42\App42\ob
j\Release\res\values\strings.xml".
Touching "C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42\App42\ob
j\Release\res\drawable\icon.png".
_UpdateAndroidResgen:
Processing: obj\Release\res\layout\main.xml
Processing: obj\Release\res\values\strings.xml
E:\SDK_NDKFOLDER\android-sdk\build-tools\23.0.1\aapt.exe package -f -m -M C:\
Users\Arpit\AppData\Local\Temp\w5ybsule.4ci\AndroidManifest.xml -J C:\Users\A
rpit\AppData\Local\Temp\w5ybsule.4ci --custom-package app42.app42 -F C:\Users
\Arpit\AppData\Local\Temp\w5ybsule.4ci\resources.apk.bk -S obj\Release\res -I
E:\SDK_NDKFOLDER\android-sdk\platforms\android-23\android.jar --auto-add-ove
rlay
- Remapping resource: Drawable.icon -> drawable\Icon
- Not remapping resource: Id.MyButton
- Remapping resource: Layout.main -> layout\Main
- Not remapping resource: String.ApplicationName
- Not remapping resource: String.Hello
GenerateTargetFrameworkMonikerAttribute:
Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output fi
les are up-to-date with respect to the input files.
CoreCompile:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Csc.exe /noconfig /nowarn:1701,
1702 /nostdlib+ /errorreport:prompt /warn:4 /define:TRACE;__XAMARIN_ANDROID_v
1_0__;__MOBILE__;__ANDROID__;__ANDROID_1__;__ANDROID_2__;__ANDROID_3__;__ANDR
OID_4__;__ANDROID_5__;__ANDROID_6__;__ANDROID_7__;__ANDROID_8__;__ANDROID_9__
;__ANDROID_10__;__ANDROID_11__;__ANDROID_12__;__ANDROID_13__;__ANDROID_14__;_
_ANDROID_15__;__ANDROID_16__;__ANDROID_17__;__ANDROID_18__;__ANDROID_19__;__A
NDROID_20__;__ANDROID_21__;__ANDROID_22__;__ANDROID_23__ /reference:"C:\Progr
am Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v6.0\Mono
.Android.dll" /reference:"C:\Program Files (x86)\Reference Assemblies\Microso
ft\Framework\MonoAndroid\v1.0\mscorlib.dll" /reference:"C:\Program Files (x86
)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\System.Core.dll"
/reference:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\M
onoAndroid\v1.0\System.dll" /reference:"C:\Program Files (x86)\Reference Asse
mblies\Microsoft\Framework\MonoAndroid\v1.0\System.Xml.dll" /reference:"C:\Pr
ogram Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\v1.0\S
ystem.Xml.Linq.dll" /debug:pdbonly /filealign:512 /optimize+ /out:obj\Release
\App42.dll /target:library /utf8output MainActivity.cs Resources\Resource.Des
igner.cs Properties\AssemblyInfo.cs "C:\Users\Arpit\AppData\Local\Temp\MonoAn
droid,Version=v6.0.AssemblyAttributes.cs"
CopyFilesToOutputDirectory:
Copying file from "obj\Release\App42.dll" to "bin\Release\App42.dll".
App42 -> C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42\App42\bin
\Release\App42.dll
Copying file from "obj\Release\App42.pdb" to "bin\Release\App42.pdb".
_CreatePackageWorkspace:
Creating directory "obj\Release\android\assets\".
_ScanAssemblies:
Creating "obj\Release\scan.flag" because "AlwaysCreate" was specified.
_CreateIntermediateAssembliesDir:
Creating directory "obj\Release\assemblies\".
_CopyConfigFiles:
Skipping target "_CopyConfigFiles" because it has no outputs.
_CopyIntermediateAssemblies:
Copying file from "C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42
\App42\bin\Release\App42.dll" to "obj\Release\assemblies\App42.dll".
Copying file from "C:\Program Files (x86)\Reference Assemblies\Microsoft\Fram
ework\MonoAndroid\v6.0\Mono.Android.dll" to "obj\Release\assemblies\Mono.Andr
oid.dll".
Copying file from "C:\Program Files (x86)\Reference Assemblies\Microsoft\Fram
ework\MonoAndroid\v1.0\mscorlib.dll" to "obj\Release\assemblies\mscorlib.dll"
.
Copying file from "C:\Program Files (x86)\Reference Assemblies\Microsoft\Fram
ework\MonoAndroid\v1.0\System.Core.dll" to "obj\Release\assemblies\System.Cor
e.dll".
Copying file from "C:\Program Files (x86)\Reference Assemblies\Microsoft\Fram
ework\MonoAndroid\v1.0\System.dll" to "obj\Release\assemblies\System.dll".
Copying file from "C:\Program Files (x86)\Reference Assemblies\Microsoft\Fram
ework\MonoAndroid\v1.0\System.Xml.dll" to "obj\Release\assemblies\System.Xml.
dll".
Copying file from "C:\Program Files (x86)\Reference Assemblies\Microsoft\Fram
ework\MonoAndroid\v1.0\System.Xml.Linq.dll" to "obj\Release\assemblies\System
.Xml.Linq.dll".
Copying file from "C:\Program Files (x86)\Reference Assemblies\Microsoft\Fram
ework\MonoAndroid\v1.0\System.Runtime.Serialization.dll" to "obj\Release\asse
mblies\System.Runtime.Serialization.dll".
Copying file from "C:\Program Files (x86)\Reference Assemblies\Microsoft\Fram
ework\MonoAndroid\v1.0\System.ServiceModel.Internals.dll" to "obj\Release\ass
emblies\System.ServiceModel.Internals.dll".
Touching "obj\Release\assemblies\App42.dll".
Touching "obj\Release\assemblies\System.ServiceModel.Internals.dll".
_CopyMdbFiles:
Copying file from "bin\Release\App42.dll.mdb" to "obj\Release\assemblies\App4
2.dll.mdb".
Copying file from "bin\Release\Mono.Android.dll.mdb" to "obj\Release\assembli
es\Mono.Android.dll.mdb".
Copying file from "bin\Release\mscorlib.dll.mdb" to "obj\Release\assemblies\m
scorlib.dll.mdb".
Copying file from "bin\Release\System.Core.dll.mdb" to "obj\Release\assemblie
s\System.Core.dll.mdb".
Copying file from "bin\Release\System.dll.mdb" to "obj\Release\assemblies\Sys
tem.dll.mdb".
Copying file from "bin\Release\System.Runtime.Serialization.dll.mdb" to "obj\
Release\assemblies\System.Runtime.Serialization.dll.mdb".
Copying file from "bin\Release\System.ServiceModel.Internals.dll.mdb" to "obj
\Release\assemblies\System.ServiceModel.Internals.dll.mdb".
Copying file from "bin\Release\System.Xml.dll.mdb" to "obj\Release\assemblies
\System.Xml.dll.mdb".
Copying file from "bin\Release\System.Xml.Linq.dll.mdb" to "obj\Release\assem
blies\System.Xml.Linq.dll.mdb".
_StripEmbeddedLibraries:
Creating "obj\Release\strip.flag" because "AlwaysCreate" was specified.
_LinkAssemblies:
Creating "obj\Release\link.flag" because "AlwaysCreate" was specified.
_GenerateJavaStubs:
Processing: obj\Release\res\layout\main.xml
Processing: obj\Release\res\values\strings.xml
_AddStaticResources:
Creating directory "obj\Release\android\bin".
Copying file from "C:\Program Files (x86)\Reference Assemblies\Microsoft\Fram
ework\MonoAndroid\v6.0\mono.android.jar" to "obj\Release\android\bin\mono.and
roid.jar".
Creating "obj\Release\static.flag" because "AlwaysCreate" was specified.
_CreateAdditionalResourceCache:
Skipping target "_CreateAdditionalResourceCache" because it has no outputs.
_CreateBaseApk:
Processing: obj\Release\res\layout\main.xml
Processing: obj\Release\res\values\strings.xml
E:\SDK_NDKFOLDER\android-sdk\build-tools\23.0.1\aapt.exe package -f -m -M obj
\Release\android\AndroidManifest.xml -J C:\Users\Arpit\AppData\Local\Temp\sxp
1lze0.vd3 --custom-package app42.app42 -F obj\Release\android\bin\packaged_re
sources.bk -S obj\Release\res -I E:\SDK_NDKFOLDER\android-sdk\platforms\andro
id-23\android.jar --auto-add-overlay
Touching "obj\Release\android\bin\packaged_resources".
_CreateAdditionalResourceCache:
Skipping target "_CreateAdditionalResourceCache" because it has no outputs.
_CompileJava:
C:\Program Files\Java\jdk1.7.0_72\\bin\javac.exe -J-Dfile.encoding=UTF8 -d ob
j\Release\android\bin\classes -classpath "C:\Program Files (x86)\Reference As
semblies\Microsoft\Framework\MonoAndroid\v6.0\mono.android.jar" -bootclasspat
h E:\SDK_NDKFOLDER\android-sdk\platforms\android-23\android.jar -encoding UTF
-8 "@C:\Users\Arpit\AppData\Local\Temp\tmpC89B.tmp"
Note: obj\Release\android\src\md544c9b5eb33c94b048d63b81845dd977b\MainActivit
y.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
_CreateAdditionalResourceCache:
Skipping target "_CreateAdditionalResourceCache" because it has no outputs.
_CompileToDalvik:
Creating directory "obj\Release\proguard".
C:\Program Files\Java\jdk1.7.0_72\\bin\java.exe -jar E:\SDK_NDKFOLDER\android
-sdk\build-tools\23.0.1\\lib\dx.jar --no-strict --dex --output=obj\Release\an
droid\bin obj\Release\android\bin\classes "C:\Program Files (x86)\Reference A
ssemblies\Microsoft\Framework\MonoAndroid\v6.0\mono.android.jar"
Creating "obj\Release\_dex_stamp" because "AlwaysCreate" was specified.
_RemoveRegisterAttribute:
Creating directory "C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App4
2\App42\obj\Release\android\assets\shrunk".
Copying file from "C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42
\App42\obj\Release\android\assets\Mono.Android.dll" to "C:\Users\Arpit\Docume
nts\Visual Studio 2013\Projects\App42\App42\obj\Release\android\assets\shrunk
\Mono.Android.dll".
Copying file from "C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42
\App42\obj\Release\android\assets\mscorlib.dll" to "C:\Users\Arpit\Documents\
Visual Studio 2013\Projects\App42\App42\obj\Release\android\assets\shrunk\msc
orlib.dll".
Copying file from "C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42
\App42\obj\Release\android\assets\System.Core.dll" to "C:\Users\Arpit\Documen
ts\Visual Studio 2013\Projects\App42\App42\obj\Release\android\assets\shrunk\
System.Core.dll".
Copying file from "C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42
\App42\obj\Release\android\assets\System.dll" to "C:\Users\Arpit\Documents\Vi
sual Studio 2013\Projects\App42\App42\obj\Release\android\assets\shrunk\Syste
m.dll".
Copying file from "C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42
\App42\obj\Release\android\assets\System.Xml.dll" to "C:\Users\Arpit\Document
s\Visual Studio 2013\Projects\App42\App42\obj\Release\android\assets\shrunk\S
ystem.Xml.dll".
Copying file from "C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42
\App42\obj\Release\android\assets\System.Runtime.Serialization.dll" to "C:\Us
ers\Arpit\Documents\Visual Studio 2013\Projects\App42\App42\obj\Release\andro
id\assets\shrunk\System.Runtime.Serialization.dll".
Creating "obj\Release\android\assets\shrunk\shrunk.flag" because "AlwaysCreat
e" was specified.
_BuildApkEmbed:
Touching "obj\Release\android\bin\resources_and_assemblies".
_Mandroid:
Copying file from "C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42
\App42\obj\Release\android\bin\App42.App42.apk" to "bin\Release\App42.App42.a
pk".
_ResolveAndroidSigningKey:
Creating "obj\Release\android_debug_keystore.flag" because "AlwaysCreate" was
specified.
_Sign:
C:\Program Files\Java\jdk1.7.0_72\\bin\keytool.exe -list -alias androiddebugk
ey -storepass android -keypass android -keystore "C:\Users\Arpit\AppData\Loca
l\Xamarin\Mono for Android\debug.keystore"
C:\Program Files\Java\jdk1.7.0_72\\bin\jarsigner.exe -keystore "C:\Users\Arpi
t\AppData\Local\Xamarin\Mono for Android\debug.keystore" -storepass android -
keypass android -digestalg SHA1 -sigalg md5withRSA -signedjar bin\Release\\Ap
p42.App42-Signed-Unaligned.apk "C:\Users\Arpit\Documents\Visual Studio 2013\P
rojects\App42\App42\obj\Release\android\bin\App42.App42.apk" androiddebugkey
jar signed.
C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2
199,2): warning : No -tsa or -tsacert is provided and this jar is not timestamp
ed. Without a timestamp, users may not be able to validate this jar after the s
igner certificate's expiration date (2045-05-15) or after any future revocation
date. [C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42\App42\App42.
csproj]
Signed android package 'bin\Release\App42.App42-Signed.apk'
Unaligned android package 'C:\Users\Arpit\Documents\Visual Studio 2013\Projec
ts\App42\App42\bin\Release\App42.App42-Signed-Unaligned.apk'
E:\SDK_NDKFOLDER\android-sdk\build-tools\23.0.1\zipalign.exe 4 "C:\Users\Arpi
t\Documents\Visual Studio 2013\Projects\App42\App42\bin\Release\App42.App42-S
igned-Unaligned.apk" "bin\Release\\App42.App42-Signed.apk"
Deleting file "C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42\App
42\bin\Release\App42.App42-Signed-Unaligned.apk".
_Upload:
Detecting installed packages...
Removing previous version of application...
Copying application to device...
20% ... 1088kb of 5223kb copied
30% ... 1600kb of 5223kb copied
40% ... 2112kb of 5223kb copied
50% ... 2624kb of 5223kb copied
60% ... 3136kb of 5223kb copied
80% ... 4224kb of 5223kb copied
90% ... 4736kb of 5223kb copied
100% ... 5223kb of 5223kb copied
Done Building Project "C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App
42\App42\App42.csproj" (Install target(s)).
Build succeeded.
"C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42\App42\App42.csproj"
(Install target) (1) ->
(_Sign target) ->
C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets
(2199,2): warning : No -tsa or -tsacert is provided and this jar is not timesta
mped. Without a timestamp, users may not be able to validate this jar after the
signer certificate's expiration date (2045-05-15) or after any future revocati
on date. [C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42\App42\App4
2.csproj]
1 Warning(s)
0 Error(s)
Time Elapsed 00:00:23.65
C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42>
C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42>
C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42>
C:\Users\Arpit\Documents\Visual Studio 2013\Projects\App42>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.