当前位置:网站首页>【Visual Studio】每次打开一个Unity3D的脚本,都会自动重新打开一个新的VS2017
【Visual Studio】每次打开一个Unity3D的脚本,都会自动重新打开一个新的VS2017
2022-07-02 06:36:00 【趁着头发多我想做游戏】
问题描述:
如题,每次在Unity3D中打开一个C#脚本,无论这个脚本是不是在同一个解决方案下的,都会重新打开一个新的VisualStudio2017,真是气死人,实在是让博主百思不得其解!

不仅如此,每次打开VS,这个提示框还加载得非常慢,VS都打开了它还在,点击取消竟然会打开一个新的空的VS,真是气炸了!
解决方法:
经历了十天的各方搜索,终于解决了问题,注意该方法是博主亲测的,不同的人可能有不同的情况:
1. 首先是我的解决方法:在VisualStudio2017中,在解决方案资源管理器(右侧)中,选择你的项目,右键,选择“设为启动项目” , 完美解决!!!
2. 然后是网上流传的解决方法,但是对博主无效,这里也分享一下:打开存放你项目的那个文件夹,删除.sln结尾的文件,这个文件是VS对工程的索引,重新在VS中打开项目就会重新生成这个文件,不必担心会对项目产生影响。
边栏推荐
- C language programming problems
- 2837xd代码生成模块学习(3)——IIC、eCAN、SCI、Watchdog、eCAP模块
- [ue5] two implementation methods of AI random roaming blueprint (role blueprint and behavior tree)
- Network real-time video streaming based on OpenCV
- Judging right triangle in C language
- [illusory] automatic door blueprint notes
- Illusion -- Animation blueprint, state machine production, character walking, running and jumping action
- ICLR 2022: how does AI recognize "things I haven't seen"?
- Kinect DK obtains color RGB images in cv:: mat format (used in openpose)
- Centos7 one click compilation and installation of PHP script
猜你喜欢
![[ue5] animation redirection: how to import magic tower characters into the game](/img/a0/084381493cbc3992b61ef1b8ffce36.png)
[ue5] animation redirection: how to import magic tower characters into the game

虛幻AI藍圖基礎筆記(萬字整理)
![[unreal] animation notes of the scene](/img/97/dafde0377b7c4337e1775db64ba6a4.png)
[unreal] animation notes of the scene

How to achieve the top progress bar effect in background management projects

Applet development summary

【虚幻】按键开门蓝图笔记

2837xd code generation - Supplement (1)

Blender多鏡頭(多機比特)切換

Ctrip starts mixed office. How can small and medium-sized enterprises achieve mixed office?

Error reporting on the first day of work (incomplete awvs unloading)
随机推荐
Blender体积雾
C language: making barrels
Blender多镜头(多机位)切换
Centos7 one click compilation and installation of PHP script
[ue5] two implementation methods of AI random roaming blueprint (role blueprint and behavior tree)
高考那些事
Basic notes of illusory AI blueprint (10000 words)
Project practice, redis cluster technology learning (10)
Data insertion in C language
The primary market project galaxy will conduct public offering on coinlist on February 17
Blender multi lens (multi stand) switching
阿里云SLS日志服务
Pycaret | a few lines of code to solve machine learning modeling
【虚幻4】UMG组件的简介与使用(更新中...)
Project practice, redis cluster technology learning (13)
Bookmark collection management software suspension reading and data migration between knowledge base and browser bookmarks
2837xd code generation module learning (4) -- idle_ task、Simulink Coder
Bugkuctf-web21 (detailed problem solving ideas and steps)
What is call / cc- What is call/cc?
Leetcode -- the nearest common ancestor of 236 binary tree