Clear Microsoft Office Add-Ins cache

十年热恋 提交于 2019-12-22 00:32:44

问题


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?


回答1:


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

%userprofile%\local Settings\Application Data\assembly

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.



来源:https://stackoverflow.com/questions/4863146/clear-microsoft-office-add-ins-cache

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!