Visual Studio不保存启动项目和解决方案配置

编程入门 行业动态 更新时间:2024-10-10 06:19:59
本文介绍了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不保存启动项目和解决方案配置

本文发布于:2023-11-09 23:19:41,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1573715.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不保存   解决方案   项目   Visual   Studio

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!