简体   繁体   中英

Why is there no Remote Machine option underneath the start menu in my Visual Studio 2019 Community version

I had the free trial for the Visual Studio 2019 Enterprise version. Now that it has run out, I am trying to run my build from Unity using that.sln file in visual studio using the community version. I need to use the remote machine option because I am trying to deploy it to the HoloLens. I already tried rebuilding the unity project but I still had the same problem. Is it because when I created this Unity project I was using the enterprise version and now it can't translate the same way over to the community version? Does the community version not have the remote machine capability? I've attached a picture below of what I mean by "the start menu." Back in the enterprise version I would press that little down arrow to expand the Start menu and I would press "Remote Machine," but that option is no longer there when I try to run a.sln build from my Unity project. 开始菜单

Are you sure you have selected the correct project for the startup project? If you have a mistake in setting the startup project, there will only be a Start option under the menu. You can change the startup project from the Solution Explorer , right-click the desired project and choose Set as StartUp Project from the context-sensitive menu that is displayed.

If you still get this issue, can you see the Remote machine field under Project settings' Debug tab: Configure the project for remote debugging

If yes, you just need to enter the network name or IP address in the Remote machine field, or select Find to search for the device in the Remote Connections dialog box.

If not, I believe you need to repair the VS installation.

I had the same problem. I put my machine in "developer mode" via the Settings and then opened my project in VS 2022. I'm now able to see the "Remote Machine" option.

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