问题描述
我在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 :
我该如何解决?谢谢.
推荐答案
将MSVC2015升级到Update3后,我遇到了相同的问题:某些插件没有在监视"窗口中显示为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
解决.通常位于Documents\Visual Studio 2015\Settings
,否则,请转到工具->选项->环境->导入和导出设置"以找到此文件的位置.
All was solved by deleting CurrentSettings.vssettings
. It is usually located at Documents\Visual Studio 2015\Settings
If not, go to `Tools -> Options -> Environment -> Import and Export Settings ' to find the location of this file.
这篇关于无法开始调试.无法启动启动项目. VS2015的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!