简体   繁体   English

编辑并继续在VS2015 Update 3(x64)中不起作用

[英]Edit & continue not working in VS2015 Update 3 (x64)

After a bit of nightmare getting Vs2015 update 3 installed, as per this related question , I rebuilt my MFC C++ project to see how the update performed only to find Edit and Continue is no longer working! 经过一番噩梦,按照此相关问题安装了Vs2015 update 3,我重新构建了MFC C ++项目,以查看更新的执行过程仅发现“编辑并继续”不再起作用! Specifically, making any change to any file and using Debug / Apply Code changes i get the following; 具体来说,对任何文件进行任何更改并使用“ 调试/应用代码”更改,我将得到以下内容;

myfile.CPP ......\\common\\myfile.CPP(1): fatal error C1010: unexpected end of file while looking for precompiled header. myfile.CPP ...... \\ common \\ myfile.CPP(1):致命错误C1010:寻找预编译头时文件意外结束。 Did you forget to add '#include "\\cpp\\common\\stdafx.h"' to your source? 您是否忘了在源中添加“ #include“ \\ cpp \\ common \\ stdafx.h”? Project : error (null) : Build errors occurred. 项目:错误(空):发生生成错误。

The first include in the source file is 源文件中的第一个include是

#include "\cpp\common\StdAfx.h"

This worked most of the time under update 2, but edit and continue was failing and reporting that it had succeeded reasonably regularly. 在更新2下,大部分时间都可以使用此功能,但是编辑和继续失败,并定期定期报告成功。 Only reason I installed this update as it was supposed to fix this issue but now it is broken entirely and I'm looking at a full uninstall, and re-install of VS2015 update 2 over the weekend. 我安装此更新的唯一原因是应该修复此问题,但现在它已完全损坏,我正在考虑完全卸载,然后在周末重新安装VS2015 update 2。

Anyone else hitting this problem and have a solution? 还有其他人遇到这个问题并有解决方案吗? Could possibly be a dodgy installation as even on the full ISO install, the installer failed with missing files and I had to skip two sections. 甚至在完整的ISO安装中,安装也可能很笨拙,安装程序因缺少文件而失败,我不得不跳过两个部分。 Given this is a release and not a release candidate, the QA seems abysmal, I fail to see why a release version would include any beta functionality. 鉴于这是一个发行版而不是候选发行版,因此质量检查似乎很糟糕,我不明白为什么发行版会包含任何beta功能。 VS2015 detail below; VS2015细节如下;

Microsoft Visual Studio Professional 2015 Version 14.0.25421.03 Update 3 Microsoft .NET Framework Version 4.6.01055 Microsoft Visual Studio Professional 2015版本14.0.25421.03更新3 Microsoft .NET Framework版本4.6.01055

Installed Version: Professional 安装的版本:专业

LightSwitch for Visual Studio 2015 00325-60000-80195-AA437 Microsoft LightSwitch for Visual Studio 2015 适用于Visual Studio 2015的LightSwitch 00325-60000-80195-AA437适用于Visual Studio 2015的Microsoft LightSwitch

Visual Basic 2015 00325-60000-80195-AA437 Microsoft Visual Basic 2015 Visual Basic 2015 00325-60000-80195-AA437 Microsoft Visual Basic 2015

Visual C# 2015 00325-60000-80195-AA437 Microsoft Visual C# 2015 Visual C#2015年00325-60000-80195-AA437 Microsoft Visual C#2015年

Visual C++ 2015 00325-60000-80195-AA437 Microsoft Visual C++ 2015 Visual C ++ 2015年00325-60000-80195-AA437 Microsoft Visual C ++ 2015年

Application Insights Tools for Visual Studio Package 7.0.20622.1 Application Insights Tools for Visual Studio Visual Studio Package的Application Insights工具7.0.20622.1 Visual Studio的Application Insights工具

ASP.NET and Web Tools 2015.1 (Beta8) 14.1.11106.0 ASP.NET and Web Tools 2015.1 (Beta8) ASP.NET和Web工具2015.1(Beta8)14.1.11106.0 ASP.NET和Web工具2015.1(Beta8)

ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0 For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563 ASP.NET Web框架和工具2012.2 4.1.41102.0有关其他信息,请访问http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013 5.2.40314.0 For additional information, visit http://www.asp.net/ ASP.NET Web框架和工具2013 5.2.40314.0有关其他信息,请访问http://www.asp.net/

Common Azure Tools 1.8 Provides common services for use by Azure Mobile Services and Microsoft Azure Tools. 通用Azure工具1.8提供通用服务,供Azure移动服务和Microsoft Azure工具使用。

InstallShield Limited Edition InstallShield. InstallShield限量版InstallShield。 For more information visit the Flexera Software website at http://www.FlexeraSoftware.com . 有关更多信息,请访问Flexera Software网站, 网址http://www.FlexeraSoftware.com Copyright © 2015 Flexera Software LLC. 版权所有©2015 Flexera Software LLC。 All Rights Reserved. 版权所有。

JavaScript Language Service 2.0 JavaScript Language Service JavaScript语言服务2.0 JavaScript语言服务

JavaScript Project System 2.0 JavaScript Project System JavaScript Project System 2.0 JavaScript项目系统

Microsoft Azure Mobile Services Tools 1.4 Microsoft Azure Mobile Services Tools Microsoft Azure移动服务工具1.4 Microsoft Azure移动服务工具

PreEmptive Analytics Visualizer 1.2 Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product. PreEmptive Analytics Visualizer 1.2 Microsoft Visual Studio扩展,用于可视化PreEmptive Analytics产品的汇总汇总。

SQL Server Data Tools 14.0.60519.0 Microsoft SQL Server Data Tools SQL Server数据工具14.0.60519.0 Microsoft SQL Server数据工具

TypeScript 1.8.34.0 TypeScript tools for Visual Studio 用于Visual Studio的TypeScript 1.8.34.0 TypeScript工具

Visual Assist For more information about Visual Assist, see the Whole Tomato Software website at http://www.WholeTomato.com . 视觉辅助有关视觉辅助的更多信息,请访问Whole Tomato Software网站, 网址http://www.WholeTomato.com Copyright (c) 1997-2016 Whole Tomato Software, Inc. 版权所有(c)1997-2016 Whole Tomato Software,Inc.

Visual Commander 2.3 For more information about Visual Commander, see the website at https://vlasovstudio.com/visual-commander/ . Visual Commander 2.3有关Visual Commander的更多信息,请访问https://vlasovstudio.com/visual-commander/上的网站。 Copyright (c) 2013-2015 Vlasov Studio. 版权所有(c)2013-2015 Vlasov Studio。

Visual Studio Tools for Universal Windows Apps 14.0.25420.01 The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. 适用于通用Windows应用程序的Visual Studio工具14.0.25420.01使用适用于通用Windows应用程序的Visual Studio工具,您可以构建一种通用应用程序体验,该体验可以覆盖运行Windows 10的所有设备:电话,平板电脑,PC等。 It includes the Microsoft Windows 10 Software Development Kit. 它包括Microsoft Windows 10软件开发工具包。

(Apologies for the ranty nature of this question, but I also put it up as a caveat for those thinking of installing this update) (对于这个问题的担保性质,我们深表歉意,但对于那些考虑安装此更新的人,我也表示警告)

Following on from the same discussion on MSDN here a breaking change in update 3 is as follows MSDN上的相同讨论之后,更新3中重大更改如下:

Allow Precompiling (Native only): The debug option Debug > Options > General > Allow Precompiling (Native only) is no longer supported with Visual Studio 2015 Update 3 and the default debugger. 允许预编译(仅本机):Visual Studio 2015 Update 3和默认调试器不再支持调试选项“调试”>“选项”>“常规”>“允许预编译”(仅本机)。 This is a legacy setting for a marginal performance improvement that has no functional impact. 这是边际性能改进的旧设置,没有任何功能影响。

Disabling the above and doing a rebuild all fixes edit and continue. 禁用上述内容并进行重建,所有修订将继续编辑。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM