Visual Studio 2015更新2随机损坏Web项目中的文件.

问题描述:

我在装有"Credant Mobile Guardian Shield"的Windows 7企业笔记本电脑上安装了Visual Studio 2015 Update 2.由我工作的公司安装.我不能禁用它或以任何方式对其进行修改.我正在使用网络表单 项目和文件随机损坏. .aspx,.cs和.sitemap文件已经发生了.

I have Visual Studio 2015 Update 2 installed on a windows 7 enterprise laptop that has "Credant Mobile Guardian Shield" installed by the company I work for.  I cannot disable this or modify it in any way.  I am working on a web forms project and files randomly get corrupted.  It has happened with .aspx, .cs and .sitemap files. 

在安装Update 2之前未检测到此问题.

This issue was not detected prior to the installation of Update 2. 

Visual Studio 2015是全新安装,然后应用了更新1.随着更新1未检测到损坏.然后安装了更新2,并在安装后几天内注意到第一个损坏的文件.

The visual studio 2015 was a fresh install, then update 1 applied.  With update  1 no corruption was detected.  Then update 2 was installed and within days after that install the first corrupted file was noticed.

我无法检测到图案.我注意到designer.cs文件似乎比.aspx文件损坏的频率更高,但是由于损坏是随机的,因此我不确定.

I cannot detect a pattern.  I have noticed that designer.cs files seem to be corrupted more frequently than .aspx files but I don't know for certain since the corruption is random.

已经在多台计算机上观察到了这一点,因此一台笔记本电脑不是问题.它似乎仅限于Web项目,或者至少在非Web项目中没有观察到.似乎只有文本文件受到了影响.

This has been observed on multiple computers so it is not an issue with one laptop.  It does appear to be limited to web projects, or at least it has not been observed in non-web projects. It seems to be only text files that are affected.

有人有什么建议吗?请不要告诉我更改Credant加密.我无法以任何方式查看或更改它.我工作的公司需要它,并且不允许我更改它.

Does anyone have any suggestions?  Please don't tell me to change the Credant encryption.  I cannot view or alter it in any way.  The company I work for requires it and does not allow me to alter it.

OldGimp,

感谢您在MSDN论坛中发帖.

>>>>>>>>>>>文件会随机损坏.

>>web forms project and files randomly get corrupted. 

如果文件已损坏,能否请您详细说明损坏的文件?打开它时它坏了还是显示了一些错误信息?

您可以尝试从控制面板"中卸载VS 2015 Update 2,如果该问题在卸载后消失了,我认为是VS Update 2上有待解决的问题.

请从以下链接下载并安装:

之后,请从控制面板:程序>程序和功能"修复VS,选择Microsoft Visual Studio 2015,然后单击修复". '.

如果问题仍然存在,您是否安装了任何第三方软件包?如果是这样,请重新启动Windows并以安全模式运行,在Visual Studio 2015命令提示符下运行devenv/safemode.

最好的问候