.NET Framework 3.0 ClickOnce deployment
How can I specify .NET Framework 3.0 (without SP2) as a prerequisite? I can't seem find the bootstrapper package anywhere.
I've built an app that uses .NET Framework 3.0. I'm deploying it using ClickOnce.
I've set the prerequisite to ".NET Framework 3.0 SP2" (after having downloaded the bootstrapper package here, which added the option for me to choose this prerequisite in Visual Studio)
When installing my app on Windows Vis开发者_如何学编程ta, I get this error:
"The version of the .NET Framework 3.0 SP2 can not be installed on Vista....Install .NET Framework 3.5 SP1..."
I purposely targeted .NET Framework 3.0 so that Vista users could use my app without an additional Framework download (it's my understanding that Vista ships with .NET Framework 3.0).
This is a limitation of that particular bootstrapper.
In the Limitations section of the link you provided, it states
These packages provide support for x86 and x64 operating systems, however they do not support and will fail to install on Windows Vista or subsequent operating systems. To provide a prerequisite that will install on Windows Vista, use the .NET Framework 3.5 SP1 bootstrapper package instead.
http://msdn.microsoft.com/en-us/vstudio/bb898654.aspx
精彩评论