Click here to Skip to main content
15,888,301 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I have to create a setup project for my WPF Application module. I am working on Visual Studio 2013 for this and have downloaded setup project extension for this .
While adding .NET Framework 4.5 through prerequisite with the option of "Download prerequisites from the same location as my application" i came to know that all folders created under "C:\Program Files (x86)\Microsoft SDKs\Windows\" are empty ,i.e., no .exe exists under different versions of .net folders (e.g. v7.0, v8.0, v10.0 etc). Also on building the project i am getting error as

"
Quote:
Error 22 To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'DotNetFX451\NDP451-KB2858728-x86-x64-AllOS-ENU.exe' for item 'Microsoft .NET Framework 4.5.1 (x86 and x64)' to your local machine. For more information, see http://go.microsoft.com/fwlink/?LinkId=239883. E:\Development\R&D\setup\Setup1\Setup1\Setup1.vdproj Setup1
"

Please suggest what should i do?
If I download the mentioned .exe in error codes and put it into the .NET version folders will it be an appropriate solution for this problem?

Regards,
Ashish Jaiswal

What I have tried:

Tried installing different .NET framework separately over development machines so that it may detect into bootstrapper folder.
Posted
Updated 11-Apr-16 23:58pm
v2
Comments
Richard Deeming 12-Apr-16 9:34am    
Did you try following the instructions from the link in the error message[^]? They're pretty clear...
honeyashu 13-Apr-16 0:56am    
Yes I did, but when i downloaded & place the file in SDK folder it was not auto installing the component as required on running setup.exe

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900