Unable to deploy ClickOnce VSTO apps on Windows 7 RC
When you try to install a ClickOnce VSTO application you got the follow error saying your .NET Framework version is not correct (however Windows 7 ships with .NET 3.5 SP1)
Thanks to a blog post from the VSTO product team, I realize that Windows 7 RC left our a file in C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5\RedistList
When I start up my Windows 2008 VPC, I see there is a FrameworkList.xml file inside
So I copy it out from my VPC, then I restart Visual Studio (it is not mentioned in the blog) and republish the VSTO app. The installer is now working!





On my Windows 7 RC1 workstation there is a Frameworklist.xml file but it is only 8K. When I look at a Vista system the file is 15K and on a 2008 Server system it is 15K. My RC1 is a 64bit version, and maybe that is why there is a truncated version of the Frameworklist.xml file!
Can anyone explain what this file is about and whether it is safe to replace the 8K version with one from Vista or 2008 Server?
When I compare the content of the files I see the larger file reference DotNet Framework 3.5 but the version on my workstation does not so I can sort of see the link to this truncated file and the problem installing a VSTO add-in. However, what does confuse me is that I can install the same add-in if it is published from a Vista machine. This tends to indicate the mysterious file is used at publish time but then why no error message from Visual Studio???
Sorry - on the 2008 system the file is 24K.