Search code examples
.net-3.5clickonceprerequisites

Is there a way to require .NET 3.5 SP1 as a prerequisite for ClickOnce applications?


I have a ClickOnce application that won't run unless the client machine has .NET 3.5 SP1. When Stop() gets called on the Storyboard I'm running it crashes. After I installed SP1 on my client virtual machine everything works perfectly.

My problem is I'm deploying with ClickOnce, and I've made .NET 3.5 a prerequisite, but I don't know how to require SP1 as well.

Any ideas?

UPDATE

I've checked the prerequisites dialog and it's definitely not there. I'm running VS 2008 on a Win 7 box (64 bit).


Solution

  • Go to Properties / Publish / Prerequisites and click on ".NET Framework 3.5 SP1" (instead of ".NET Framework 3.5") :-)