清除 Microsoft Office 加载项缓存
我在 Microsoft PowerPoint 2007 的加载项中编写了一些代码。我执行了它。它说有问题。
在这里一位成员的帮助下,我纠正了这个问题。我编译了新代码并运行了它。
它仍然考虑旧代码并忽略新代码,并且仍然引发相同的问题。这两个版本的代码完全不同,因为它们不共享问题报告的变量,因此我确信问题现在不在代码中。
显然,MS Office 在某些缓存中保留了旧版本的二进制文件。如何清除它并允许它访问新编译的加载项二进制文件?
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.
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您的问题确实与缓存的程序集有关,那么它们很可能位于此处:
保留该文件夹中的文件夹结构(换句话说,dl3、temp、tmp ),但清除这 3 个文件夹下的所有文件和文件夹。
请记住在执行此操作之前通过任务管理器/进程选项卡关闭 PowerPoint 的所有实例。单独关闭应用程序是不够的 - 您必须查找正在运行的 PowerPoint 进程的每个实例。
If your problem is indeed with cached assemblies, they would most likely be located here:
Preserve the folder structure in that folder (another words, dl3, temp, tmp), but clear out any files and folders under those 3 folders.
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.