-
Notifications
You must be signed in to change notification settings - Fork 569
msbuild /t:Install fails if adb server isn't running #3269
Copy link
Copy link
Open
Labels
Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.enhancementProposed change to current functionality.Proposed change to current functionality.possibly-staleIssues that are potentially no longer relevant.Issues that are potentially no longer relevant.
Milestone
Metadata
Metadata
Assignees
Labels
Area: App+Library BuildIssues when building Library projects or Application projects.Issues when building Library projects or Application projects.enhancementProposed change to current functionality.Proposed change to current functionality.possibly-staleIssues that are potentially no longer relevant.Issues that are potentially no longer relevant.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Steps to Reproduce
adb kill-server, or end it from task mangermsbuild /t:Restore C:\path\to\Wat.csprojmsbuild /t:Install C:\path\to\Wat.csprojWat.zip
Expected Behavior
It should start adb and use the connected USB device to install the app.
Actual Behavior
It fails with the error:
Version Information
Microsoft Visual Studio Enterprise 2019 Int Preview
Version 16.2.0 Preview 4.0 [29020.217.d16.2stg]
VisualStudio.16.IntPreview/16.2.0-pre.4.0+29020.217.d16.2stg
Xamarin.Android SDK 9.4.0.34 (d16-2/7cce305)
Xamarin.Android Reference Assemblies and MSBuild support.
Mono: mono/mono@c6edaa62f94
Java.Interop: xamarin/java.interop/d16-2@b2b2610
LibZipSharp: grendello/LibZipSharp/d16-2@caa0c74
LibZip: nih-at/libzip@b95cf3f
ProGuard: xamarin/proguard@905836d
SQLite: xamarin/sqlite@8212a2d
Xamarin.Android Tools: xamarin/xamarin-android-tools/master@4f717b6
Log File
binlog.zip