开发者

Clear Microsoft Office Add-Ins cache

开发者 https://www.devze.com 2023-02-08 02:05 出处:网络
I wrote some code in an add-in for Microsoft PowerPoint 2007. I executed it. It said there was a proble开发者_高级运维m.

I wrote some code in an add-in for Microsoft PowerPoint 2007. I executed it. It said there was a proble开发者_高级运维m.

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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消