I have an Outlook Add-in, which is not visible in Outlook COM Add-ins and Disabled items windows. The Add-in was working fine few days ago with both debug using Visual studio mode and Setup created by Windows installer project.
I checked for correct registry being created, and it is correct.
Also, no error is thrown at VS console while debugging. So idk what is the actual error here.
I also tried to run VSTO Deployment file directly from bin folder, but it gave me some error:
Name: From: file:///C:/Users/User/source/repos/MyOutlook/MyOutlookAddin/bin/Debug/MyOutlookAddin.vsto
************** Exception Text ************** System.Deployment.Application.DeploymentDownloadException: Downloading file:///C:/Users/User/source/repos/MyOutlook/MyOutlookAddin/bin/Debug/MyOutlookAddin.vsto did not succeed. ---> System.Net.WebException: Could not find a part of the path 'C:\Users\User\source\repos\MyOutlook\MyOutlookAddin\bin\Debug\MyOutlookAddin.vsto'. ---> System.Net.WebException: Could not find a part of the path 'C:\Users\User\source\repos\MyOutlook\MyOutlookAddin\bin\Debug\MyOutlookAddin.vsto'. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\User\source\repos\MyOutlook\MyOutlookAddin\bin\Debug\MyOutlookAddin.vsto'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async) at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint) --- End of inner exception stack trace --- at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint) at System.Net.FileWebRequest.GetResponseCallback(Object state) --- End of inner exception stack trace --- at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.FileWebRequest.GetResponse() at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next) --- End of inner exception stack trace --- at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.GetManifests(TimeSpan timeout) at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()
Can anybody tell me what is the issue here and how I can solve it?