简体   繁体   中英

Deploy .Net Core Console App to Raspberry PI and Remote Debug

I've written a basic console app in C# using .Net Core 1.1 and Visual Studio 2017 Community. The app runs fine on my machine and am ready to deploy it to a Raspberry Pi 3 running Windows 10 IoT v.10.0.15063.0, which is running on the same network and visible in the IoT Dashboard.

All of the tutorials I've seen online indicate that I should be able to select a remote machine as the debug target from the drop-down on the start debugging button, as shown here:

落下

Unfortunately for me, all I get in this drop-down is the project name:

我的下拉菜单

My project's debug properties are as follows:

在此处输入图片说明

There are plenty of articles online describing how to do this for a UWP application, but I've found nothing for a .Net Core app.

Is my only viable option to re-write my app as a UWP Background App (this raises a whole host of other questions), or is there a way I can deploy and debug my .Net core app?

When you installed your Visual Studio 2017 Community the remote tools option does not contain the installed package, now you can download the remote tools for visual studio 2017 for and the remote debugging is enabled on your machine. follow the below link and download that.

Remote Tools for Visual Studio 2017

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM