简体   繁体   中英

How to add prerequisites with a ClickOnce Application or Setup Project

I've included .NET 4.5 as a prerequisite but when I have built the setup project, I got an error message saying:

Error 1 To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'DotNetFX45\\dotNetFx45_Full_x86_x64.exe' for item 'Microsoft .NET Framework 4.5 (x86 and x64)' to your local machine.

The http://go.microsoft.com/fwlink/?LinkId=239883 page instructs users to place the prerequisite installers in C:\\Program Files\\Microsoft SDKs\\Windows\\v8.0a\\Bootstrapper\\Packages . I'm using Windows 8 and there is no directory named Microsoft SDKs . Where else can I place the prerequisites or is there any other solution to this problem?

重新安装SDK即可解决问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM