Visual Studio不保存启动项目和解决方案配置 [英] Visual Studio not saving startup project and solution config

查看:714
本文介绍了Visual Studio不保存启动项目和解决方案配置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个C ++解决方案,总是忘记解决方案配置(调试VS发布等)和启动项目时打开。



在启动时,它总是默认返回调试,没有启动项目。



,但几个月前它停止运作。最初这是VS2013,但我在VS2015,解决方案继续不保存这些数据。



我试过删除各种文件。



在解决方案文件夹中,我删除了.sdf

在解决方案发布文件夹中有一个.suo我删除了



这两个都不能解决这个问题。



我不知道这些信息保存在哪里,有谁知道如何解决这个问题? p>

感谢

解决方案

此信息存储在 .suo 文件。在VS 2015中,此文件存储在解决方案文件(.vs\solution_name\v14\.suo)中隐藏的 .vs 目录中。您可以尝试删除此文件,以防万一它已损坏。


I've got a C++ solution that always forgets the solution config(debug vs release etc), and startup project when opened.

On startup it always defaults back to debug, and no startup project.

This data used to save correctly, but a few months ago it ceased to function. Originally this was with VS2013, but I'm on VS2015, and the solution continues to not save this data.

I've tried deleting various files.

In the solution folder I deleted the .sdf
In the solution Release folder there was a .suo I deleted

Neither of these fixed the problem.

I don't know where this information is saved, does anyone know how to go about fixing this problem?

Thanks

解决方案

This information is stored in a .suo file. In VS 2015 this file is stored in a hidden .vs directory along the solution file (.vs\solution_name\v14\.suo). You can try to delete this file in case it is corrupted.

这篇关于Visual Studio不保存启动项目和解决方案配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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