ClickOnce deployment fails on "Microsoft.VisualStudio.Shell.Interop.8.0 Version 8.0.0.0" missing from GAC althought it's not used in the project?

StackOverflow https://stackoverflow.com/questions/22400284

Question

We are publishing a WinForm application based on the .NET 4 framework towards IIS7 via ClickOnce. Once the end-user starts installing the application from the link provided we get following error:enter image description here

Why is .NET asking for this assembly? The project is build in VS2013, why would it use an assembly from VS2010? Does anyone know what this is about? On the machine all the latest updates are installed for the .Net Framework.

Is there a way to remove unused references from the project perhaps?

Thanks a lot for any advice.

Was it helpful?

Solution

Please check your references and remove if the above Assembly is referenced. if you still need it do a Copy Local on that reference property.

Also right click on your project and go to properties: and under publish tab. click on application files and click show all files. and if the above assembly is listed there select exclude if you don't need it.

OTHER TIPS

You can use ReSharper to remove any unused references from the project.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top