Outlook add-in on Outlook for Mac: clear cache? - outlook-addin

In Outlook for Mac, an office.js Outlook add-in runs in a task pane that I assume is a Safari web control. I have not been able to determine how you clear the cached files from an add-in running in the task pane.
Does anyone know how to manually clear the task pane's browser cache? I cannot find an official answer, just guesses.
Thanks.

Outlook has changed cache path, the new one is ~/Library/Containers/com.microsoft.Outlook/Data/Library/Caches

Seems like the documentation contains the information you're looking for: Clear the Office cache
For Mac:
Delete the contents of the folder:
~/Library/Containers/com.Microsoft.OsfWebHost/Data/

I had a similar issue when building a custom function. My js was being cached and was not reloaded when pushed updated code to my webserver.
To remove the cache on my mac I deleted the contents of the following directory:
~/Library/Containers/com.microsoft.Excel/Data/Library/Caches/

Related

Visual Studio VB: The Operation Could Not Be Completed

I was using Visual Studio 2022 edition and it was working fine last night. When I tried to open it this morning, it gave me an error:
The operation could not be completed
I don't know what happened. I already have ran into few suggested solutions and nothing seems to work. I have tried:
closing and restarting the Visual Studio;
restarting my computer; and
deleting .suo, which I don't have unfortunately. I must also mention that upon closing the error message, I received another message:
Value does not fall within the expected range
Just in case they're connected problem. Any ideas?
It might be some type of corruption of files or something. Try reinstalling it to fix the files. Also make sure to turn on sync so your extensions and theme don't get lost.
#Jimi 's answer from the comments solved this problem.
With VS closed, remove the hidden .vs folder which is inside the main folder of your Solution. Then, for each Project, delete the content of the obj folder. Open the Solution in VS, right-click the Solution in Solution Explorer and clean / rebuilt it (clean may seem redundant at this point, but there's a reason for it)
In my case (VB programming) I had to go to Extensions->installed in the menu and enable: Web live preview. This seems to become disabled at new update.

Unable to debug ArcGIS 10.2 add-in on ArcMap with “No GUI components found in this Add-In”

I am working on an ArcGIS add-in (a very simple toolbar with a few buttons) with VB.Net and ArcObjects SDK in Visual Studio 2010. The solution was built successfully and the debug settings were configured.
When I hit Debug, ArcMap application was opened. I couldn't find the toolbar docked anywhere on the ArcMap toolbar. I went to "Customize" -> "Add-in Manager" and the add-in being debugged was not there. Then I tried "Add From File...", located the "esriaddin" file and clicked "Install Add-in". It populated a message box saying "No GUI components found in this Add-In."
I made some Google searches but haven't got any luck to reach a solution yet.
What was I missing? Has anyone come across the same issue and any direction?
Thanks in advance!
Try clicking build first, then open the arcmap separately and check the add-in manager inside of arcmap to see if it got added to the application. If so, you should be able to find it and turn the toolbar on.
I'm not sure about .Net, but I debugged this issue for the Java SDK. You have to make sure you are using the correct versions for compiling. In java, it was an old archive version of jdk1.6 32 bit.
Then I was referencing something wrong inside the xml document. I had changed the name of my JAR file (taken from project name by the ArcObjects SDK). In the xml document it was still pointing towards the old name.
This may not help you, but if anyone else searches this error and is using tje Java SDK, hopefully it will help.
I struggled with this same issue with a 10.0 add in. We had a 10.1 update that worked with 10.1 but trying to install it to 10.2.2 gave me that exact error. So much for upward compatible! I then tried to build 10.2.2 code and kept having this error. Others mentioned needing to build to x86 so I did that although the 10.1 was on Win7-64 and ran with AnyCPU....
I believe the final key for me was in the config file. I had set version to 10.2.2 As soon as I changed that to 10.2, the darn add-in installed just fine. Nice waste of a day for an extra '.2'

download indirect link file with visual basic .net

To download a file from internet using vb.net there is a couple of methods to make it works, but the problem is that some of links are having problem while downloading and i think problem is that links are not directly, so is there anyway to download file with indirect links thank you :)
HttpWebClient.AllowAutoRedirect allows for automatic redirection. However, AllowAutoRedirect defaults to true, so you may need to look elsewhere in your code.

Are users able to view source of web apps on ChromeOS?

If yes, is there a way to compile (NOT obfuscate) JS code for deployment in ChromeOS?
From quickly looking at the codebase using the Chromium.org Git browser, it appears that Google haven't gone out of their way to remove the "View page source" menu item from the version of Chrom(e|ium) shipped in Chrom(e|ium) OS.
Of course, there's nothing to prevent them from hiding the option in the UI, or removing the feature all together by #ifdef-ing it out, though.

ClickOnce Application Not Opening

I have a VB.NET ClickOnce application that I am trying to install on my computer. Previously, I was able to install and run these apps without issue. Now when I install the application, I can see the flash of a window opening, and then nothing. (There are also no processes left hanging or anything when viewed with the task manager.)
After some digging around I noticed that there are files in my Temporary Internet Files with names like "FusionBindError" and then my application name and different DLL names.
I have done everything I can find on the net to do, reinstall applications, reinstalled the .NET Framework, deleted my Local Settings folder and relogged in.
Does anyone out there have any other ideas for me to try?
I tried the Mage.exe suggestion, but it failed to help. Same with the other installation location suggestion. The application flashes at the bottom of the screen but does not open. I have tried using FUSLOGVW to check the bindings and nothing shows up in there. (Good or bad, there are no binding entries.)
Have you tried using mage.exe? This is a command-line tool that comes with .NET framework. Start up a VS command prompt, and try mage -cc. This will clear your applicaiton cache and will force a new click-once download. This is the first thing I do when my click-once applications fail and it works 99% of the time.
A couple of suggestions:
FusLogVW isn't working for you because you have to enable assembly binding failure logging inside the registry. This MSDN article describes how to do this.
Another thing that comes to mind is, perhaps the ClickOnce app install, or perhaps the whole ClickOnce store is corrupted. Try deleting the ClickOnce app store then reinstalling the application.
It's possible that new prerequisites were added that you don't have on hand. If the URL you are using points directly to "my.application" or whatever your equivalent is, prerequisites won't be processed.
So try pointing to the setup.exe that is created in the same directory as the .application file.
Other than that, it sounds like you're doing all the right stuff...
Also, it could be useful to run the fuslogvw utility on a machine where the application actually works. Or reflector.
And then see if indeed any of its dependencies being loaded surprise you.
Also, for these types of errors, be sure to check if disabling the antivirus resident protection helps. Sometimes it causes problems accessing assemblies' manifests and such.
I uninstalled my Kensington Mouse software, and that resolved my installation errors.
Who knew that mouse software that I never used could cause so much trouble??
Sometimes if your machine is working for days this problem will show up. Try to restart your machine. The same problem happened to me and it disappeared when I restarted my machine.