Search code examples
c#.netvisual-studio-setup-proje

How to include .net framework 4.5.1 in VS 2013


I want to create an installer for Windows application, and to include .NET Framework into that installation (I have selected * Download from the same site as my application). But in compilation of Setup project I get an error, saying that there is no framework installation exists. How do I fix it?


Solution

  • In the flowing Microsoft post you can find what you have to install:

    .NET Framework 4.5.1

    Visual Studio 2013 (SDKs and targeting packs)

    4.5.1 is required part of VS2013, without it you can't run VS2013. If you have installed VS2013, you have installed 4.5.1. To create msi installers you need to add a extension:

    visual-studio-installer-projects-extension