本文介绍了无法开始调试.无法启动启动项目.VS2015的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 VS2015 中启动了一个新的控制台项目.我只有这个代码:

I have started a new console project in VS2015. I only have this code :

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SautinSoft;

namespace PdfParser
{
    class Program
    {
        static void Main(string[] args)
        {

            string path = Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
            SautinSoft.PdfFocus f = new PdfFocus();
            f.OpenPdf(@"path:abc.pdf");

            if (f.PageCount > 0)
                f.ToExcel(@"path:abc.xls");
        }
    }
}

当我尝试跑步时,我得到了这个:

When I try to run, I get this :

无法开始调试.无法启动启动项目.验证启动项目的调试设置.

我该如何解决这个问题?谢谢.

How can I fix this? Thanks.

推荐答案

在将 MSVC2015 升级到 Update3 后,我遇到了同样的问题:Watch 窗口中的 std::map 显示为一个可怕的std::_Tree<std::_Tmap_traits... 等,一些插件开始抛出异常,一些项目无法在调试模式下运行.

After upgrading MSVC2015 to Update3, I had the same problem: instead of std::map in the Watch window display as a horrible std::_Tree<std::_Tmap_traits... etc., some plugins started to throw exceptions, some projects was not able to run in debug mode.

通过删除CurrentSettings.vssettings 解决了所有问题.它通常位于 DocumentsVisual Studio 2015Settings 如果不是,请到`工具 -> 选项 -> 环境 -> 导入和导出设置' 找到该文件的位置.

All was solved by deleting CurrentSettings.vssettings. It is usually located at DocumentsVisual Studio 2015Settings If not, go to `Tools -> Options -> Environment -> Import and Export Settings ' to find the location of this file.

这篇关于无法开始调试.无法启动启动项目.VS2015的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-06 12:38