AddInSpy icon indicating copy to clipboard operation
AddInSpy copied to clipboard

Bug in GetVstoAddInData if assemblyPath is in URI format

Open FStapenhorst opened this issue 5 years ago • 0 comments

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;

FStapenhorst avatar Jan 25 '19 09:01 FStapenhorst