Visual Studio失去了附加到Unity的功能,为什么? [英] Visual Studio loses ability to attach to Unity, why?

查看:1212
本文介绍了Visual Studio失去了附加到Unity的功能,为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我正在将Visual Studio与Unity一起使用.通常,在VS中,我只需单击附加到Unity",它将构建解决方案并确实附加到Unity.但是,有时项目会失去这样做的能力",这意味着突然单击按钮只会建立解决方案,而不会附加到Unity. 我真的很想知道那里发生了什么,因为我不知道做任何可能导致这种行为的事情.
有一些参数可能会起作用:



I'm using Visual Studio with Unity. In general in VS I can simply click "Attach to Unity" and it will build the solution and indeed attach to Unity. Sometimes, however, a project loses the "ability" to do so, what means that suddenly clicking the button will only build the solution and not attach to Unity. I really would like to know what's happening there as I'm not aware of doing anything that could result in such a behaviour.
There are some parameters that might have an effect:

  • 它仅在某些Unity项目中发生:一个项目被感染"或从未发生(在我看来)
  • 如果开始发生,它将一直发生,直到我重新启动PC(关闭VS和Unity都不够)

谢谢

推荐答案

通常,仅重新启动Visual Studio就足够了,这个问题已由MS在VS于12月初解决并解决.以前,每次创建新脚本文件时都会发生这种情况.

Normally just restarting visual studio is sufficient, this issue was addressed and fixed by MS in VS around early december. Previously it happened each time you made a new script file.

请确保您已安装了最新的Visual Studio修补程序以及统一的Visual Studio工具"

Make sure you have installed the latest visual studio patch, as well as the "visual studio tools for unity"

这篇关于Visual Studio失去了附加到Unity的功能,为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆