VSPackage无法正确加载 [英] VSPackage not loading correctly

查看:736
本文介绍了VSPackage无法正确加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行Windows 10 Pro 64位(10.0.14393 Build 14393).

I am running Windows 10 Pro 64 bits (10.0.14393 Build 14393).

我正在使用Visual Studio Professional 2015(14.0.25431.01更新3).

I am using Visual Studio Professional 2015 (14.0.25431.01 Update 3).

几天前,我按照http://answers.microsoft.com/zh-cn/windows/forum/windows_7-files中提供的说明将tmp,temp和Internet temp文件夹移动到了D:驱动器. /将临时文件文件夹的位置更改为另一个/19f13330-dde1-404c-aa27-a76c0b450818.

今天,我不得不将系统还原到昨天的状态(在安装应用程序之前).

恢复系统后,我打开了正在开发的VS 2015解决方案,并收到以下消息框:



当我查看解决方案输出窗口时,看到两次以下错误消息:

[失败]找不到文件'C:\ Users \ [Me] \ AppData \ Local \ Temp \ .NETFramework,Version = v4.6.AssemblyAttributes.vb'.

我检查了一下,该文件存在于D:\ Temp 

我构建,重建,清理和重建了解决方案,但仍然收到错误消息.

A few days ago I moved the tmp, temp and the internet temp folder to a D: drive, following the instructions provided in http://answers.microsoft.com/en-us/windows/forum/windows_7-files/change-location-of-temp-files-folder-to-another/19f13330-dde1-404c-aa27-a76c0b450818.

Today I had to restore my system to how it was yesterday (before installing an application).

After restoring my system, I opened a VS 2015 solution I am developing and I am getting the following message box:



When I look into my solution output window, I see twice the following error message:

[Failure] Could not find file 'C:\Users\[Me]\AppData\Local\Temp\.NETFramework,Version=v4.6.AssemblyAttributes.vb'.

I checked, and the file exists under D:\Temp 

I built, rebuilt, cleaned and rebuilt my solution, but I am still getting the error messages.

activityLog.xml文件包含以下错误记录:

The activityLog.xml file contains the following error records:

有什么办法解决这个问题吗?

谢谢

Any ideas how to solve this?

Thank you,

推荐答案

尝试打开Visual Studio命令提示符并执行以下命令:

Try opening a Visual Studio Command Prompt and executing these commands:

devenv-< switch>

devenv -<switch>

其中< switch>是( https://msdn.microsoft.com/en-us/library/xee0c8y7.aspx):

where <switch> is (https://msdn.microsoft.com/en-us/library/xee0c8y7.aspx):

  • 设置
  • 重置设置
  • 更新配置


这篇关于VSPackage无法正确加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆