I just created my first VSTO Add-In for Excel. I'm trying to find a way to install the add-in on the end users machine easily.
If I copy the the .dll and try to add it from the COM Add-Ins manager in Excel I get this error:
<ProjectName>.dll is not a valid Office Add-in.
If I use the publish wizard, it does not give me an option to select where to install the files on the client PC. Instead, it uses the path to the installation files.
So, how can I install my VSTO add-in without using the publish wizard (AKA clickonce)?
You should be using Visual Studio Setup Project and add your vsto project output. See this deployment walkthrough guide on using VSTO 4.0.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With