Closed anthonyb1 closed 2 years ago
If this is still an issue:
This issue likely occurs in the Visual Studio integration, which is owned by a different team who does not use GitHub for issue tracking.
Please use the tools available inside of VS to report this issue. This allows the issue to be routed to the correct team, and provides them the correct logs they need to diagnose it.
Thanks!
Steps to Reproduce
Note this is occurring as when you click run in Visual Studio, the first thing that happens is the Android project's csproj.user file is written to (with the exact same contents as before). Then Visual Studio detects the updated timestamp of the file and triggers the build to occur.
If there was a check to not write out the SelectedDevice/DefaultDevice in the csproj.user file if they are same as what is there currently, I believe the issue would be fixed.
Expected Behavior
Running the project after unplugging and replugging the device causes the project to deploy and run.
Actual Behavior
Running the project after unplugging and replugging the device causes the project to first build, then deploy and run.
Version Information
Microsoft Visual Studio Enterprise 2017 Version 15.7.2 VisualStudio.15.Release/15.7.2+27703.2018 Microsoft .NET Framework Version 4.7.03056
Installed Version: Enterprise
Visual C++ 2017 00369-60000-00001-AA987 Microsoft Visual C++ 2017
Application Insights Tools for Visual Studio Package 8.12.10405.1 Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2017 15.0.40511.0 ASP.NET and Web Tools 2017
ASP.NET Core Razor Language Services 15.7.31476 Provides languages services for ASP.NET Core Razor.
ASP.NET Web Frameworks and Tools 2017 5.2.60419.0 For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0 15.0.40424.0 Azure App Service Tools v3.0.0
Azure Data Lake Node 1.0 This package contains the Data Lake integration nodes for Server Explorer.
Azure Data Lake Tools for Visual Studio 2.3.3000.2 Microsoft Azure Data Lake Tools for Visual Studio
Azure Functions and Web Jobs Tools 15.0.40424.0 Azure Functions and Web Jobs Tools
Azure Stream Analytics Tools for Visual Studio 2.3.3000.2 Microsoft Azure Stream Analytics Tools for Visual Studio
C# Tools 2.8.2-beta6-62916-08. Commit Hash: 2ad4aabc7a9dada097e54e544ebba48ab1c05074 C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools 1.10 Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Fabric.DiagnosticEvents 1.0 Fabric Diagnostic Events
JavaScript Language Service 2.0 JavaScript Language Service
JavaScript Project System 2.0 JavaScript Project System
JavaScript UWP Project System 2.0 JavaScript UWP Project System
LinkListenerServicePackage Extension 1.0 LinkListenerServicePackage Visual Studio Extension Detailed Info
Merq 1.1.19-rc (a4ffc1b) Command Bus, Event Stream and Async Manager for Visual Studio extensions.
Microsoft Azure HDInsight Azure Node 2.3.3000.2 HDInsight Node under Azure Node
Microsoft Azure Hive Query Language Service 2.3.3000.2 Language service for Hive query
Microsoft Azure Service Fabric Tools for Visual Studio 2.1 Microsoft Azure Service Fabric Tools for Visual Studio
Microsoft Azure Stream Analytics Language Service 2.3.3000.2 Language service for Azure Stream Analytics
Microsoft Azure Stream Analytics Node 1.0 Azure Stream Analytics Node under Azure Node
Microsoft Azure Tools 2.9 Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.10420.2
Microsoft Continuous Delivery Tools for Visual Studio 0.3 Simplifying the configuration of continuous build integration and continuous build delivery from within the Visual Studio IDE.
Microsoft JVM Debugger 1.0 Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft MI-Based Debugger 1.0 Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards 1.0 Microsoft Visual C++ Wizards
Microsoft Visual Studio Tools for Containers 1.1 Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package 1.0 Microsoft Visual Studio VC Package
Mono Debugging for Visual Studio 4.10.5-pre (ab58725) Support for debugging Mono processes with Visual Studio.
NuGet Package Manager 4.6.0 NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
ProjectServicesPackage Extension 1.0 ProjectServicesPackage Visual Studio Extension Detailed Info
ResourcePackage Extension 1.0 ResourcePackage Visual Studio Extension Detailed Info
Snapshot Debugging Extension 1.0 Snapshot Debugging Visual Studio Extension Detailed Info
SQL Server Data Tools 15.1.61804.210 Microsoft SQL Server Data Tools
StartPage 10.18.0627.1354 TDP: Start Page
StopOnFirstBuildError 1.0 StopOnFirstBuildError
Stops a solution build immediately after a project has failed to build.
http://tech.einaregilsson.com/2011/01/06/stop-build-on-first-error-in-visual-studio-2010/
TDP - Code Coverage Viewer 10.18.0627.1354 [Magellan v5.4] A simple, intuitive and fast solution for analyzing Magellan coverage data.
TDP - Device Manager 10.18.0627.1354 UI for managing devices in the Test Development Platform
TDP - Device Manager Service 10.18.0627.1354 Service that manages devices for the Test Development Platform
TDP - Hyper-V Service 10.18.0627.1354 Provides services for Hyper-V Virtual Machines in Test Development Platform
TDP - Local Device Service 10.18.0627.1354 Provides persistance for local devices in TDP's Device Manager
TDP - Nebula VM Service 10.18.0627.1354 Provides service to retrieve machine info and manage VMs via Nebula.
TDP - Physical Device Service 10.18.0627.1354 Provides service to retrieve and manage physical machines
TDP - Sirep Service 10.18.0627.1354 Service used by other TDP packages to communicate with devices
TDP - TAEF Explorer 10.18.0627.1354 [TAEF 10.27.180612002] Package for exploring, executing, and debugging TAEF Tests
ToolWindowHostedEditor 1.0 Hosting json editor into a tool window
TypeScript Tools 15.7.20419.2003 TypeScript Tools for Microsoft Visual Studio
UpdaterPackage Extension 1.0 UpdaterPackage Visual Studio Extension Detailed Info
Visual Basic Tools 2.8.2-beta6-62916-08. Commit Hash: 2ad4aabc7a9dada097e54e544ebba48ab1c05074 Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools 10.1 for F# 4.1 15.7.0.0. Commit Hash: 56f97a8dd4353d897336941f3e644423b87c794f. Microsoft Visual F# Tools 10.1 for F# 4.1
Visual Studio Code Debug Adapter Host Package 1.0 Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Tools for Universal Windows Apps 15.0.27703.2018 The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.
VisualStudio.Mac 1.0 Mac Extension for Visual Studio
VSColorOutput 2.5.1 Color output for build and debug windows - http://mike-ward.net/vscoloroutput
Web Extension Pack 2017 15.0.2 The easiest way to set up Visual Studio for the ultimate web development experience.
Windows Machine Learning Generator Extension 1.0 Windows Machine Learning Visual Studio Extension Detailed Info
Xamarin 4.10.0.448 (4373404db) Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Designer 4.12.270 (82d750d12) Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
Xamarin.Android SDK 8.3.0.19 (HEAD/342b2ce96) Xamarin.Android Reference Assemblies and MSBuild support.
Xamarin.iOS and Xamarin.Mac SDK 11.10.1.178 (408d357) Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Log File
Not relevant.