I have a Visio VSTO addin that has a dependency on a EULA. I am building and deploying using Visual Studio 2019 on Windows 10. This was working fine, up until the time I had to rebuild a Windows 10 dev machine.
The EULA depndency is installed under
C:\Program Files (x86)\Microsoft SDKs\ClickOnce Bootstrapper\Packages
In Visual Studio 2019 I can see and select the dependency that is deployed when I publish the plugin. However, when trying to install the ClickOnce addin from the product site I am getting the following error:
Error: Setup has detected that the file 'C:\Users\%USERNAME%\AppData\Local\Temp\VSD8AA0.tmp\cpaseulapackage\en/cpas-eula.txt' has either changed since it was initially published or may be corrupt.
In Visual Studio the 'Sign the ClickOnce manifests' and 'sign the assembly' options are checked.
I can't figure out what has changed, or caused the deployment to break. Any thoughts would be gratefully received.
Thanks and regards Andrew