清除Microsoft Office加载项缓存 [英] Clear Microsoft Office Add-Ins cache

查看:608
本文介绍了清除Microsoft Office加载项缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Microsoft PowerPoint 2007的外接程序中编写了一些代码.我执行了它.它说有问题.

I wrote some code in an add-in for Microsoft PowerPoint 2007. I executed it. It said there was a problem.

这里的同伴的帮助下,我纠正了这个问题.我编译并运行了新代码.

With help from a fellow member here, I rectified the problem. I compiled the new code and ran it.

它仍然考虑旧代码,而忽略新代码,并且仍然引发相同的问题.两种版本的代码完全不同,因为它们不共享问题报告的变量,因此,我确定该问题不在代码中的原因.

It still considers the old code and ignores the new one and still throws the same problem. The two versions of code are radically different in that they do not share the variables that the problem reports, thus my reason for being sure that the problem isn't in the code now.

很明显,MS Office在某些缓存中的某个位置保留了较旧版本的二进制文件.如何清除它并允许它访问新编译的加载项二进制文件?

Clearly, MS Office is retaining an older version of the binaries somewhere in some cache. How do I clear that and allow it to access the newly compiled add-in binary?

推荐答案

如果您的问题确实与缓存程序集有关,则它们很可能位于以下位置:

If your problem is indeed with cached assemblies, they would most likely be located here:

%userprofile%\local Settings\Application Data\assembly

保留该文件夹中的文件夹结构(即 dl3 temp tmp ),但清除该目录下的所有文件和文件夹那三个文件夹.

Preserve the folder structure in that folder (another words, dl3, temp, tmp), but clear out any files and folders under those 3 folders.

在执行此操作之前,请记住要通过TaskManager/Processes选项卡关闭PowerPoint的所有实例.仅仅关闭应用程序还不够好-您必须查找正在运行的PowerPoint进程的每个实例.

Remember to close all instances of PowerPoint via TaskManager/Processes tab before you do this. Closing the application alone is not good enough - you must hunt down every instance of the PowerPoint process that are running.

这篇关于清除Microsoft Office加载项缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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