AddInSpy
AddInSpy copied to clipboard
Bug in GetVstoAddInData if assemblyPath is in URI format
Hi,
I use VSTO AddIns and the file path is in URI format, like file:///C:\Program files.... In the function GetVstoAddInData you check the path using File.Exist() which does not work in this case. The suggested change would be to check if it is a URI and then convert it, for example like: string pathOfassembly = new Uri(this.assemblyPath).LocalPath;