Issues with installing VSTO projects that were published from Visual Studio 2008 on Windows 7 RC (Saurabh Bhatia)

Many customers have reported issues with installing a VSTO project that has been published with Visual Studio 2008 running on the recently released Windows 7 Release Candidate.

If you published your solution using VS2008 on a machine running the Windows 7 RC and then you try to install the solution on any machine you will see the following error: “The required version of the .NET Framework is not installed on this computer”


You will see this error even if you have the right version of .Net Framework installed. The issue occurs due to some differences in the publishing mechanism on the Windows 7 RC caused by a missing file in the .Net Framework 3.5.1 which was included in the RC.

The following file is missing:

%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5\RedistList\FrameworkList.xml

You can workaround the issue by manually copying this file from an existing non Windows 7 machine which has the .Net Framework 3.5 installed. The file will be available at the exact same location.

Once you have included this file on the Windows 7 RC machine, you will be able to publish and generate the correct manifests. After making this change please republish any solutions that were previously published from the Windows 7 RC machine. These solutions will now be able to install successfully.

We are tracking this issue and plan to address it before Windows 7 RTM. If you are using the RC release please use the workaround mentioned above.


If you have having trouble replacing the file. You need to be an Owner of the file and your user account needs Full Control.  To do this:

•    Right click the File -> Properties
•    Select Security Tab
•    Click the Advanced Button
•    Click the “Owner” Tab
•    Click the Change Button
•    Double Click your User Object
•    Click Okay
•    Click Okay,
•    Ensure you have “Full Control” Permissions to the file by repeating steps above and adding your user account with Full Control permissions.

Also if you are on a 64 bit system:

Note that you need to replace both the architecture specific files on a 64bit bit OS, i.e.
[Program Files x86]\Reference Assemblies\Microsoft\Framework\v3.5\RedistList
%ProgramFiles%\Reference Assemblies\Microsoft\Framework\v3.5\RedistList